This is in preparation for a future patch that will let Clang call the linker directly, and it will expect to find compiler-rt in "cygwin". Also, enable tests. Disable tests for compiler-rt though, as they cause build errors due to missing targets for sanitizer tests.
21 lines
485 B
Diff
21 lines
485 B
Diff
--- a/llvm/unittests/TableGen/CMakeLists.txt
|
|
+++ b/llvm/unittests/TableGen/CMakeLists.txt
|
|
@@ -1,7 +1,7 @@
|
|
-set(LLVM_LINK_COMPONENTS
|
|
- TableGen
|
|
- Support
|
|
- )
|
|
+#set(LLVM_LINK_COMPONENTS
|
|
+# TableGen
|
|
+# Support
|
|
+# )
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Automata.td)
|
|
|
|
@@ -15,4 +15,4 @@
|
|
ParserEntryPointTest.cpp
|
|
)
|
|
|
|
-target_link_libraries(TableGenTests PRIVATE LLVMTableGenCommon LLVMTableGen)
|
|
+target_link_libraries(TableGenTests PRIVATE LLVMTableGenCommon LLVMTableGen LLVMSupport)
|