gcc needs to be installed via postinstall to get correct deps

This commit is contained in:
Stephen Sachs 2023-05-23 14:48:22 +02:00
parent 27aebae256
commit 6c689be3df
5 changed files with 0 additions and 5 deletions

View File

@ -797,7 +797,6 @@ deprecated-ci-build:
- . /etc/profile.d/modules.sh
- spack mirror add local-cache /bootstrap/local-cache
- spack gpg trust /bootstrap/public-key
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
- cd "${CI_PROJECT_DIR}" && curl -sOL https://raw.githubusercontent.com/spack/spack-configs/main/AWS/parallelcluster/postinstall.sh
- sed -i -e "s/spack arch -t/echo ${SPACK_TARGET_ARCH}/g" postinstall.sh
- /bin/bash postinstall.sh -fg

View File

@ -44,7 +44,6 @@ spack:
# Use gcc from local container buildcache
- - spack mirror add local-cache /bootstrap/local-cache
- spack gpg trust /bootstrap/public-key
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- signing-job:

View File

@ -46,7 +46,6 @@ spack:
# Use gcc from local container buildcache
- - spack mirror add local-cache /bootstrap/local-cache
- spack gpg trust /bootstrap/public-key
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- signing-job:

View File

@ -46,7 +46,6 @@ spack:
# Use gcc from local container buildcache
- - spack mirror add local-cache /bootstrap/local-cache
- spack gpg trust /bootstrap/public-key
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- signing-job:

View File

@ -44,7 +44,6 @@ spack:
# Use gcc from local container buildcache
- - spack mirror add local-cache /bootstrap/local-cache
- spack gpg trust /bootstrap/public-key
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
- signing-job: