-
Notifications
You must be signed in to change notification settings - Fork 2.4k
External packages affect concretization #4635
Copy link
Copy link
Closed
Description
This is a weird one. I have a packages.yaml containing:
packages:
all:
# Set Intel as default compiler
compiler: [intel, gcc, pgi, nag]
cmake:
paths:
[email protected]: /usrWhen I run:
$ spack spec cmake %gcc
Input spec
--------------------------------
cmake%gcc
Normalized
--------------------------------
cmake%gcc
Concretized
--------------------------------
[email protected]%[email protected] cflags="-axCOMMON-AVX512,MIC-AVX512,CORE-AVX512,CORE-AVX2,AVX" cxxflags="-axCOMMON-AVX512,MIC-AVX512,CORE-AVX512,CORE-AVX2,AVX" fflags="-axCOMMON-AVX512,MIC-AVX512,CORE-AVX512,CORE-AVX2,AVX" ~doc+ncurses+openssl+ownlibs~qt arch=linux-centos7-x86_64
It chooses a different compiler and version than I requested. If I comment out the external package, it works as I would expect:
$ spack spec cmake %gcc
Input spec
--------------------------------
cmake%gcc
Normalized
--------------------------------
cmake%gcc
Concretized
--------------------------------
[email protected]%[email protected]~doc+ncurses+openssl+ownlibs~qt arch=linux-centos7-x86_64
^[email protected]%[email protected]~symlinks arch=linux-centos7-x86_64
^[email protected]%[email protected]+internal_glib arch=linux-centos7-x86_64
^[email protected]%[email protected] arch=linux-centos7-x86_64
Reactions are currently unavailable