Skip to content
Snippets Groups Projects
Commit 166e1897 authored by Corné Lukken's avatar Corné Lukken
Browse files

Small refactors

parent 64d80acc
No related branches found
No related tags found
1 merge request!5Combine new spack files + CI/CD branches
......@@ -6,7 +6,7 @@ module use /data/cobalt/spack/latest/share/spack/modules/linux-*/gcc/12.2.0
module load binutils boost casacore cuda curl dal2 diffutils fftw hdf5 log4cplus numactl openblas openmpi py-lxml python unittest-cpp
# tParset is broken, disable it
sed -i '/lofar_add_test(tParset/s/^/#/' CoInterface/test/CMakeLists.txt
#sed -i '/lofar_add_test(tParset/s/^/#/' CoInterface/test/CMakeLists.txt
# Run CMake
cmake -S. -B gnucxx11_opt
ARG SOURCE_IMAGE="debian:12.10"
FROM ${SOURCE_IMAGE}
ENV SPACK_VERSION=0.23.0
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
......
ARG SOURCE_IMAGE="git.astron.nl:5000/rd/cobalt-installation/spack:latest"
FROM ${SOURCE_IMAGE}
ENV SPACK_VERSION=0.23.0
COPY ./modules.yaml ./
COPY ./configure.sh ./
......@@ -11,7 +13,7 @@ RUN . ${SPACK_DIR}/share/spack/setup-env.sh && \
cp modules.yaml ~/.spack/modules.yaml && \
spack module tcl refresh -y && \
module purge && \
module use /opt/spack/0.22.1/share/spack/modules/linux-debian12-*/gcc/12.2.0 && \
module use /opt/spack/${SPACK_VERSION}/share/spack/modules/linux-debian12-*/gcc/12.2.0 && \
cd cobalt && \
. ../configure.sh && \
make -C gnucxx11_opt/ -j 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment