ci: spack compiler find should list extra config scopes (#40727)
otherwise it detected pre-configured compilers in an potentially different way.
This commit is contained in:
parent
af13d16c2c
commit
51275df0b1
@ -140,8 +140,13 @@ default:
|
|||||||
- spack --version
|
- spack --version
|
||||||
- cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME}
|
- cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME}
|
||||||
- spack env activate --without-view .
|
- spack env activate --without-view .
|
||||||
- spack compiler find
|
|
||||||
- export SPACK_CI_CONFIG_ROOT="${SPACK_ROOT}/share/spack/gitlab/cloud_pipelines/configs"
|
- export SPACK_CI_CONFIG_ROOT="${SPACK_ROOT}/share/spack/gitlab/cloud_pipelines/configs"
|
||||||
|
- spack
|
||||||
|
--config-scope "${SPACK_CI_CONFIG_ROOT}"
|
||||||
|
--config-scope "${SPACK_CI_CONFIG_ROOT}/${SPACK_TARGET_PLATFORM}"
|
||||||
|
--config-scope "${SPACK_CI_CONFIG_ROOT}/${SPACK_TARGET_PLATFORM}/${SPACK_TARGET_ARCH}"
|
||||||
|
${CI_STACK_CONFIG_SCOPES}
|
||||||
|
compiler find
|
||||||
- spack python -c "import os,sys; print(os.path.expandvars(sys.stdin.read()))"
|
- spack python -c "import os,sys; print(os.path.expandvars(sys.stdin.read()))"
|
||||||
< "${SPACK_CI_CONFIG_ROOT}/${PIPELINE_MIRROR_TEMPLATE}" > "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"
|
< "${SPACK_CI_CONFIG_ROOT}/${PIPELINE_MIRROR_TEMPLATE}" > "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"
|
||||||
- spack config add -f "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"
|
- spack config add -f "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user