[DFAJumpThreading] Remove incoming StartBlock from all phis when unfolding select...
[llvm-project.git] / utils / bazel / third_party_build / pfm.BUILD
blobfe908d4744dae6e33b41853ff9ff249aab41fc93
1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 load("@rules_foreign_cc//foreign_cc:defs.bzl", "make_variant")
7 filegroup(
8     name = "sources",
9     srcs = glob(["**"]),
12 make_variant(
13     name = "pfm",
14     copts = ["-w"],
15     lib_name = "libpfm",
16     lib_source = ":sources",
17     toolchain = "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain",
18     visibility = ["//visibility:public"],
21 alias(
22     name = "pfm_external",
23     actual = "@pfm//:pfm_",
24     visibility = ["//visibility:public"],
27 cc_library(
28     name = "pfm_system",
29     linkopts = ["-lpfm"],
30     visibility = ["//visibility:public"],