forked from OSchip/llvm-project
Revert "Make TableGenGlobalISel an object library"
This reverts commit 2c3cf62d4a
.
Causes build failures on x86_64, will respond to commit thread with link errors.
This commit is contained in:
parent
2c3cf62d4a
commit
e8d8754c06
|
@ -12,7 +12,6 @@ add_public_tablegen_target(AutomataTestTableGen)
|
|||
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 LLVMTableGen)
|
||||
target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)
|
||||
|
|
|
@ -56,6 +56,6 @@ add_tablegen(llvm-tblgen LLVM
|
|||
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")
|
||||
|
|
|
@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
|
|||
TableGen
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMTableGenGlobalISel OBJECT
|
||||
add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
CodeExpander.cpp
|
||||
GIMatchDag.cpp
|
||||
GIMatchDagEdge.cpp
|
||||
|
|
Loading…
Reference in New Issue