-
Notifications
You must be signed in to change notification settings - Fork 2.4k
variants in packages.yaml not showing up in spec #4913
Copy link
Copy link
Closed as not planned
Description
Not sure if this is a duplicate issue but it would be nice to have the ability to specify variants for external packages and have them used. An example:
We want to link with cray-petsc and there are currently 4 different cray-petsc's to link to:
{cray-petsc, cray-petsc-64, cray-petsc-complex, cray-petsc-complex-64}
I was hoping to be able to add this to packages.yaml
packages:
petsc:
buildable: false
modules:
[email protected]: cray-petsc
[email protected]+int64: cray-petsc-64
[email protected]+complex: cray-petsc-complex
[email protected]+int64+complex: cray-petsc-complex-64Unfortunately whenever I do spack spec petsc+int64 or any of the ones with variants, I always get the defaults set by package.py.
This is a problem since some of the cray packages we need to link with have variants with them.
Reactions are currently unavailable