diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2022-11-05 01:44:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 08:44:50 +0000 |
commit | 71d480515b098118c5f1d84f255c4080f55c62e8 (patch) | |
tree | 4045de93cc29e0bb7c87c16aa6112438d4795177 /pytest.ini | |
parent | c0ed5612ab406bfe0f638cc3e5a14cc99e91921a (diff) | |
download | spack-71d480515b098118c5f1d84f255c4080f55c62e8.tar.gz spack-71d480515b098118c5f1d84f255c4080f55c62e8.tar.bz2 spack-71d480515b098118c5f1d84f255c4080f55c62e8.tar.xz spack-71d480515b098118c5f1d84f255c4080f55c62e8.zip |
packages.yaml: set url/git (#33275)
A user may want to set some attributes on a package without actually modifying the package (e.g. if they want to git pull updates to the package without conflicts). This PR adds a per-package configuration section called "set", which is a dictionary of attribute names to desired values. For example:
packages:
openblas:
package_attributes:
submodules: true
git: "https://github.com/myfork/openblas"
in this case, the package will always retrieve git submodules, and will use an alternate location for the git repo.
While git, url, and submodules are the attributes for which we envision the most usage, this allows any attribute to be overridden, and the acceptable values are any value parseable from yaml.
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions