mirror of
https://github.com/github/codeql.git
synced 2026-07-30 23:13:01 +02:00
Match aarch64 only for Linux arch, per bazel os.arch
repository_ctx.os.arch reports the lower-cased Java os.arch property, which is "aarch64" on Linux arm64 — same as the macOS branch below. Drop the redundant "arm64" alternative. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c6404a7a-35d7-4294-b3b6-9231ca15ef25
This commit is contained in:
@@ -4,7 +4,7 @@ def _ripunzip_archive_impl(repository_ctx):
|
||||
build_file = Label("//misc/ripunzip:BUILD.ripunzip.bazel")
|
||||
if "linux" in repository_ctx.os.name:
|
||||
arch = repository_ctx.os.arch
|
||||
if arch in ("aarch64", "arm64"):
|
||||
if arch == "aarch64":
|
||||
deb_arch = "arm64"
|
||||
sha256 = repository_ctx.attr.sha256_linux_arm
|
||||
canonical_id = "ripunzip-linux-arm"
|
||||
|
||||
Reference in New Issue
Block a user