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.

22 lines
459 B

2 months ago
  1. # Build rule for libpfm, which is required to collect performance counters for
  2. # BENCHMARK_ENABLE_LIBPFM builds.
  3. load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
  4. filegroup(
  5. name = "pfm_srcs",
  6. srcs = glob(["**"]),
  7. )
  8. make(
  9. name = "libpfm",
  10. lib_source = ":pfm_srcs",
  11. lib_name = "libpfm",
  12. copts = [
  13. "-Wno-format-truncation",
  14. "-Wno-use-after-free",
  15. ],
  16. visibility = [
  17. "//visibility:public",
  18. ],
  19. )