Skip to content

Commit

Permalink
Prevent parallelism to reduce memory pressure on clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Jun 23, 2024
1 parent 8da1311 commit ef0f2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spack/2a-precomp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ RUN spack solve -I --reuse $(cat compilerpkg.lst) target=x86_64 \
|| if ! spack fetch -Dm $(cat compilerpkg.lst) ; then spack clean -a; false; fi \
|| if ! spack fetch -Dm $(cat compilerpkg.lst) ; then spack clean -a; false; fi \
|| if ! spack fetch -Dm $(cat compilerpkg.lst) ; then spack clean -a; false; fi ) \
&& spack install ${SPACK_INSTALL_ARGS} --reuse --only dependencies $(cat compilerpkg.lst) target=x86_64 \
&& spack install -j 1 ${SPACK_INSTALL_ARGS} --reuse --only dependencies $(cat compilerpkg.lst) target=x86_64 \
&& spack clean -a
2 changes: 1 addition & 1 deletion spack/2b-compiler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN spack solve -I --reuse $(cat compilerpkg.lst) target=x86_64 \
|| if ! spack fetch -m $(cat compilerpkg.lst) ; then spack clean -a; false; fi \
|| if ! spack fetch -m $(cat compilerpkg.lst) ; then spack clean -a; false; fi \
|| if ! spack fetch -m $(cat compilerpkg.lst) ; then spack clean -a; false; fi ) \
&& spack install ${SPACK_INSTALL_ARGS} --reuse $(cat compilerpkg.lst) target=x86_64 \
&& spack install -j 1 ${SPACK_INSTALL_ARGS} --reuse $(cat compilerpkg.lst) target=x86_64 \
&& spack clean -a


Expand Down

0 comments on commit ef0f2f8

Please sign in to comment.