Skip to content

Commit

Permalink
Forcefully bootstrap spack into SPACK_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Aug 31, 2024
1 parent c9154e8 commit 23160b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spack/2a-precomp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ RUN set -ex \
&& apt-get autoclean -y


# Bootstrap spack (spack bootstrap now is not available in 0.18)
RUN spack bootstrap root "${SPACK_ROOT}/lib/spack-bootstrap" \
&& spack solve zlib \
&& spack clean -a


# Detect our bootstrapping compiler
RUN spack compiler find --scope site \
&& spack config --scope site add 'packages:all:target:[x86_64]' \
Expand Down

0 comments on commit 23160b4

Please sign in to comment.