summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Gartung <gartung@fnal.gov>2019-10-01 22:54:22 -0500
committerGitHub <noreply@github.com>2019-10-01 22:54:22 -0500
commit9dfec4a57c7331c05f0a70b657f1bbc628e34586 (patch)
tree5adf38f0651d4820d5cdb069c8cd045da13d6302
parent22e75b77e3b10e88b0acb7878a1153cc6778deb1 (diff)
downloadspack-9dfec4a57c7331c05f0a70b657f1bbc628e34586.tar.gz
spack-9dfec4a57c7331c05f0a70b657f1bbc628e34586.tar.bz2
spack-9dfec4a57c7331c05f0a70b657f1bbc628e34586.tar.xz
spack-9dfec4a57c7331c05f0a70b657f1bbc628e34586.zip
'spack buildcache list' should show all buildaches available. (#13002)
* binary cache: show all packages for compatible differing targets * Don't restrict spack buildcache list to arch or os * Fix from merge conflict
-rw-r--r--lib/spack/spack/binary_distribution.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py
index 510e9c234d..a4624e9326 100644
--- a/lib/spack/spack/binary_distribution.py
+++ b/lib/spack/spack/binary_distribution.py
@@ -609,9 +609,6 @@ def get_specs(force=False):
tty.warn("No Spack mirrors are currently configured")
return {}
- arch = spack.architecture.sys_type()
- arch_spec = 'platform=%s os=%s target=:%s' % tuple(arch.split('-'))
-
urls = set()
for mirror_name, mirror_url in mirrors.items():
if mirror_url.startswith('file'):
@@ -647,8 +644,7 @@ def get_specs(force=False):
# we need to mark this spec concrete on read-in.
spec = Spec.from_yaml(f)
spec._mark_concrete()
- if spec.satisfies(arch_spec):
- _cached_specs.append(spec)
+ _cached_specs.append(spec)
return _cached_specs