Hello All,
I am new user of spack and this might be basic question:
I want to build package "cube" which is say dependent on qt.
I have built qt with gcc compiler and then want to use it while
building cube with other compilers (say intel).
I am trying this:
These are qt installed versions with gcc:
→ spack module find qt
==> Error: the constraint 'None' matches multiple packages, and this is not allowed in this context
q...@4.8.6%g...@4.9.3~gtk~krellpatch~mesa arch=linux-redhat6-x86_64
q...@5.4.2%g...@4.9.3~gtk~krellpatch~mesa arch=linux-redhat6-x86_64
q...@5.5.1%g...@5.4.0~gtk~krellpatch~mesa arch=linux-redhat6-x86_64
Now I want to build cube and want to use above qt package. But spack
start building qt with intel compiler. In the documentation I read option of
packages.yaml where we can say buildable: False. But can this
be achieved via command line?
spack install --keep-stage -v cu...@4.3.4 +gui %in...@15.0.0 ^q...@5.5.1%g...@5.4.0~gtk~krellpatch~mesa #here i tried ^q...@5.5.1%g...@5.4.0 etc.
==> Installing cube
==> Installing qt => why?
==> Installing glib
Thanks!
Pramod