[llvm] e9a9fcc - [gn build] Fix tablegen dependencies
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 11:28:41 PDT 2023
Author: Arthur Eubanks
Date: 2023-06-29T11:27:58-07:00
New Revision: e9a9fccc9dde1387b6a8f3d4c83c29d2bd7136bd
URL: https://github.com/llvm/llvm-project/commit/e9a9fccc9dde1387b6a8f3d4c83c29d2bd7136bd
DIFF: https://github.com/llvm/llvm-project/commit/e9a9fccc9dde1387b6a8f3d4c83c29d2bd7136bd.diff
LOG: [gn build] Fix tablegen dependencies
The source_set needs to depend on Support so llvm-config files are generated first.
Added:
Modified:
llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
index 13a24169fb7b04..4e7d4ad6b9d419 100644
--- a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
@@ -9,13 +9,12 @@ source_set("llvm-min-tblgen-sources") {
"TableGen.cpp",
"VTEmitter.cpp",
]
+ deps = [ "//llvm/lib/Support" ]
}
executable("llvm-min-tblgen") {
deps = [
":llvm-min-tblgen-sources",
- "//llvm/include/llvm/Config:llvm-config",
- "//llvm/lib/Support",
"//llvm/lib/TableGen",
]
}
More information about the llvm-commits
mailing list