Skip to content

Commit b8e73f9

Browse files
authored
Fix llvm20 arm mac build (#14)
1 parent f23f607 commit b8e73f9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bazel/repositories.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ def prometheus_cpp_repositories():
4848
maybe(
4949
http_archive,
5050
name = "net_zlib_zlib",
51-
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
52-
strip_prefix = "zlib-1.2.11",
51+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
52+
strip_prefix = "zlib-1.3.1",
5353
urls = [
54-
"https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz",
55-
"https://zlib.net/zlib-1.2.11.tar.gz",
54+
"https://mirror.bazel.build/zlib.net/zlib-1.3.1.tar.gz",
55+
"https://zlib.net/zlib-1.3.1.tar.gz",
5656
],
5757
build_file = "@com_github_jupp0r_prometheus_cpp//bazel:zlib.BUILD",
5858
)

bazel/zlib.BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ cc_library(
1010
copts = [
1111
"-w",
1212
"-Dverbose=-1",
13+
"-Wno-error=implicit-function-declaration",
1314
],
1415
includes = ["."],
1516
visibility = ["//visibility:public"],

0 commit comments

Comments
 (0)