-
Notifications
You must be signed in to change notification settings - Fork 2.4k
OS-Specific Configuration Scopes #2700
Copy link
Copy link
Closed
Description
I'm looking to create a packages.yaml file specific to CentOS-7. I noticed that Spack provides platform-specific scopes. But when I looked at it, it seems that the scope is specific to just linux, not linux-centos7-x86_64, which is what I'm running.
I want an OS-specific scope so I can add things specific to my Linux distro; mostly, directing it to use system-supplied libraries for various packages that I don't want to build (on my system). For example:
qt:
paths:
[email protected]: /
version: [4.8.5]
buildable: False
libxaw:
paths:
[email protected]: /
version: [1.0.12]
buildable: False
Might I suggest a further expansion of scopes, to provide for OS-specific as well as platform-specific scopes? Now the default hierarchy would look like this on my system:
defaultsdefaults/linuxdefaults/linux-centos7-x86_64sitesite/linuxsite/linux-centos7-x86_64useruser/linuxuser/linux-centos7-x86_64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels