diff --git a/platforms/common/spack_utils.sh b/platforms/common/spack_utils.sh index e870f7f8a22f61967b07018d4911686e842bbc65..28b1033d84c0b78000326c09ca73a0850ebf7712 100644 --- a/platforms/common/spack_utils.sh +++ b/platforms/common/spack_utils.sh @@ -1,7 +1,7 @@ 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