Skip to content

Commit d08ce86

Browse files
authored
bazel: Bump bin version -> 0.0.9 (#2671)
Signed-off-by: Ryan Northey <[email protected]>
1 parent dbc6bf3 commit d08ce86

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

bazel/compile/sanitizer_libs.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ def _sanitizer_libs_impl(ctx, sanitizer):
88
if arch == "x86_64":
99
# Download from releases
1010
ctx.download_and_extract(
11-
url = "https://github.com/envoyproxy/toolshed/releases/download/bazel-bins-v{version}/{sanitizer}-libs-{arch}.tar.gz".format(
11+
url = "https://github.com/envoyproxy/toolshed/releases/download/bazel-bins-v{version}/{sanitizer}-llvm{llvm_version}-{arch}.tar.xz".format(
1212
arch = arch,
1313
version = ctx.attr.version,
1414
sanitizer = sanitizer,
15+
llvm_version = VERSIONS["llvm"],
1516
),
1617
sha256 = ctx.attr.sha256,
1718
stripPrefix = "{}-libs-{}".format(sanitizer, arch),

bazel/sysroot/sysroot.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ def _sysroot_impl(ctx):
1616
"""Implementation for sysroot repository rule."""
1717
arch = ctx.attr.arch or _get_platform_arch(ctx)
1818
ctx.download_and_extract(
19-
url = "https://github.com/envoyproxy/toolshed/releases/download/bazel-bins-v{version}/sysroot-{arch}.tar.gz".format(
19+
url = "https://github.com/envoyproxy/toolshed/releases/download/bazel-bins-v{version}/sysroot-glibc{glibc_version}-libstdc++{stdcc_version}-{arch}.tar.xz".format(
2020
version = ctx.attr.version,
2121
arch = arch,
22+
glibc_version = "2.31",
23+
stdcc_version = "13",
2224
),
2325
sha256 = ctx.attr.sha256,
2426
stripPrefix = "",

bazel/versions.bzl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ VERSIONS = {
55
"ninja": "1.12.0",
66
"python": "3.12",
77

8-
"bins_release": "0.0.3",
9-
"msan_libs_sha256": "2ab7f29a5527f19b556ea0b0ba4f875c8a0a5b8c18813242161f953676b87a27",
10-
"tsan_libs_sha256": "6a7d009d4af9a68420c55c1f9796e09244e2ad105aec0d47465c980fe1dcba8a",
8+
"bins_release": "0.0.9",
9+
"msan_libs_sha256": "487dac0557248a58062b5d70191c27d4a8f3b39551141501c4e613c253a9a9d1",
10+
"tsan_libs_sha256": "64c807c39851816b2d0ceefb11244fa940976038d889bbcdec22c4a9a87dbe39",
1111

12-
"sysroot_amd64_sha256": "a557e8fa929b4a89971f8490f79d6845477a1a01b8d6d30aef3a6660319f560f",
13-
"sysroot_arm64_sha256": "6e1b2ca94ba1eadc497f24e695412065a38f6f5712d48c3e88b4f34659657c4b",
12+
"sysroot_amd64_sha256": "44db2c3a30f92d4c4943b95e468da7bd80a455a105c6f09fe604df2d20f238f9",
13+
"sysroot_arm64_sha256": "dc7ad3014e8e29a64329786320d38d2986bf6e7fa77c88ae9169e2ef760ef36e",
1414

1515
"bazel_skylib": {
1616
"type": "github_archive",

0 commit comments

Comments
 (0)