Skip to content

Commit a2f176c

Browse files
committed
Use latest LLVM for musl builds
closes #829
1 parent 29c7b9a commit a2f176c

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

pythonbuild/downloads.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,6 @@
176176
"licenses": ["MIT"],
177177
"license_file": "LICENSE.libxcb.txt",
178178
},
179-
"llvm-14-x86_64-linux": {
180-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20220508/llvm-14.0.3+20220508-gnu_only-x86_64-unknown-linux-gnu.tar.zst",
181-
"size": 158614671,
182-
"sha256": "04cb77c660f09df017a57738ae9635ef23a506024789f2f18da1304b45af2023",
183-
"version": "14.0.3+20220508",
184-
},
185179
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
186180
"llvm-21-aarch64-linux": {
187181
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20251029/llvm-21.1.4+20251029-gnu_only-aarch64-unknown-linux-gnu.tar.zst",

pythonbuild/utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,7 @@ def sort_key(v):
475475

476476
def clang_toolchain(host_platform: str, target_triple: str) -> str:
477477
if host_platform == "linux_x86_64":
478-
# musl currently has issues with LLVM 15+.
479-
if "musl" in target_triple:
480-
return "llvm-14-x86_64-linux"
481-
else:
482-
return "llvm-21-x86_64-linux"
478+
return "llvm-21-x86_64-linux"
483479
elif host_platform == "linux_aarch64":
484480
return "llvm-21-aarch64-linux"
485481
elif host_platform == "macos_arm64":

0 commit comments

Comments
 (0)