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
1 merge request!501feat: fetch before install
Pipeline #28213 failed with stage
in 45 minutes and 46 seconds
...@@ -77,6 +77,12 @@ rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock || echo "No ...@@ -77,6 +77,12 @@ rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock || echo "No
# activate environment # activate environment
spack env activate $EBRAINS_SPACK_ENV 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 # install the environment, use 2 jobs to reduce the amount of required RAM
spack install -y -j2 --fresh --test root 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