diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2023-04-18 09:49:50 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2023-05-15 09:15:49 -0700 |
commit | e79a911bacafd68a24a6ff8519293375cae45a7d (patch) | |
tree | b95e242c70ba3062ed92925f0fe50134e721cb93 /LICENSE-MIT | |
parent | fd3efc71fd3c97a9b83bd0b44d706a32049d3fc0 (diff) | |
download | spack-e79a911bacafd68a24a6ff8519293375cae45a7d.tar.gz spack-e79a911bacafd68a24a6ff8519293375cae45a7d.tar.bz2 spack-e79a911bacafd68a24a6ff8519293375cae45a7d.tar.xz spack-e79a911bacafd68a24a6ff8519293375cae45a7d.zip |
bugfix: allow reuse of packages from foreign namespaces
We currently throw a nasty error if you try to reuse packages from some other namespace
(e.g., OLCF), but we should be able to reuse patched local versions of builtin packages.
Right now the only obstacle to that is that we try to look up virtual info for unknown
namespaces, and we can't get the package from the repo to do that. We *can* assume that
a package with a known namespace is similar, and that its virtual provider information
is reasonably accurate, so we now do that. This isn't 100% accurate, but neither is
relying on the package itself, as it may have gone out of date.
The real solution here is virtual edge information, but this is a stopgap until we have
that.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions