guix: use clang-toolchain-18 for macOS build

Version is 18.1.6.
This commit is contained in:
fanquake 2024-05-02 15:57:43 +08:00
parent cad127235e
commit 9946618f61
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
2 changed files with 4 additions and 4 deletions

View file

@ -240,7 +240,7 @@ def check_MACHO_sdk(binary) -> bool:
return False
def check_MACHO_ld64(binary) -> bool:
if binary.build_version.tools[0].version == [17, 0, 6]:
if binary.build_version.tools[0].version == [18, 1, 6]:
return True
return False

View file

@ -532,9 +532,9 @@ inspecting signatures in Mach-O binaries.")
((string-contains target "darwin")
(list ;; Native GCC 11 toolchain
gcc-toolchain-11
clang-toolchain-17
lld-17
(make-lld-wrapper lld-17 #:lld-as-ld? #t)
clang-toolchain-18
lld-18
(make-lld-wrapper lld-18 #:lld-as-ld? #t)
python-signapple
zip))
(else '())))))