Skip to content

Commit

Permalink
chore(bazel): bump gcc version to 8.5 in crosstool-ng-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Sep 10, 2024
1 parent 5ac6e1e commit 888f36d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/toolchain/managed_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ aarch64_glibc_distros = {
"rhel9": "11",
"rhel8": "8",
"aws2023": "11",
"aws2": "7",
"aws2": "8",
}

def define_managed_toolchain(
Expand Down Expand Up @@ -78,7 +78,7 @@ def register_all_toolchains(name = None):

register_managed_toolchain(
arch = "x86_64",
gcc_version = "7",
gcc_version = "8",
libc = "gnu",
vendor = "aws2",
)
Expand Down
12 changes: 6 additions & 6 deletions build/toolchain/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ def toolchain_repositories():
)

http_archive(
name = "aarch64-aws2-linux-gnu-gcc-7",
url = "https://github.com/Kong/crosstool-ng-actions/releases/download/0.7.0/aarch64-aws2-linux-gnu-glibc-2.26-gcc-7.tar.gz",
sha256 = "de365a366b5de93b0f6d851746e7ced06946b083b390500d4c1b4a8360702331",
name = "aarch64-aws2-linux-gnu-gcc-8",
url = "https://github.com/Kong/crosstool-ng-actions/releases/download/0.7.0/aarch64-aws2-linux-gnu-glibc-2.26-gcc-8.tar.gz",
sha256 = "4bcf3e5448cca6c33f8d6d3e97da0378cfa57b116e5ba6f037e4fd11149ed37f",
strip_prefix = "aarch64-aws2-linux-gnu",
build_file_content = build_file_content,
)

http_archive(
name = "x86_64-aws2-linux-gnu-gcc-7",
url = "https://github.com/Kong/crosstool-ng-actions/releases/download/0.7.0/x86_64-aws2-linux-gnu-glibc-2.26-gcc-7.tar.gz",
sha256 = "645c242d13bf456ca59a7e9701e9d2f53336fd0497ccaff2b151da9921469985",
name = "x86_64-aws2-linux-gnu-gcc-8",
url = "https://github.com/Kong/crosstool-ng-actions/releases/download/0.7.0/x86_64-aws2-linux-gnu-glibc-2.26-gcc-8.tar.gz",
sha256 = "bb742616c651900280ac63e926d941fa4bb851e648d011a04a29de62e818e516",
strip_prefix = "x86_64-aws2-linux-gnu",
build_file_content = build_file_content,
)

0 comments on commit 888f36d

Please sign in to comment.