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

don't overwrite post-build test logs

parent da558462
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ export SPACK_USER_CONFIG_PATH=$INSTALLATION_ROOT/spack/.spack
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
# SPACK PATCH: the post-build logs on install-time-test-logs.txt gets ovewritten by the post-install logs.
# quick fix for that: (TODO: investigate more and open PR)
sed -i "s/self.file_like, \"w\"/self.file_like, \"a\"/g" $INSTALLATION_ROOT/spack/lib/spack/llnl/util/tty/log.py
fi
# copy package settings (modify if necessary) and activate Spack
......
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