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

apply spack patch

parent ade9b47d
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ if [ ! -d $INSTALLATION_ROOT/spack ]
then
git clone --depth 1 -c advice.detachedHead=false -c feature.manyFiles=true --branch $SPACK_VERSION https://github.com/spack/spack $INSTALLATION_ROOT/spack
fi
# SPACK PATCH: see https://github.com/spack/spack/pull/35290
sed -i 's/solver.solve(abstract_specs)/solver.solve(abstract_specs, tests=kwargs.get("tests", False))/g' $SPACK_PATH/lib/spack/spack/concretize.py
cp $EBRAINS_REPO/packages.yaml $INSTALLATION_ROOT/spack/etc/spack/packages.yaml
source $INSTALLATION_ROOT/spack/share/spack/setup-env.sh
......
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