[PATCH] D134510: [bazel] Be consistent and say we don't support libfpm everywhere
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 09:28:06 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0de7c15c88b0: [bazel] Be consistent and say we don't support libfpm everywhere (authored by aeubanks).
Changed prior to commit:
https://reviews.llvm.org/D134510?vs=462372&id=462519#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134510/new/
https://reviews.llvm.org/D134510
Files:
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
@@ -698,12 +698,6 @@
) + [
"tools/llvm-exegesis/Common/AssemblerUtils.h",
],
- copts = ["-DHAVE_LIBPFM=1"],
- linkopts = ["-lpfm"],
- tags = [
- "manual", # External dependency (libpfm4)
- "nobuildkite", # TODO(chandlerc): Add support for fetching and building libpfm4 and enable this.
- ],
deps = [
"//llvm:AllTargetsCodeGens",
"//llvm:AllTargetsDisassemblers",
Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -2605,13 +2605,9 @@
for t in llvm_target_exegesis
]),
hdrs = glob(["tools/llvm-exegesis/lib/*.h"]),
- copts = llvm_copts + ["-DHAVE_LIBPFM=1"],
+ copts = llvm_copts,
features = ["-header_modules"],
strip_include_prefix = "tools/llvm-exegesis/lib",
- tags = [
- "manual", # External dependency (libpfm4)
- "nobuildkite", # TODO(chandlerc): Add support for fetching and building libpfm4 and enable this.
- ],
deps = [
":AllTargetsAsmParsers",
":AllTargetsCodeGens",
@@ -3082,13 +3078,8 @@
srcs = [
"tools/llvm-exegesis/llvm-exegesis.cpp",
],
- copts = llvm_copts + ["-DHAVE_LIBPFM=0"],
- linkopts = ["-lpfm"],
+ copts = llvm_copts,
stamp = 0,
- tags = [
- "manual", # External dependency (libpfm4 through Exegesis)
- "nobuildkite", # TODO(chandlerc): Enable when the library builds.
- ],
deps = [
":AllTargetsAsmParsers",
":AllTargetsCodeGens",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134510.462519.patch
Type: text/x-patch
Size: 1933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220923/f51e9714/attachment.bin>
More information about the llvm-commits
mailing list