summaryrefslogtreecommitdiff
path: root/LICENSE-MIT
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2023-04-17 15:03:37 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2023-05-15 09:15:49 -0700
commit0458de18def570e8eb28625a474336edcd039e4e (patch)
treee26972bf8a88e839b79c98f7b82befadd8061fac /LICENSE-MIT
parentf94ac8c77033088feece2fa085e44a4fef54e18a (diff)
downloadspack-0458de18def570e8eb28625a474336edcd039e4e.tar.gz
spack-0458de18def570e8eb28625a474336edcd039e4e.tar.bz2
spack-0458de18def570e8eb28625a474336edcd039e4e.tar.xz
spack-0458de18def570e8eb28625a474336edcd039e4e.zip
bugfix: don't look up patches from packages for concrete specs
The concretizer can fail with `reuse:true` if a buildcache or installation contains a package with a dependency that has been renamed or deleted in the main repo (e.g., `netcdf` was refactored to `netcdf-c`, `netcdf-fortran`, etc., but there are still binary packages with dependencies called `netcdf`). We should still be able to install things for which we are missing `package.py` files. `Spec.inject_patches_variant()` was failing this requirement by attempting to look up the package class for concrete specs. This isn't needed -- we can skip it. - [x] swap two conditions in `Spec.inject_patches_variant()`
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions