MSYS2-packages/llvm/0023-hack-tablegentest.patch
Jeremy Drake 670e3bbcfa llvm: install compiler-rt to cygwin rather than msys
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.
2025-08-13 14:31:19 -07:00

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)