Run config audits in CI, add a new audit to detect wrongly named external specs (#42289)

This commit is contained in:
Massimiliano Culpo
2024-01-26 10:21:43 +01:00
committed by GitHub
parent 19df8e45ec
commit e77128dfa2
12 changed files with 50 additions and 20 deletions

View File

@@ -154,6 +154,12 @@ default:
--config-scope "${SPACK_CI_CONFIG_ROOT}/${SPACK_TARGET_PLATFORM}/${SPACK_TARGET_ARCH}"
${CI_STACK_CONFIG_SCOPES}
compiler find
- 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}
audit configs
- 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 config add -f "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"

View File

@@ -21,7 +21,7 @@ spack:
version:
- 1.8.20
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -21,7 +21,7 @@ spack:
version:
- 1.8.20
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -31,7 +31,7 @@ spack:
cuda:
version: [11.7.0]
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
require: "%gcc"
gcc-runtime:
require: "%gcc"

View File

@@ -29,7 +29,7 @@ spack:
cuda:
version: [11.7.0]
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
require: "%gcc"
hdf5:
variants: +fortran +hl +shared

View File

@@ -15,7 +15,7 @@ spack:
binutils:
variants: +ld +gold +headers +libiberty ~nls
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -15,7 +15,7 @@ spack:
binutils:
variants: +ld +gold +headers +libiberty ~nls
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -17,7 +17,7 @@ spack:
tbb: [intel-tbb]
variants: +mpi
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
gcc-runtime:
require: "%gcc"
hdf5:

View File

@@ -16,7 +16,7 @@ spack:
binutils:
variants: +ld +gold +headers +libiberty ~nls
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -15,7 +15,7 @@ spack:
binutils:
variants: +ld +gold +headers +libiberty ~nls
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric:
@@ -91,7 +91,7 @@ spack:
miopen-hip:
buildable: false
externals:
- spec: hip-rocclr@5.4.3
- spec: miopen-hip@5.4.3
prefix: /opt/rocm-5.4.3/
miopengemm:
buildable: false

View File

@@ -15,7 +15,7 @@ spack:
binutils:
variants: +ld +gold +headers +libiberty ~nls
elfutils:
variants: +bzip2 ~nls +xz
variants: ~nls
hdf5:
variants: +fortran +hl +shared
libfabric: