Skip to content

Commit 6f1af59

Browse files
rjogradycopybara-github
authored andcommitted
Update tcmalloc to a more recent version than is available in the bazel repository.
Fixes #22, i.e. Fleetbench can't compile with gcc on Arm. PiperOrigin-RevId: 713309331 Change-Id: I8270035157a462da7603773f1e121a6522d7ab00
1 parent 6db2607 commit 6f1af59

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MODULE.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ http_archive(
8080
urls = ["https://github.com/facebook/zstd/archive/v1.4.5.zip"],
8181
)
8282

83+
# Use a more recent tcmalloc version than is available in the bazel repository.
84+
archive_override(
85+
module_name = "tcmalloc", # 2024-09-18
86+
integrity = "sha256-Z1HIwqJnGQKuIoQyGyqRGTl9HYbkCDCub/eaLAQ0hhY=",
87+
strip_prefix = "tcmalloc-6c965fce0c3126b20d807e6ff49343eaa204b559",
88+
urls = ["https://github.com/google/tcmalloc/archive/6c965fce0c3126b20d807e6ff49343eaa204b559.zip"],
89+
)
90+
8391
# Use the more recent libpfm4 version from github, and apply our patches for a native Bazel build.
8492
archive_override(
8593
module_name = "libpfm", # 2024-10-30

0 commit comments

Comments
 (0)