From 349deb69becc61bf0570977cdbe348a88088b807 Mon Sep 17 00:00:00 2001 From: Jakob Kaiser <jakob.kaiser@kip.uni-heidelberg.de> Date: Thu, 27 Jun 2024 14:04:38 +0000 Subject: [PATCH] feat: do not remove system compilers during install - system compiler might be needed for gcc - system compiler should not affect other packages since we install from spec files. Change-Id: Ib13749e80c63b9c684c6aebe0dfa349e6c7d9613 --- lib/yashchiki/install_dependencies.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/yashchiki/install_dependencies.sh b/lib/yashchiki/install_dependencies.sh index d2a48626..948c02e1 100755 --- a/lib/yashchiki/install_dependencies.sh +++ b/lib/yashchiki/install_dependencies.sh @@ -42,12 +42,6 @@ if [ ${YASHCHIKI_BUILD_SPACK_GCC} -eq 1 ]; then set -x ${MY_SPACK_CMD} "${SPACK_ARGS_INSTALL[@]}" install --no-cache --show-log-on-error "${spec_compiler}" - # remove system compilers from spack to avoid conflicting concretization - echo "$(${MY_SPACK_CMD} compiler list)" - for system_compiler in ${system_compilers}; do - ${MY_SPACK_CMD} compiler rm --scope site "${system_compiler}" - done - # add fresh compiler to spack ${MY_SPACK_CMD} compiler add --scope site ${MY_SPACK_FOLDER}/opt/spack/linux-*/*/gcc-${YASHCHIKI_SPACK_GCC_VERSION}-* fi -- GitLab