Skip to content

Update llvm_distributions.bzl to support clang 19 for Linux ARM64 #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions toolchain/internal/release_name.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ def llvm_release_name(rctx, llvm_version):
"linux": "Linux",
"windows": "Windows",
}[_os(rctx)]
if arch == "ARM64" and os == "Linux" and llvm_version in ["19.1.7", "19.1.6", "19.1.5", "19.1.4", "19.1.3"]:
return "clang+llvm-{llvm_version}-aarch64-linux-gnu.tar.xz".format(
llvm_version = llvm_version,
)
return "LLVM-{llvm_version}-{os}-{arch}.tar.xz".format(
llvm_version = llvm_version,
arch = arch,
Expand Down