mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
make libpfm dep work for integrators
This commit is contained in:
parent
0c34d812e4
commit
4b086c26fe
@ -58,7 +58,7 @@ def benchmark_deps():
|
||||
# Downloaded from v4.9.0 tag at https://sourceforge.net/p/perfmon2/libpfm4/ref/master/tags/
|
||||
http_archive(
|
||||
name = "libpfm",
|
||||
build_file = "@//tools:libpfm.BUILD.bazel",
|
||||
build_file = str(Label("@//tools:libpfm.BUILD.bazel")),
|
||||
sha256 = "5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedbab9fecc",
|
||||
type = "tar.gz",
|
||||
strip_prefix = "libpfm-4.11.0",
|
||||
|
@ -14,6 +14,7 @@ make(
|
||||
lib_name = "libpfm",
|
||||
copts = [
|
||||
"-Wno-format-truncation",
|
||||
"-Wno-use-after-free",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
|
Loading…
Reference in New Issue
Block a user