Skip to content

Commit

Permalink
setup-spack-envs.sh: Removed --allow-root (assumed in 0.21), added ba…
Browse files Browse the repository at this point in the history
…ck hash-delineated jq (#169)
  • Loading branch information
CodeGat authored Jun 24, 2024
1 parent 2322326 commit 82001db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/setup-spack-envs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ for PACKAGE in ${PACKAGES}; do
spack compiler find --scope env:${PACKAGE}
spack -d install -j 4 --add --only dependencies --fail-fast ${PACKAGE}%${ENV_COMPILER_NAME}@${ENV_COMPILER_VERSION} arch=${ENV_SPACK_ARCH}
# Push any uncached binaries to buildcache
spack -d buildcache push --allow-root s3_buildcache
spack -d buildcache push s3_buildcache "$(spack find --json | jq --raw-output '.[] | (.name + "/" + .hash)')"
spack env deactivate
done

0 comments on commit 82001db

Please sign in to comment.