Skip to content

Commit

Permalink
scripts: Install dependencies for x86_64 in CI
Browse files Browse the repository at this point in the history
CI typically runs on a range of different architectures, making caching
unreliable due to Spack's architectures detection.
  • Loading branch information
michaelkuhn committed Feb 8, 2021
1 parent 24e55b9 commit 4d03238
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/spack
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ spack_install_dependencies ()

if spack_clone
then
if test -n "${CI}"
then
spack_cmd config add 'packages:all:target:[x86_64]'
fi

spack_cmd mark --implicit --all

for dependency in $(spack_get_dependencies "${mode}")
Expand Down

0 comments on commit 4d03238

Please sign in to comment.