'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
This commit is contained in:
		| @@ -609,9 +609,6 @@ def get_specs(force=False): | |||||||
|         tty.warn("No Spack mirrors are currently configured") |         tty.warn("No Spack mirrors are currently configured") | ||||||
|         return {} |         return {} | ||||||
|  |  | ||||||
|     arch = spack.architecture.sys_type() |  | ||||||
|     arch_spec = 'platform=%s os=%s target=:%s' % tuple(arch.split('-')) |  | ||||||
|  |  | ||||||
|     urls = set() |     urls = set() | ||||||
|     for mirror_name, mirror_url in mirrors.items(): |     for mirror_name, mirror_url in mirrors.items(): | ||||||
|         if mirror_url.startswith('file'): |         if mirror_url.startswith('file'): | ||||||
| @@ -647,7 +644,6 @@ def get_specs(force=False): | |||||||
|                 # we need to mark this spec concrete on read-in. |                 # we need to mark this spec concrete on read-in. | ||||||
|                 spec = Spec.from_yaml(f) |                 spec = Spec.from_yaml(f) | ||||||
|                 spec._mark_concrete() |                 spec._mark_concrete() | ||||||
|                 if spec.satisfies(arch_spec): |  | ||||||
|                 _cached_specs.append(spec) |                 _cached_specs.append(spec) | ||||||
|  |  | ||||||
|     return _cached_specs |     return _cached_specs | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Patrick Gartung
					Patrick Gartung