-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Command line spec not checked against packages.yaml with buildable: False #6420
Copy link
Copy link
Closed
Milestone
Description
Given this in packages.yaml:
ibm-essl:
buildable: False
version: [5.5]
paths:
[email protected] arch=linux-rhel7-pp64le: /opt/ibmmath/essl/5.5
And this command line:
$ spack spec netlib-lapack +external-blas %[email protected] ^[email protected]+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 %[email protected] ^[email protected]+cuda+ilp64
Input spec
--------------------------------
netlib-lapack%[email protected]+external-blas
^[email protected]+cuda+ilp64
Normalized
--------------------------------
netlib-lapack%[email protected]+external-blas
^cmake
^[email protected]+cuda+ilp64
Concretized
--------------------------------
[email protected]%[email protected] fflags="-qzerosize" ~debug+external-blas+lapacke patches=e87343d09dd6635ab39948d5031c388a9705d0dd7ce81f795003ea70626b1721 +shared arch=linux-rhel7-ppc64le
^[email protected]%[email protected] fflags="-qzerosize" ~doc~ncurses~openssl+ownlibs~qt arch=linux-rhel7-ppc64le
^[email protected]%[email protected] 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.
Reactions are currently unavailable