Closed penguian closed 5 months ago
Hi @penguian , For v0.20 and v0.22, keep the symlink to the unmodified packages.yaml from common. For v0.21, replace the symlink with the modified packages.yaml.
The one_of
syntax is obsolete as of Spack v0.22, but it is described here:
https://spack.readthedocs.io/en/v0.22.0/packages_yaml.html#conflicts-and-strong-preferences
Note that the prefer:
and conflict:
sections are new as of Spack v0.22.
See https://github.com/spack/spack/pull/41832 for the relevant pull request.
Closes #33 . Tested by appending
to
in https://github.com/ACCESS-NRI/spack-packages/blob/main/packages/mom5/package.py . Running
then results in