[PATCH] D74588: Make TableGenGlobalISel an object library
Aaron Puchert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 13:22:20 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2c3cf62d4a26: Make TableGenGlobalISel an object library (authored by aaronpuchert).
Changed prior to commit:
https://reviews.llvm.org/D74588?vs=334491&id=334519#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74588/new/
https://reviews.llvm.org/D74588
Files:
llvm/unittests/TableGen/CMakeLists.txt
llvm/utils/TableGen/CMakeLists.txt
llvm/utils/TableGen/GlobalISel/CMakeLists.txt
Index: llvm/utils/TableGen/GlobalISel/CMakeLists.txt
===================================================================
--- llvm/utils/TableGen/GlobalISel/CMakeLists.txt
+++ llvm/utils/TableGen/GlobalISel/CMakeLists.txt
@@ -3,7 +3,7 @@
TableGen
)
-add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
+add_llvm_library(LLVMTableGenGlobalISel OBJECT
CodeExpander.cpp
GIMatchDag.cpp
GIMatchDagEdge.cpp
Index: llvm/utils/TableGen/CMakeLists.txt
===================================================================
--- llvm/utils/TableGen/CMakeLists.txt
+++ llvm/utils/TableGen/CMakeLists.txt
@@ -56,6 +56,6 @@
X86RecognizableInstr.cpp
WebAssemblyDisassemblerEmitter.cpp
CTagsEmitter.cpp
+ $<TARGET_OBJECTS:obj.LLVMTableGenGlobalISel>
)
-target_link_libraries(llvm-tblgen PRIVATE LLVMTableGenGlobalISel)
set_target_properties(llvm-tblgen PROPERTIES FOLDER "Tablegenning")
Index: llvm/unittests/TableGen/CMakeLists.txt
===================================================================
--- llvm/unittests/TableGen/CMakeLists.txt
+++ llvm/unittests/TableGen/CMakeLists.txt
@@ -12,6 +12,7 @@
add_llvm_unittest(TableGenTests
CodeExpanderTest.cpp
AutomataTest.cpp
+ $<TARGET_OBJECTS:obj.LLVMTableGenGlobalISel>
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen)
-target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)
+target_link_libraries(TableGenTests PRIVATE LLVMTableGen)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74588.334519.patch
Type: text/x-patch
Size: 1527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/1b74d068/attachment.bin>
More information about the llvm-commits
mailing list