[llvm] d598829 - [gn] make LLVMTableGenCommon a static_library again

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 05:05:37 PST 2025


Author: Nico Weber
Date: 2025-01-03T08:05:15-05:00
New Revision: d598829375634da42910e2624f181f6b843bdc8b

URL: https://github.com/llvm/llvm-project/commit/d598829375634da42910e2624f181f6b843bdc8b
DIFF: https://github.com/llvm/llvm-project/commit/d598829375634da42910e2624f181f6b843bdc8b.diff

LOG: [gn] make LLVMTableGenCommon a static_library again

Else TableGenTests doesn't link.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/utils/TableGen/Common/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/Common/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/Common/BUILD.gn
index 31d0e1dade0397..db11e56e550f9a 100644
--- a/llvm/utils/gn/secondary/llvm/utils/TableGen/Common/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/Common/BUILD.gn
@@ -1,4 +1,5 @@
-source_set("Common") {
+static_library("Common") {
+  output_name = "LLVMTableGenCommon"
   deps = [
     "//llvm/include/llvm/CodeGen:GenVT",
     "//llvm/lib/CodeGenTypes",


        


More information about the llvm-commits mailing list