[llvm-branch-commits] [llvm] ba4e45a - [gn build] (manually) port 8fee2ee9a68
Nico Weber via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Dec 1 15:06:52 PST 2020
Author: Nico Weber
Date: 2020-12-01T18:02:27-05:00
New Revision: ba4e45a0aa6596e156b27a620281d7befc5297fc
URL: https://github.com/llvm/llvm-project/commit/ba4e45a0aa6596e156b27a620281d7befc5297fc
DIFF: https://github.com/llvm/llvm-project/commit/ba4e45a0aa6596e156b27a620281d7befc5297fc.diff
LOG: [gn build] (manually) port 8fee2ee9a68
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
index 5a8aed018390..01c909025905 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-ml/BUILD.gn
@@ -1,5 +1,13 @@
+import("//llvm/utils/TableGen/tablegen.gni")
+
+tablegen("Opts") {
+ visibility = [ ":llvm-ml" ]
+ args = [ "-gen-opt-parser-defs" ]
+}
+
executable("llvm-ml") {
deps = [
+ ":Opts",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
More information about the llvm-branch-commits
mailing list