From 2a5f0ca92ea8947b4d33590a29175d1d993cf8c7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Dalido Date: Wed, 25 Jun 2025 07:48:03 +0000 Subject: [PATCH] bazel/tools: add patches to deb archive --- bazel/http_deb_archive.bzl | 1 + platforms/BUILD.bazel | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bazel/http_deb_archive.bzl b/bazel/http_deb_archive.bzl index f847e6f3..91b52f5c 100644 --- a/bazel/http_deb_archive.bzl +++ b/bazel/http_deb_archive.bzl @@ -39,6 +39,7 @@ http_deb_archive = repository_rule( "strip_prefix": attr.string(), "build_file": attr.label(allow_single_file = True), "build_file_content": attr.string(), + "patches": attr.label_list(allow_files = True), "workspace_file": attr.label(allow_single_file = True), "workspace_file_content": attr.string(), }, diff --git a/platforms/BUILD.bazel b/platforms/BUILD.bazel index 57756f40..d086bb70 100644 --- a/platforms/BUILD.bazel +++ b/platforms/BUILD.bazel @@ -17,7 +17,7 @@ platform( name = "host_linux", parents = ["@platforms//host"], constraint_values = [ - "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.31", + "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.38", ], visibility = ["//visibility:public"], ) @@ -27,7 +27,7 @@ platform( constraint_values = [ "@platforms//cpu:x86_64", "@platforms//os:linux", - "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.31", + "@toolchains_llvm_bootstrapped//constraints/libc:gnu.2.38", ], visibility = ["//visibility:public"], )