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:
|
||||
all:
|
||||
require: '%cce'
|
||||
require:
|
||||
- any_of: ["%cce", "@:"] # cce as a strong preference; not all packages support it
|
||||
compiler: [cce]
|
||||
providers:
|
||||
blas: [cray-libsci]
|
||||
|
@ -7,7 +7,9 @@ spack:
|
||||
|
||||
packages:
|
||||
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:
|
||||
blas: [openblas]
|
||||
mpi: [mpich]
|
||||
|
Loading…
Reference in New Issue
Block a user