[llvm] 81fc43a - [unittests] Fix `TableGenTests` with `LLVM_LINK_LLVM_DYLIB` (#86664)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 26 10:05:21 PDT 2024
Author: Jonas Hahnfeld
Date: 2024-03-26T18:05:18+01:00
New Revision: 81fc43a39878dbd938b45d7735fe6e0fe37b03c3
URL: https://github.com/llvm/llvm-project/commit/81fc43a39878dbd938b45d7735fe6e0fe37b03c3
DIFF: https://github.com/llvm/llvm-project/commit/81fc43a39878dbd938b45d7735fe6e0fe37b03c3.diff
LOG: [unittests] Fix `TableGenTests` with `LLVM_LINK_LLVM_DYLIB` (#86664)
Since the restructuring in commit fa3d789df1, the option
DISABLE_LLVM_LINK_LLVM_DYLIB is counter-productive and leads to
CommandLine Error: Option 'debug-counter' registered more than once!
Added:
Modified:
llvm/unittests/TableGen/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/TableGen/CMakeLists.txt b/llvm/unittests/TableGen/CMakeLists.txt
index fae0eee06e4b0c..57b237306b19cb 100644
--- a/llvm/unittests/TableGen/CMakeLists.txt
+++ b/llvm/unittests/TableGen/CMakeLists.txt
@@ -9,7 +9,7 @@ tablegen(LLVM AutomataTables.inc -gen-searchable-tables)
tablegen(LLVM AutomataAutomata.inc -gen-automata)
add_public_tablegen_target(AutomataTestTableGen)
-add_llvm_unittest(TableGenTests DISABLE_LLVM_LINK_LLVM_DYLIB
+add_llvm_unittest(TableGenTests
AutomataTest.cpp
CodeExpanderTest.cpp
ParserEntryPointTest.cpp
More information about the llvm-commits
mailing list