Skip to content
Snippets Groups Projects

Switch to C++-20

Merged Andre Offringa requested to merge use-c++-20 into master
All threads resolved!
+ 8
3
@@ -59,16 +59,21 @@ RUN mkdir -p /usr/share/casacore/data && \
# The casacore version in Ubuntu is too old to support C++20, so install a more recent one.
RUN mkdir /external && \
cd /external && \
git clone https://github.com/casacore/casacore.git && \
git clone --depth 1 --branch v3.6.0 https://github.com/casacore/casacore.git && \
cd /external/casacore && \
git checkout v3.6.0 && \
mkdir build && \
cd build && \
cmake .. -DBUILD_PYTHON=OFF -DBUILD_TESTING=OFF -DDATA_DIR=/usr/share/casacore/data && \
cmake .. -DBUILD_PYTHON3=ON -DBUILD_TESTING=OFF -DDATA_DIR=/usr/share/casacore/data && \
make -j`nproc` && \
make install -j`nproc` && \
cd /external && \
rm -rf /external/casacore
RUN cd /external && \
git clone --depth 1 https://github.com/casacore/python-casacore.git && \
cd /external/python-casacore && \
pip install . && \
cd /external && \
rm -rf /external/python-casacore
# Build aoflagger3
RUN mkdir /aoflagger && cd /aoflagger \
&& git clone https://gitlab.com/aroffringa/aoflagger.git src \
Loading