gcc needs to be installed via postinstall to get correct deps
This commit is contained in:
parent
27aebae256
commit
6c689be3df
@ -797,7 +797,6 @@ deprecated-ci-build:
|
|||||||
- . /etc/profile.d/modules.sh
|
- . /etc/profile.d/modules.sh
|
||||||
- spack mirror add local-cache /bootstrap/local-cache
|
- spack mirror add local-cache /bootstrap/local-cache
|
||||||
- spack gpg trust /bootstrap/public-key
|
- 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
|
- 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
|
- sed -i -e "s/spack arch -t/echo ${SPACK_TARGET_ARCH}/g" postinstall.sh
|
||||||
- /bin/bash postinstall.sh -fg
|
- /bin/bash postinstall.sh -fg
|
||||||
|
@ -44,7 +44,6 @@ spack:
|
|||||||
# Use gcc from local container buildcache
|
# Use gcc from local container buildcache
|
||||||
- - spack mirror add local-cache /bootstrap/local-cache
|
- - spack mirror add local-cache /bootstrap/local-cache
|
||||||
- spack gpg trust /bootstrap/public-key
|
- spack gpg trust /bootstrap/public-key
|
||||||
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
|
|
||||||
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
||||||
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
||||||
- signing-job:
|
- signing-job:
|
||||||
|
@ -46,7 +46,6 @@ spack:
|
|||||||
# Use gcc from local container buildcache
|
# Use gcc from local container buildcache
|
||||||
- - spack mirror add local-cache /bootstrap/local-cache
|
- - spack mirror add local-cache /bootstrap/local-cache
|
||||||
- spack gpg trust /bootstrap/public-key
|
- spack gpg trust /bootstrap/public-key
|
||||||
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
|
|
||||||
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
||||||
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
||||||
- signing-job:
|
- signing-job:
|
||||||
|
@ -46,7 +46,6 @@ spack:
|
|||||||
# Use gcc from local container buildcache
|
# Use gcc from local container buildcache
|
||||||
- - spack mirror add local-cache /bootstrap/local-cache
|
- - spack mirror add local-cache /bootstrap/local-cache
|
||||||
- spack gpg trust /bootstrap/public-key
|
- spack gpg trust /bootstrap/public-key
|
||||||
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
|
|
||||||
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
||||||
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
||||||
- signing-job:
|
- signing-job:
|
||||||
|
@ -44,7 +44,6 @@ spack:
|
|||||||
# Use gcc from local container buildcache
|
# Use gcc from local container buildcache
|
||||||
- - spack mirror add local-cache /bootstrap/local-cache
|
- - spack mirror add local-cache /bootstrap/local-cache
|
||||||
- spack gpg trust /bootstrap/public-key
|
- spack gpg trust /bootstrap/public-key
|
||||||
- spack install --cache-only $(spack buildcache list gcc | tail -n1)
|
|
||||||
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
- - /bin/bash "${SPACK_ARTIFACTS_ROOT}/postinstall.sh" -fg
|
||||||
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
- spack config --scope site add "packages:all:target:\"target=${SPACK_TARGET_ARCH}\""
|
||||||
- signing-job:
|
- signing-job:
|
||||||
|
Loading…
Reference in New Issue
Block a user