Skip to content
Snippets Groups Projects
Commit d1c024e1 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

remove --overwrite

parent 43d0e5c8
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ build-spack-env-on-runner:
- spack repo add .
- spack env create $SPACK_DEV_ENV spack.yaml
- spack env activate $SPACK_DEV_ENV
- spack install --overwrite -y -j2 --fresh --test root
- spack install -y -j2 --fresh --test root
after_script:
- mkdir spack_logs
- |
......@@ -261,7 +261,7 @@ sync-gitlab-spack-instance:
# There is a known spack bug (https://github.com/spack/spack/issues/29447) in installing test dependencies for installation tests. The workaround suggested
# in the issue is to NOT concretize separately, but simply remove the .lock file and let the enironment be concretized by the spack install command:
- rm $SPACK_ROOT/var/spack/environments/$SPACK_NFS_ENV/spack.lock || echo "No spack.lock file"
- spack install --overwrite -y -j2 --fresh --test root
- spack install -y -j2 --fresh --test root
- spack module tcl refresh -y
- spack reindex
- spack env loads -r
......
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