Skip to content

Commit

Permalink
Allow s390x arch
Browse files Browse the repository at this point in the history
Signed-off-by: Gong Su <[email protected]>
  • Loading branch information
gongsu832 committed Dec 27, 2024
1 parent aa51f8f commit fd6eb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buf/internal/toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _buf_download_releases_impl(ctx):
version = json.decode(version_data)["name"]

os, cpu = _detect_host_platform(ctx)
if os not in ["linux", "darwin", "windows"] or cpu not in ["arm64", "amd64"]:
if os not in ["linux", "darwin", "windows"] or cpu not in ["arm64", "amd64", "s390x"]:
fail("Unsupported operating system or cpu architecture ")
if os == "linux" and cpu == "arm64":
cpu = "aarch64"
Expand Down

0 comments on commit fd6eb3c

Please sign in to comment.