Skip to content
Snippets Groups Projects
Commit 87455305 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Add depth 1 to git clone.

parent 441e5f1c
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
function _install_spack() {
if [ ! -e ${SPACK_ROOT} ]; then
echo "Cloning to ${SPACK_ROOT}"
git clone ${SPACK_URL} -b ${SPACK_BRANCH} ${SPACK_ROOT}
git clone --depth 1 ${SPACK_URL} -b ${SPACK_BRANCH} ${SPACK_ROOT}
fi
_init_spack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment