From cbdcb82c033e2d79aca5b2a7b0ef419256d9a58a Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Mon, 13 Oct 2025 11:35:48 +0200 Subject: [PATCH 1/2] WIP --- bazel/repositories.bzl | 14 +++++++------- bazel/zlib.BUILD | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 0fe8e252..e7e73bee 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -27,10 +27,10 @@ def prometheus_cpp_repositories(): http_archive, name = "com_github_curl", sha256 = "910cc5fe279dc36e2cca534172c94364cf3fcf7d6494ba56e6c61a390881ddce", - strip_prefix = "curl-7.82.0", + strip_prefix = "curl-8.16.0", urls = [ - "https://github.com/curl/curl/releases/download/curl-7_82_0/curl-7.82.0.tar.gz", - "https://curl.haxx.se/download/curl-7.82.0.tar.gz", + "https://github.com/curl/curl/releases/download/curl-8_16_0/curl-8.16.0.tar.gz", + "https://curl.se/download/curl-8.16.0.tar.gz", ], build_file = "@com_github_jupp0r_prometheus_cpp//bazel:curl.BUILD", ) @@ -48,11 +48,11 @@ def prometheus_cpp_repositories(): maybe( http_archive, name = "net_zlib_zlib", - sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", - strip_prefix = "zlib-1.2.11", + sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23", + strip_prefix = "zlib-1.3.1", urls = [ - "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz", - "https://zlib.net/zlib-1.2.11.tar.gz", + "https://mirror.bazel.build/zlib.net/zlib-1.3.1.tar.gz", + "https://zlib.net/zlib-1.3.1.tar.gz", ], build_file = "@com_github_jupp0r_prometheus_cpp//bazel:zlib.BUILD", ) diff --git a/bazel/zlib.BUILD b/bazel/zlib.BUILD index 34cd232c..e9215478 100644 --- a/bazel/zlib.BUILD +++ b/bazel/zlib.BUILD @@ -10,6 +10,7 @@ cc_library( copts = [ "-w", "-Dverbose=-1", + "-Wno-error=implicit-function-declaration", ], includes = ["."], visibility = ["//visibility:public"], From eef0ded2db3e4d5e188cbb3ef52f44aeff275515 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Tue, 14 Oct 2025 16:59:05 +0200 Subject: [PATCH 2/2] ? --- bazel/repositories.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index e7e73bee..fe6ca7fe 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -27,10 +27,10 @@ def prometheus_cpp_repositories(): http_archive, name = "com_github_curl", sha256 = "910cc5fe279dc36e2cca534172c94364cf3fcf7d6494ba56e6c61a390881ddce", - strip_prefix = "curl-8.16.0", + strip_prefix = "curl-7.82.0", urls = [ - "https://github.com/curl/curl/releases/download/curl-8_16_0/curl-8.16.0.tar.gz", - "https://curl.se/download/curl-8.16.0.tar.gz", + "https://github.com/curl/curl/releases/download/curl-7_82_0/curl-7.82.0.tar.gz", + "https://curl.haxx.se/download/curl-7.82.0.tar.gz", ], build_file = "@com_github_jupp0r_prometheus_cpp//bazel:curl.BUILD", )