make libpfm dep work for integrators

This commit is contained in:
Dominic Hamon 2023-03-16 10:16:23 +00:00
parent 0c34d812e4
commit 4b086c26fe
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def benchmark_deps():
# Downloaded from v4.9.0 tag at https://sourceforge.net/p/perfmon2/libpfm4/ref/master/tags/ # Downloaded from v4.9.0 tag at https://sourceforge.net/p/perfmon2/libpfm4/ref/master/tags/
http_archive( http_archive(
name = "libpfm", name = "libpfm",
build_file = "@//tools:libpfm.BUILD.bazel", build_file = str(Label("@//tools:libpfm.BUILD.bazel")),
sha256 = "5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedbab9fecc", sha256 = "5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedbab9fecc",
type = "tar.gz", type = "tar.gz",
strip_prefix = "libpfm-4.11.0", strip_prefix = "libpfm-4.11.0",

View File

@ -14,6 +14,7 @@ make(
lib_name = "libpfm", lib_name = "libpfm",
copts = [ copts = [
"-Wno-format-truncation", "-Wno-format-truncation",
"-Wno-use-after-free",
], ],
visibility = [ visibility = [
"//visibility:public", "//visibility:public",