Skip to content
Snippets Groups Projects
Commit 87a7075b authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

feat: fetch before install

parent 3b025ab5
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,12 @@ rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock || echo "No
# activate environment
spack env activate $EBRAINS_SPACK_ENV
# fetch all sources
spack concretize --fresh --test root
spack fetch --dependencies --missing
rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock
# install the environment, use 2 jobs to reduce the amount of required RAM
spack install -y -j2 --fresh --test root
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment