llvm.org GIT mirror llvm / 92cb3ee
[CMake] NFC. Updating CMake dependency specifications This patch updates a bunch of places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287206 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 3 years ago
22 changed file(s) with 66 addition(s) and 44 deletion(s). Raw diff Collapse all Expand all
8282
8383 ADDITIONAL_HEADER_DIRS
8484 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Analysis
85
86 DEPENDS
87 intrinsics_gen
8588 )
86
87 add_dependencies(LLVMAnalysis intrinsics_gen)
44
55 ADDITIONAL_HEADER_DIRS
66 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Bitcode
7
8 DEPENDS
9 intrinsics_gen
710 )
8
9 add_dependencies(LLVMBitReader intrinsics_gen)
2121 OcamlGCPrinter.cpp
2222 WinException.cpp
2323 CodeViewDebug.cpp
24
25 DEPENDS
26 intrinsics_gen
2427 )
25
26 add_dependencies(LLVMAsmPrinter intrinsics_gen)
146146 ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/PBQP
147147
148148 LINK_LIBS ${PTHREAD_LIB}
149
150 DEPENDS
151 intrinsics_gen
149152 )
150
151 add_dependencies(LLVMCodeGen intrinsics_gen)
152153
153154 add_subdirectory(SelectionDAG)
154155 add_subdirectory(AsmPrinter)
2727 add_llvm_library(LLVMGlobalISel
2828 ${GLOBAL_ISEL_BUILD_FILES}
2929 GlobalISel.cpp
30
31 DEPENDS
32 intrinsics_gen
3033 )
31
32 add_dependencies(LLVMGlobalISel intrinsics_gen)
11 MILexer.cpp
22 MIParser.cpp
33 MIRParser.cpp
4
5 DEPENDS
6 intrinsics_gen
47 )
5
6 add_dependencies(LLVMMIRParser intrinsics_gen)
2222 SelectionDAGTargetInfo.cpp
2323 StatepointLowering.cpp
2424 TargetLowering.cpp
25
26 DEPENDS
27 intrinsics_gen
2528 )
26
27 add_dependencies(LLVMSelectionDAG intrinsics_gen)
99 Execution.cpp
1010 ExternalFunctions.cpp
1111 Interpreter.cpp
12
13 DEPENDS
14 intrinsics_gen
1215 )
1316
1417 if( LLVM_ENABLE_FFI )
1518 target_link_libraries( LLVMInterpreter PRIVATE ${FFI_LIBRARY_PATH} )
1619 endif()
17
18 add_dependencies(LLVMInterpreter intrinsics_gen)
5555
5656 ADDITIONAL_HEADER_DIRS
5757 ${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
58
59 DEPENDS
60 intrinsics_gen
5861 )
59
60 add_dependencies(LLVMCore intrinsics_gen)
5858
5959 ADDITIONAL_HEADER_DIRS
6060 ${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
61
62 DEPENDS
63 intrinsics_gen
6164 )
62
63 add_dependencies(LLVMLTO intrinsics_gen)
22
33 ADDITIONAL_HEADER_DIRS
44 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes
5
6 DEPENDS
7 intrinsics_gen
58 )
6
7 add_dependencies(LLVMPasses intrinsics_gen)
6363 AArch64TargetTransformInfo.cpp
6464 AArch64VectorByElementOpt.cpp
6565 ${GLOBAL_ISEL_BUILD_FILES}
66
67 DEPENDS
68 intrinsics_gen
6669 )
67
68 add_dependencies(LLVMAArch64CodeGen intrinsics_gen)
6970
7071 add_subdirectory(TargetInfo)
7172 add_subdirectory(AsmParser)
2727 AVRSubtarget.cpp
2828 AVRTargetMachine.cpp
2929 AVRTargetObjectFile.cpp
30
31 DEPENDS
32 intrinsics_gen
3033 )
31
32 add_dependencies(LLVMAVRCodeGen intrinsics_gen)
3334
3435 add_subdirectory(AsmParser)
3536 add_subdirectory(Disassembler)
4141 WebAssemblyTargetObjectFile.cpp
4242 WebAssemblyTargetTransformInfo.cpp
4343 WebAssemblyUtilities.cpp
44
45 DEPENDS
46 intrinsics_gen
4447 )
45
46 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
4748
4849 add_subdirectory(Disassembler)
4950 add_subdirectory(InstPrinter)
44 CoroElide.cpp
55 CoroFrame.cpp
66 CoroSplit.cpp
7
8 DEPENDS
9 intrinsics_gen
710 )
8
9 add_dependencies(LLVMCoroutines intrinsics_gen)
3232 ADDITIONAL_HEADER_DIRS
3333 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
3434 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/IPO
35
36 DEPENDS
37 intrinsics_gen
3538 )
36
37 add_dependencies(LLVMipo intrinsics_gen)
1515 ADDITIONAL_HEADER_DIRS
1616 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
1717 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/InstCombine
18
19 DEPENDS
20 intrinsics_gen
1821 )
19
20 add_dependencies(LLVMInstCombine intrinsics_gen)
1313
1414 ADDITIONAL_HEADER_DIRS
1515 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
16
17 DEPENDS
18 intrinsics_gen
1619 )
17
18 add_dependencies(LLVMInstrumentation intrinsics_gen)
1010
1111 ADDITIONAL_HEADER_DIRS
1212 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
13
14 DEPENDS
15 intrinsics_gen
1316 )
14
15 add_dependencies(LLVMObjCARCOpts intrinsics_gen)
5858 ADDITIONAL_HEADER_DIRS
5959 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
6060 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar
61
62 DEPENDS
63 intrinsics_gen
6164 )
62
63 add_dependencies(LLVMScalarOpts intrinsics_gen)
5353 ADDITIONAL_HEADER_DIRS
5454 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
5555 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Utils
56
57 DEPENDS
58 intrinsics_gen
5659 )
57
58 add_dependencies(LLVMTransformUtils intrinsics_gen)
66
77 ADDITIONAL_HEADER_DIRS
88 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
9
10 DEPENDS
11 intrinsics_gen
912 )
10
11 add_dependencies(LLVMVectorize intrinsics_gen)