Skip to content

Commit d83f05f

Browse files
authored
Create directory for Spack user scope configuration
1 parent 9298b09 commit d83f05f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

containers/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ target=${target[${TARGETPLATFORM}]}
231231
spack config --scope site add "packages:all:require:[target=${target}]"
232232
spack config --scope site add "packages:all:target:[${target}]"
233233
spack config blame packages
234+
mkdir -p $HOME/.spack/
234235
spack config --scope user add "config:suppress_gpg_warnings:true"
235236
spack config --scope user add "config:build_jobs:${jobs}"
236237
spack config --scope user add "config:db_lock_timeout:${jobs}00"
@@ -272,4 +273,4 @@ set -e
272273
git clone --filter=tree:0 https://github.com/${EICSPACK_ORGREPO}.git ${EICSPACK_ROOT}
273274
git -C ${EICSPACK_ROOT} checkout ${EICSPACK_VERSION}
274275
spack repo add --scope site "${EICSPACK_ROOT}"
275-
EOF
276+
EOF

0 commit comments

Comments
 (0)