[PATCH] D74588: Use DISABLE_LLVM_LINK_LLVM_DYLIB for TableGenTests
Aaron Puchert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 19:13:34 PST 2020
aaronpuchert created this revision.
aaronpuchert added a reviewer: dsanders.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
We need this because the test links with LLVMTableGenGlobalISel which
has the same option. Without this the test would link with the LLVM
dylib and a static LLVMSupport, which results in duplicate flags.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74588
Files:
llvm/unittests/TableGen/CMakeLists.txt
Index: llvm/unittests/TableGen/CMakeLists.txt
===================================================================
--- llvm/unittests/TableGen/CMakeLists.txt
+++ llvm/unittests/TableGen/CMakeLists.txt
@@ -9,7 +9,7 @@
tablegen(LLVM AutomataAutomata.inc -gen-automata)
add_public_tablegen_target(AutomataTestTableGen)
-add_llvm_unittest(TableGenTests
+add_llvm_unittest(TableGenTests DISABLE_LLVM_LINK_LLVM_DYLIB
CodeExpanderTest.cpp
AutomataTest.cpp
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74588.244563.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/98d8e3a9/attachment.bin>
More information about the llvm-commits
mailing list