mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 12:30:14 +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/
|
# 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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user