{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/2537","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/2537/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2537/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/2537/events","html_url":"https://github.com/LLNL/spack/issues/2537","id":194640800,"number":2537,"title":"Compiler in spec ignored for build dependencies","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"labels":[{"id":446623646,"url":"https://api.github.com/repos/LLNL/spack/labels/concretization","name":"concretization","color":"006b75","default":false},{"id":446625544,"url":"https://api.github.com/repos/LLNL/spack/labels/documentation","name":"documentation","color":"2e81b7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2016-12-09T16:39:19Z","updated_at":"2016-12-10T16:06:10Z","closed_at":null,"body":"I've never noticed this before, but I don't think it's the intended behavior??\r\n```\r\n$ spack spec eigen %intel\r\nInput spec\r\n--------------------------------\r\neigen%intel\r\n\r\nNormalized\r\n--------------------------------\r\neigen%intel\r\n    ^cmake\r\n\r\nConcretized\r\n--------------------------------\r\neigen@3.2.10%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"~debug+fftw+metis+mpfr+scotch+suitesparse arch=linux-centos6-x86_64\r\n    ^cmake@3.6.1%gcc@6.1.0~doc+ncurses+openssl+ownlibs~qt arch=linux-centos6-x86_64\r\n        ^ncurses@6.0%gcc@6.1.0 arch=linux-centos6-x86_64\r\n        ^openssl@1.0.2j%gcc@6.1.0 arch=linux-centos6-x86_64\r\n            ^zlib@1.2.8%gcc@6.1.0+pic arch=linux-centos6-x86_64\r\n    ^fftw@3.3.5%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"+float+long_double+mpi+openmp~pfft_patches~quad arch=linux-centos6-x86_64\r\n        ^mvapich2@2.2%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"~debug~gforker+hydra~mrail~nemesis~nemesisib~nemesisibtcp+psm~remshell~slurm~sock arch=linux-centos6-x86_64\r\n            ^bison@3.0.4%gcc@6.1.0 arch=linux-centos6-x86_64\r\n                ^m4@1.4.17%gcc@6.1.0+sigsegv arch=linux-centos6-x86_64\r\n                    ^libsigsegv@2.10%gcc@6.1.0 arch=linux-centos6-x86_64\r\n            ^libpciaccess@0.13.4%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n                ^libtool@2.4.6%gcc@6.1.0 arch=linux-centos6-x86_64\r\n                ^pkg-config@0.29.1%gcc@6.1.0+internal_glib arch=linux-centos6-x86_64\r\n                ^util-macros@1.19.0%gcc@6.1.0 arch=linux-centos6-x86_64\r\n    ^gmp@6.1.1%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n    ^metis@5.1.0%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"~debug~gdb~idx64~real64+shared arch=linux-centos6-x86_64\r\n    ^mpfr@3.1.4%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n    ^scotch@6.0.3%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"+compression~esmumps+metis~mpi+shared arch=linux-centos6-x86_64\r\n        ^flex@2.6.1%gcc@6.1.0 arch=linux-centos6-x86_64\r\n            ^gettext@0.19.8.1%gcc@6.1.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-centos6-x86_64\r\n                ^bzip2@1.0.6%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n                ^libxml2@2.9.4%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"~python arch=linux-centos6-x86_64\r\n                    ^xz@5.2.2%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n                ^tar@1.29%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n            ^help2man@1.47.4%gcc@6.1.0 arch=linux-centos6-x86_64\r\n    ^suite-sparse@4.5.3%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"+fpic+tbb arch=linux-centos6-x86_64\r\n        ^openblas@0.2.19%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\"+fpic+openmp+shared arch=linux-centos6-x86_64\r\n        ^tbb@4.4.4%intel@17.0.0 cflags=\"-axCORE-AVX2,AVX\" cxxflags=\"-axCORE-AVX2,AVX\" fflags=\"-axCORE-AVX2,AVX\" arch=linux-centos6-x86_64\r\n```\r\nIt looks like all of the build dependencies are building with GCC even though Intel was specified. @mathstuf Is this how things are supposed to work?"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/266218592","html_url":"https://github.com/LLNL/spack/issues/2537#issuecomment-266218592","issue_url":"https://api.github.com/repos/LLNL/spack/issues/2537","id":266218592,"user":{"login":"svenevs","id":5871461,"avatar_url":"https://avatars.githubusercontent.com/u/5871461?v=3","gravatar_id":"","url":"https://api.github.com/users/svenevs","html_url":"https://github.com/svenevs","followers_url":"https://api.github.com/users/svenevs/followers","following_url":"https://api.github.com/users/svenevs/following{/other_user}","gists_url":"https://api.github.com/users/svenevs/gists{/gist_id}","starred_url":"https://api.github.com/users/svenevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenevs/subscriptions","organizations_url":"https://api.github.com/users/svenevs/orgs","repos_url":"https://api.github.com/users/svenevs/repos","events_url":"https://api.github.com/users/svenevs/events{/privacy}","received_events_url":"https://api.github.com/users/svenevs/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T16:06:10Z","updated_at":"2016-12-10T16:06:10Z","body":"I am not sure if this is related, please feel free to disregard.  But when this happened to me it was from a `spack install eigen %clang@3.9.0`, which ultimately failed trying to build `openblas` because I was dumb and didn't specify a fortran compiler in my `compilers.yaml`.\r\n\r\nAt the time of the failed installation I had an `openblas %gcc@5.3.1`.  So if the decision is to keep the re-use feature, `openblas` was missed (via the `suite-sparse` dependency).\r\n\r\nHappy to provide more information if it is relevant / useful."}}
{"actor":{"display_login":"svenevs"}}