Skip to content

Commit

Permalink
Speed up compilation of dev-build
Browse files Browse the repository at this point in the history
  • Loading branch information
rbberger committed Jul 7, 2022
1 parent 2c97fdc commit 579aa60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ before_script:
- spack env create --without-view -d ${TMPDIR}/spack_env
- spack env activate -d ${TMPDIR}/spack_env
- spack spec -I ${SINGULARITY_EOS_SPACK_SPEC}
- spack dev-build -q ${SINGULARITY_EOS_SPACK_SPEC} || ( cat spack-build-out.txt && exit 1 )
- spack dev-build -j $(nproc) -q ${SINGULARITY_EOS_SPACK_SPEC} || ( cat spack-build-out.txt && exit 1 )
- export SINGULARITY_EOS_CMD="spack install --show-log-on-error --no-checksum --yes-to-all ${SINGULARITY_EOS_SPACK_SPEC}"
- ( echo "$SINGULARITY_EOS_CMD" && $SINGULARITY_EOS_CMD )
- source ${TMPDIR}/spack/share/spack/setup-env.sh
Expand Down Expand Up @@ -177,7 +177,7 @@ before_script:
-DSINGULARITY_USE_KOKKOSKERNELS=${SINGULARITY_USE_CUDA:-OFF} \
-DSINGULARITY_USE_FORTRAN=${SINGULARITY_USE_FORTRAN:-OFF} \
..
- make -j || make VERBOSE=1
- make -j $(nproc) || make VERBOSE=1
- |
if [[ ${CI_JOB_NAME} =~ "install" ]];
then
Expand Down

0 comments on commit 579aa60

Please sign in to comment.