Skip to content

Commit 82001db

Browse files
authored
setup-spack-envs.sh: Removed --allow-root (assumed in 0.21), added back hash-delineated jq (#169)
1 parent 2322326 commit 82001db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/setup-spack-envs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ for PACKAGE in ${PACKAGES}; do
1212
spack compiler find --scope env:${PACKAGE}
1313
spack -d install -j 4 --add --only dependencies --fail-fast ${PACKAGE}%${ENV_COMPILER_NAME}@${ENV_COMPILER_VERSION} arch=${ENV_SPACK_ARCH}
1414
# Push any uncached binaries to buildcache
15-
spack -d buildcache push --allow-root s3_buildcache
15+
spack -d buildcache push s3_buildcache "$(spack find --json | jq --raw-output '.[] | (.name + "/" + .hash)')"
1616
spack env deactivate
1717
done

0 commit comments

Comments
 (0)