[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / third-party / benchmark / tools / libpfm.BUILD.bazel
blob62695342aa81e4155ee383fb8cfc1110ca86e818
1 # Build rule for libpfm, which is required to collect performance counters for
2 # BENCHMARK_ENABLE_LIBPFM builds.
4 load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
6 filegroup(
7     name = "pfm_srcs",
8     srcs = glob(["**"]),
11 make(
12     name = "libpfm",
13     lib_source = ":pfm_srcs",
14     lib_name = "libpfm",
15     copts = [
16         "-Wno-format-truncation",
17         "-Wno-use-after-free",
18     ],
19     visibility = [
20         "//visibility:public",
21     ],