Given this in packages.yaml:
ibm-essl:
buildable: False
version: [5.5]
paths:
ibm-essl@5.5 arch=linux-rhel7-pp64le: /opt/ibmmath/essl/5.5
And this command line:
$ spack spec netlib-lapack +external-blas %xl_r@13.1.6 ^ibm-essl@5.5+cuda+ilp64
Expected Result
Spack should raise an error that the spec is unsatisfiable because the packages.yaml spec doesn't specify values for variants and the package is set to buildable: False.
Actual Result
Spec concretizes successfully and has ~ilp64 ~cuda:
$ spack spec netlib-lapack +external-blas %xl_r@13.1.6 ^ibm-essl@5.5+cuda+ilp64
Input spec
--------------------------------
netlib-lapack%xl_r@13.1.6+external-blas
^ibm-essl@5.5+cuda+ilp64
Normalized
--------------------------------
netlib-lapack%xl_r@13.1.6+external-blas
^cmake
^ibm-essl@5.5+cuda+ilp64
Concretized
--------------------------------
netlib-lapack@3.6.1%xl_r@13.1.6 fflags="-qzerosize" ~debug+external-blas+lapacke patches=e87343d09dd6635ab39948d5031c388a9705d0dd7ce81f795003ea70626b1721 +shared arch=linux-rhel7-ppc64le
^cmake@3.9.4%xl_r@13.1.6 fflags="-qzerosize" ~doc~ncurses~openssl+ownlibs~qt arch=linux-rhel7-ppc64le
^ibm-essl@5.5%xl_r@13.1.6 fflags="-qzerosize" ~cuda~ilp64 threads=openmp arch=linux-rhel7-ppc64le
Steps to reproduce the issue
See above.
Information on your system
This includes:
- reproduced on IBM Power8 system and on a mac laptop.
Given this in
packages.yaml:And this command line:
Expected Result
Spack should raise an error that the spec is unsatisfiable because the
packages.yamlspec doesn't specify values for variants and the package is set tobuildable: False.Actual Result
Spec concretizes successfully and has
~ilp64 ~cuda:Steps to reproduce the issue
See above.
Information on your system
This includes: