Skip to content

Commit

Permalink
Move compiler find
Browse files Browse the repository at this point in the history
  • Loading branch information
Heinrich-BR committed Dec 18, 2024
1 parent 87f7488 commit 22ed1b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions scripts/build-platypus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -392,15 +392,16 @@ add_external_compilers
load_spack
make_spack_env

# Will try to find a pre-installed compiler. If no compilers are found, you might need to add them manually
spack compiler find

spack install bzip2
spack load bzip2

printf "Creating spack environment\n"
spack env create platypus ${SPACK_MOD}
spack env activate platypus

# Will try to find a pre-installed gcc. If no compilers are found, you might need to add them manually
spack compiler find
spack concretize -f

# Using vim instead of emacs to avoid a parsing bug in the autoconf installation
Expand Down
2 changes: 1 addition & 1 deletion scripts/spack-env.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ spack:
- llvm@amdgpu@@@llvm_version@
view: true
concretizer:
unify: true
unify: true

0 comments on commit 22ed1b5

Please sign in to comment.