diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-09-21 14:05:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-21 14:05:41 +0200 |
commit | b93c57cab972d676c9540e01137fd5e0af87fa5a (patch) | |
tree | 154fd078706aab23f08478ab6b09a828be8a2883 /LICENSE-APACHE | |
parent | 35ae2743d9888098a8f1409a327aeefa2f97f4b0 (diff) | |
download | spack-b93c57cab972d676c9540e01137fd5e0af87fa5a.tar.gz spack-b93c57cab972d676c9540e01137fd5e0af87fa5a.tar.bz2 spack-b93c57cab972d676c9540e01137fd5e0af87fa5a.tar.xz spack-b93c57cab972d676c9540e01137fd5e0af87fa5a.zip |
Remove `spack.target` from code (#46503)
The `spack.target.Target` class is a weird entity, that is just needed to:
1. Sort microarchitectures in lists deterministically
2. Being able to use microarchitectures in hashed containers
This PR removes it, and uses `archspec.cpu.Microarchitecture` directly. To sort lists, we use a proper `key=` when needed. Being able to use `Microarchitecture` objects in sets is achieved by updating the external `archspec`.
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions