[llvm] 30b4351 - cmake: add missing dependencies on Attributes.inc
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 15:36:09 PDT 2023
Author: Jon Roelofs
Date: 2023-05-08T15:35:57-07:00
New Revision: 30b4351c7c75296dc60fc887212cdc98e85e9996
URL: https://github.com/llvm/llvm-project/commit/30b4351c7c75296dc60fc887212cdc98e85e9996
DIFF: https://github.com/llvm/llvm-project/commit/30b4351c7c75296dc60fc887212cdc98e85e9996.diff
LOG: cmake: add missing dependencies on Attributes.inc
Differential revision: https://reviews.llvm.org/D150144
Added:
Modified:
llvm/unittests/Analysis/CMakeLists.txt
llvm/utils/TableGen/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/Analysis/CMakeLists.txt b/llvm/unittests/Analysis/CMakeLists.txt
index c21ad3afa18a3..847430bf17697 100644
--- a/llvm/unittests/Analysis/CMakeLists.txt
+++ b/llvm/unittests/Analysis/CMakeLists.txt
@@ -64,6 +64,8 @@ add_llvm_unittest_with_input_files(AnalysisTests
${ANALYSIS_TEST_SOURCES}
)
+add_dependencies(AnalysisTests intrinsics_gen)
+
target_link_libraries(AnalysisTests PRIVATE LLVMTestingSupport)
# On AIX, enable run-time linking to allow symbols from the plugins shared
diff --git a/llvm/utils/TableGen/CMakeLists.txt b/llvm/utils/TableGen/CMakeLists.txt
index 7bdc33d115cc0..880188bd0030f 100644
--- a/llvm/utils/TableGen/CMakeLists.txt
+++ b/llvm/utils/TableGen/CMakeLists.txt
@@ -86,6 +86,9 @@ add_tablegen(llvm-tblgen LLVM
X86RecognizableInstr.cpp
WebAssemblyDisassemblerEmitter.cpp
$<TARGET_OBJECTS:obj.LLVMTableGenCommon>
+
+ DEPENDS
+ intrinsics_gen # via llvm-min-tablegen
)
target_link_libraries(llvm-tblgen PRIVATE LLVMTableGenGlobalISel)
set_target_properties(llvm-tblgen PROPERTIES FOLDER "Tablegenning")
More information about the llvm-commits
mailing list