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 4 months ago

simonpintarelli commented 5 months 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.