ci: use "strong preference" idiom for compilers (#41806)
to avoid duplication of conflicts / requirements in config
This commit is contained in:
		| @@ -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] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Harmen Stoppels
					Harmen Stoppels