diff options
author | Zach van Rijn <me@zv.io> | 2024-12-07 21:34:52 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-07 17:34:47 -0600 |
commit | bc7fcd1b36a697ab8ce5fd6ace425a9143330dce (patch) | |
tree | d2c4e1030b807eafeec9295ba671e3690c12dcbd /user/spack/archspec-fix-cpu-family-detection.patch | |
parent | a969dcc1cb523d61cc3cfd879100b352c8fd0e24 (diff) | |
download | packages-bc7fcd1b36a697ab8ce5fd6ace425a9143330dce.tar.gz packages-bc7fcd1b36a697ab8ce5fd6ace425a9143330dce.tar.bz2 packages-bc7fcd1b36a697ab8ce5fd6ace425a9143330dce.tar.xz packages-bc7fcd1b36a697ab8ce5fd6ace425a9143330dce.zip |
user/spack: bump { 0.21.0 --> 0.23.0 }.
NOTE: packages built during the 'clingo-bootstrap' process
no longer apply patches of the form 'patch("foo.patch")'
due to changes noted at spack#16. Upstream is aware.
v0.22.0 introduces libc awareness (currently glibc or musl).
https://github.com/spack/spack/pull/43190
v0.23.0 removes the old concretizer, final 0.x release.
https://github.com/spack/spack/pull/45215
v1.0.0 has high-impact changes. several compiler limitations.
https://github.com/spack/spack/pull/45189
See also: https://github.com/spack/spack/discussions/30634
Diffstat (limited to 'user/spack/archspec-fix-cpu-family-detection.patch')
-rw-r--r-- | user/spack/archspec-fix-cpu-family-detection.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/user/spack/archspec-fix-cpu-family-detection.patch b/user/spack/archspec-fix-cpu-family-detection.patch deleted file mode 100644 index a3979ec95..000000000 --- a/user/spack/archspec-fix-cpu-family-detection.patch +++ /dev/null @@ -1,16 +0,0 @@ -See also: https://github.com/archspec/archspec/issues/102 - -diff --git a/lib/spack/external/archspec/cpu/detect.py b/lib/spack/external/archspec/cpu/detect.py -index a7cc4481f6..cadd593ca2 100644 ---- a/lib/spack/external/archspec/cpu/detect.py -+++ b/lib/spack/external/archspec/cpu/detect.py -@@ -92,7 +92,8 @@ def _machine(): - - # If we are not on Darwin, trust what Python tells us - if operating_system != "Darwin": -- return platform.machine() -+ machine = platform.machine() -+ return TARGETS[machine].family.name if machine in TARGETS else machine - - # On Darwin it might happen that we are on M1, but using an interpreter - # built for x86_64. In that case "platform.machine() == 'x86_64'", so we |