LevelDB project 1
10225501460 林子骥
10211900416 郭夏辉
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Build rule for libpfm, which is required to collect performance counters for
|
|
# BENCHMARK_ENABLE_LIBPFM builds.
|
|
|
|
load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
|
|
|
|
filegroup(
|
|
name = "pfm_srcs",
|
|
srcs = glob(["**"]),
|
|
)
|
|
|
|
make(
|
|
name = "libpfm",
|
|
lib_source = ":pfm_srcs",
|
|
lib_name = "libpfm",
|
|
copts = [
|
|
"-Wno-format-truncation",
|
|
"-Wno-use-after-free",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|