Skip to content

Commit 1202529

Browse files
committed
Update LLVM toolchains to 21.0.4
Let's stay modern.
1 parent 5ed77c9 commit 1202529

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
@@ -175,24 +175,24 @@
175175
},
176176
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
177177
"llvm-20-x86_64-linux": {
178-
"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",
179-
"size": 283261860,
180-
"sha256": "41d3d74e21e064e2e59a4e89feca74d58a5e9e95f73877f3c9ed82ca95607b47",
181-
"version": "20.1.0+20240308",
178+
"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",
179+
"size": 299883811,
180+
"sha256": "32374eb8b32fc79e9022f21eefc848d75fa3c46e68054a5dfc1f68d6f2f20429",
181+
"version": "20.1.4+20250511",
182182
},
183183
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
184184
"llvm-aarch64-macos": {
185-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-aarch64-apple-darwin.tar.zst",
186-
"size": 161006322,
187-
"sha256": "9897bfaab16c930258f614250a1ade1a8f32df027181bd54a61d24b5a04e284c",
188-
"version": "20.1.0+20240308",
185+
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-aarch64-apple-darwin.tar.zst",
186+
"size": 152858186,
187+
"sha256": "d44bf8256b2468339c3b4491edb9c799ab89e466d98d098391286dc86e86a63b",
188+
"version": "20.1.4+20250511",
189189
},
190190
# Remember to update LLVM_URL in src/release.rs whenever upgrading.
191191
"llvm-x86_64-macos": {
192-
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250308/llvm-20.1.0+20250308-x86_64-apple-darwin.tar.zst",
193-
"size": 160133882,
194-
"sha256": "95cfcb79d752e81735a7a7f7c4cb5a7c16360b6e9a75658a1bd50ce0547d4ad5",
195-
"version": "20.1.0+20240308",
192+
"url": "https://github.com/indygreg/toolchain-tools/releases/download/toolchain-bootstrap%2F20250511/llvm-20.1.4+20250511-x86_64-apple-darwin.tar.zst",
193+
"size": 160140682,
194+
"sha256": "31b35734b678ad22471e31cf6a173c54819a3bca9ffefd4a70d8cdb935d67501",
195+
"version": "20.1.4+20250511",
196196
},
197197
"m4": {
198198
"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)