eth-cscs / stackinator

https://eth-cscs.github.io/stackinator/
BSD 3-Clause "New" or "Revised" License
19 stars 15 forks source link

do not specify one_of if toolchain_constraints is empty #196

Closed simonpintarelli closed 2 weeks ago

simonpintarelli commented 2 weeks ago

Environments with only a single compiler defined generated spack.yaml contained:

packages:
  require:
  - one_of : []

Which caused concretization errors.

This PR only adds pakcages.require.one_of if toolchain_constraints is not empty.