Skip to content
Snippets Groups Projects
Unverified Commit dd0e18d7 authored by Patrick Gartung's avatar Patrick Gartung Committed by GitHub
Browse files

Use get_spec in relocated _try_install_from_binary_cache (#15131)

* Use get_spec in relocated _try_install_from_binary_cache
parent d1929b2e
Branches
Tags
No related merge requests found
......@@ -337,7 +337,7 @@ def _try_install_from_binary_cache(pkg, explicit):
"""
pkg_id = package_id(pkg)
tty.debug('Searching for binary cache of {0}'.format(pkg_id))
specs = binary_distribution.get_specs()
specs = binary_distribution.get_spec(pkg.spec, force=False)
binary_spec = spack.spec.Spec.from_dict(pkg.spec.to_dict())
binary_spec._mark_concrete()
if binary_spec not in specs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment