ci: use "strong preference" idiom for compilers (#41806)
to avoid duplication of conflicts / requirements in config
This commit is contained in:
parent
1aaab97a16
commit
e7f897f959
@ -10,7 +10,8 @@ spack:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
all:
|
all:
|
||||||
require: '%cce'
|
require:
|
||||||
|
- any_of: ["%cce", "@:"] # cce as a strong preference; not all packages support it
|
||||||
compiler: [cce]
|
compiler: [cce]
|
||||||
providers:
|
providers:
|
||||||
blas: [cray-libsci]
|
blas: [cray-libsci]
|
||||||
|
@ -7,7 +7,9 @@ spack:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
all:
|
all:
|
||||||
require: '%oneapi target=x86_64_v3'
|
require:
|
||||||
|
- any_of: ["%oneapi", "@:"] # oneapi as a strong preference; not all packages support it
|
||||||
|
- "target=x86_64_v3"
|
||||||
providers:
|
providers:
|
||||||
blas: [openblas]
|
blas: [openblas]
|
||||||
mpi: [mpich]
|
mpi: [mpich]
|
||||||
|
Loading…
Reference in New Issue
Block a user