Skip to content

Commit a545994

Browse files
committed
Update LLVM toolchains to 21.0.4
Let's stay modern.
1 parent 46a3737 commit a545994

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

pythonbuild/downloads.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,24 +187,24 @@
187187
},
188188
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
189189
"llvm-20-x86_64-linux": {
190-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-gnu_only-x86_64-unknown-linux-gnu.tar.zst",
191-
"size": 283261860,
192-
"sha256": "41d3d74e21e064e2e59a4e89feca74d58a5e9e95f73877f3c9ed82ca95607b47",
193-
"version": "20.1.0+20240308",
190+
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-gnu_only-x86_64-unknown-linux-gnu.tar.zst",
191+
"size": 299883811,
192+
"sha256": "32374eb8b32fc79e9022f21eefc848d75fa3c46e68054a5dfc1f68d6f2f20429",
193+
"version": "20.1.4+20250511",
194194
},
195195
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
196196
"llvm-aarch64-macos": {
197-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-aarch64-apple-darwin.tar.zst",
198-
"size": 161006322,
199-
"sha256": "9897bfaab16c930258f614250a1ade1a8f32df027181bd54a61d24b5a04e284c",
200-
"version": "20.1.0+20240308",
197+
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-aarch64-apple-darwin.tar.zst",
198+
"size": 152858186,
199+
"sha256": "d44bf8256b2468339c3b4491edb9c799ab89e466d98d098391286dc86e86a63b",
200+
"version": "20.1.4+20250511",
201201
},
202202
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
203203
"llvm-x86_64-macos": {
204-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-x86_64-apple-darwin.tar.zst",
205-
"size": 160133882,
206-
"sha256": "95cfcb79d752e81735a7a7f7c4cb5a7c16360b6e9a75658a1bd50ce0547d4ad5",
207-
"version": "20.1.0+20240308",
204+
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-x86_64-apple-darwin.tar.zst",
205+
"size": 160140682,
206+
"sha256": "31b35734b678ad22471e31cf6a173c54819a3bca9ffefd4a70d8cdb935d67501",
207+
"version": "20.1.4+20250511",
208208
},
209209
"m4": {
210210
"url": "https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz",

src/release.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,14 +569,14 @@ pub fn produce_install_only_stripped(tar_gz_path: &Path, llvm_dir: &Path) -> Res
569569
static LLVM_URL: Lazy<Url> = Lazy::new(|| {
570570
if cfg!(target_os = "macos") {
571571
if std::env::consts::ARCH == "aarch64" {
572-
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-aarch64-apple-darwin.tar.zst").unwrap()
572+
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-aarch64-apple-darwin.tar.zst").unwrap()
573573
} else if std::env::consts::ARCH == "x86_64" {
574-
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-x86_64-apple-darwin.tar.zst").unwrap()
574+
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-x86_64-apple-darwin.tar.zst").unwrap()
575575
} else {
576576
panic!("unsupported macOS architecture");
577577
}
578578
} else if cfg!(target_os = "linux") {
579-
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-gnu_only-x86_64-unknown-linux-gnu.tar.zst").unwrap()
579+
Url::parse("https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-gnu_only-x86_64-unknown-linux-gnu.tar.zst").unwrap()
580580
} else {
581581
panic!("unsupported platform");
582582
}

0 commit comments

Comments
 (0)