Make target constraints stronger in public pipelines (#50297)

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2025-05-07 08:33:05 +02:00 committed by GitHub
parent c88e7bc492
commit 3d8f9a7b22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 87 additions and 25 deletions

View File

@ -57,6 +57,7 @@ spack:
require:
- gromacs@2024.3 ^armpl-gcc ^openmpi
- "%gcc"
- target=neoverse_v1
libfabric:
buildable: true
externals:
@ -64,33 +65,42 @@ spack:
spec: libfabric@1.17.0
require:
- fabrics=shm,efa
- target=neoverse_v1
llvm:
variants: ~lldb
mpas-model:
require:
- precision=single ^parallelio+pnetcdf
- "%gcc"
- target=neoverse_v1
mpich:
require:
- mpich pmi=pmi2 device=ch4 netmod=ofi +slurm
- target=neoverse_v1
nvhpc:
require:
- "target=aarch64"
openfoam:
require:
- openfoam ^scotch@6.0.9
- target=neoverse_v1
openmpi:
variants: ~atomics ~cuda ~cxx ~cxx_exceptions ~internal-hwloc ~java +legacylaunchers ~lustre ~memchecker +pmi +romio ~singularity +vt +wrapper-rpath fabrics=ofi schedulers=slurm
require: '@4:'
require:
- '@4:'
- target=neoverse_v1
# Palace does not build correctly with armpl until https://github.com/awslabs/palace/pull/207 is merged into a version.
# palace:
# require:
# - one_of: ["palace cxxflags=\"-include cstdint\" ^fmt@9.1.0"]
pmix:
require: "pmix@3:"
require:
- "pmix@3:"
- target=neoverse_v1
quantum-espresso:
require:
- quantum-espresso@6.6 %gcc ^armpl-gcc
- target=neoverse_v1
slurm:
buildable: false
externals:
@ -99,8 +109,10 @@ spack:
require:
- "+pmix"
all:
target: ["neoverse_v1"]
require:
- "%gcc"
- "target=neoverse_v1"
providers:
blas: [armpl-gcc, openblas]
fftw-api: [armpl-gcc, fftw]

View File

@ -3,6 +3,7 @@ spack:
packages:
all:
target: ["aarch64"]
require: target=aarch64
config:

View File

@ -3,6 +3,7 @@ spack:
packages:
all:
target: ["x86_64_v3"]
require: target=x86_64_v3
config:

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["x86_64_v3"]
require:
- target=x86_64_v3
c:

View File

@ -2,32 +2,43 @@ spack:
view: false
packages:
all:
require: target=x86_64_v3
target: ["x86_64_v3"]
require:
- target=x86_64_v3
cmake:
variants: ~ownlibs
ecp-data-vis-sdk:
require:
- "+ascent +adios2 +cinema +darshan +faodel +hdf5 +pnetcdf +sensei +sz +unifyfs +veloc +vtkm +zfp"
- target=x86_64_v3
hdf5:
require:
- "@1.14"
- target=x86_64_v3
mesa:
require:
- "+glx +osmesa +opengl ~opengles +llvm"
- target=x86_64_v3
libglx:
require: "mesa +glx"
ospray:
require:
- "@2.8.0"
- "+denoiser +mpi"
- target=x86_64_v3
llvm:
require: ["@14:"]
require:
- "@14:"
- target=x86_64_v3
# Minimize LLVM
variants: ~lldb~lld~libomptarget~polly~gold libunwind=none compiler-rt=none
libllvm:
require: ["llvm"]
visit:
require: ["@3.4.1"]
require:
- "@3.4.1"
- target=x86_64_v3
concretizer:
unify: when_possible

View File

@ -44,7 +44,9 @@ spack:
- netlib-scalapack
ncurses:
require: +termlib ldflags=-Wl,--undefined-version
require:
- +termlib ldflags=-Wl,--undefined-version
- target=x86_64_v3
tbb:
require: "intel-tbb"
binutils:
@ -78,6 +80,7 @@ spack:
petsc:
require:
- "+batch"
- target=x86_64_v3
trilinos:
require:
- one_of: [+amesos +amesos2 +anasazi +aztec +boost +epetra +epetraext +ifpack

View File

@ -10,12 +10,16 @@ spack:
require:
- "%gcc"
- target=neoverse_v2
target: ["neoverse_v2"]
providers:
blas: [openblas]
mpi: [mpich]
variants: +mpi
binutils:
variants: +ld +gold +headers +libiberty ~nls
blas:
require:
- openblas
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@ -8,6 +8,7 @@ spack:
packages:
all:
target: ["x86_64_v3"]
require:
- "%gcc"
- target=x86_64_v3
@ -17,20 +18,34 @@ spack:
tbb: [intel-tbb]
variants: +mpi
acts:
require: +analysis +dd4hep +edm4hep +examples +fatras +geant4 +hepmc3 +podio +pythia8 +python +svg +tgeo cxxstd=20
require:
- +analysis +dd4hep +edm4hep +examples +fatras +geant4 +hepmc3 +podio +pythia8 +python +svg +tgeo cxxstd=20
- target=x86_64_v3
celeritas:
require: +geant4 +hepmc3 +root +shared cxxstd=20
require:
- +geant4 +hepmc3 +root +shared cxxstd=20
- target=x86_64_v3
geant4:
require: +opengl +qt +threads +x11
require:
- +opengl +qt +threads +x11
- target=x86_64_v3
hip:
require: '@5.7.1 +rocm'
require:
- '@5.7.1 +rocm'
- target=x86_64_v3
rivet:
require: hepmc=3
require:
- hepmc=3
- target=x86_64_v3
root:
require: +arrow ~daos +davix +dcache +emacs +examples +fftw +fits +fortran +gdml +graphviz +gsl +http +math +minuit +mlp +mysql +opengl +postgres +pythia8 +python +r +roofit +root7 +rpath ~shadow +spectrum +sqlite +ssl +tbb +threads +tmva +tmva-cpu +unuran +vc +vdt +veccore +webgui +x +xml +xrootd # cxxstd=20
require:
- +arrow ~daos +davix +dcache +emacs +examples +fftw +fits +fortran +gdml +graphviz +gsl +http +math +minuit +mlp +mysql +opengl +postgres +pythia8 +python +r +roofit +root7 +rpath ~shadow +spectrum +sqlite +ssl +tbb +threads +tmva +tmva-cpu +unuran +vc +vdt +veccore +webgui +x +xml +xrootd # cxxstd=20
# note: root cxxstd=20 not concretizable within sherpa
- target=x86_64_v3
vecgeom:
require: +gdml +geant4 +root +shared cxxstd=20
require:
- +gdml +geant4 +root +shared cxxstd=20
- target=x86_64_v3
# Mark geant4 data as external to prevent wasting bandwidth on GB-scale files
geant4-data:

View File

@ -3,6 +3,7 @@ spack:
packages:
all:
target: ["aarch64"]
require:
- target=aarch64
- +mps
@ -11,7 +12,9 @@ spack:
mpi:
require: mpich
openblas:
require: ~fortran
require:
- ~fortran
- target=aarch64
specs:
# Horovod

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["aarch64"]
require:
- target=aarch64
- ~cuda

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["aarch64"]
require:
- target=aarch64
- ~rocm
@ -9,7 +10,9 @@ spack:
- cuda_arch=80
llvm:
# https://github.com/spack/spack/issues/27999
require: ~cuda
require:
- ~cuda
- target=aarch64
mpi:
require: openmpi
py-torch:

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["x86_64_v3"]
require:
- target=x86_64_v3
- ~cuda

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["x86_64_v3"]
require:
- target=x86_64_v3
- ~rocm
@ -9,7 +10,9 @@ spack:
- cuda_arch=80
llvm:
# https://github.com/spack/spack/issues/27999
require: ~cuda
require:
- ~cuda
- target=x86_64_v3
mpi:
require: openmpi
py-torch:

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: ["x86_64_v3"]
require:
- target=x86_64_v3
- ~cuda

View File

@ -2,15 +2,16 @@ spack:
view: false
packages:
all:
providers:
blas:
- openblas
mkl:
- intel-oneapi-mkl
mpi:
- openmpi
- mpich
variants: +mpi
target: ["target=aarch64"]
require:
- "target=aarch64"
- "+mpi"
blas:
require:
- openblas
mpi:
require:
- openmpi
definitions:
- radiuss:

View File

@ -2,6 +2,7 @@ spack:
view: false
packages:
all:
target: [ "x86_64_v3" ]
require:
- target=x86_64_v3
- '%gcc@7.5.0'