llvm.org GIT mirror llvm / 8e1d646
Target/*/CMakeLists.txt: Add the dependency to CommonTableGen explicitly for each corresponding CodeGen. Without explicit dependencies, both per-file action and in-CommonTableGen action could run in parallel. It races to emit *.inc files simultaneously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187780 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 7 years ago
12 changed file(s) with 14 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
2727 AArch64TargetObjectFile.cpp
2828 )
2929
30 add_dependencies(LLVMAArch64CodeGen AArch64CommonTableGen)
31
3032 add_subdirectory(AsmParser)
3133 add_subdirectory(Disassembler)
3234 add_subdirectory(InstPrinter)
4848 Thumb2SizeReduction.cpp
4949 )
5050
51 add_dependencies(LLVMARMCodeGen intrinsics_gen)
51 add_dependencies(LLVMARMCodeGen ARMCommonTableGen intrinsics_gen)
5252
5353 # workaround for hanging compilation on MSVC9, 10
5454 if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
77 tablegen(LLVM HexagonGenSubtargetInfo.inc -gen-subtarget)
88 tablegen(LLVM HexagonGenDFAPacketizer.inc -gen-dfa-packetizer)
99 add_public_tablegen_target(HexagonCommonTableGen)
10
11 set(LLVM_COMMON_DEPENDS intrinsics_gen)
1210
1311 add_llvm_target(HexagonCodeGen
1412 HexagonAsmPrinter.cpp
3735 HexagonCopyToCombine.cpp
3836 )
3937
38 add_dependencies(LLVMHexagonCodeGen HexagonCommonTableGen intrinsics_gen)
39
4040 add_subdirectory(TargetInfo)
4141 add_subdirectory(InstPrinter)
4242 add_subdirectory(MCTargetDesc)
2222 MSP430MCInstLower.cpp
2323 )
2424
25 add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
25 add_dependencies(LLVMMSP430CodeGen MSP430CommonTableGen intrinsics_gen)
2626
2727 add_subdirectory(InstPrinter)
2828 add_subdirectory(TargetInfo)
4747 MipsSelectionDAGInfo.cpp
4848 )
4949
50 add_dependencies(LLVMMipsCodeGen intrinsics_gen)
50 add_dependencies(LLVMMipsCodeGen MipsCommonTableGen intrinsics_gen)
5151
5252 add_subdirectory(InstPrinter)
5353 add_subdirectory(Disassembler)
2828
2929 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
3030
31 add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
31 add_dependencies(LLVMNVPTXCodeGen NVPTXCommonTableGen intrinsics_gen)
3232
3333 add_subdirectory(TargetInfo)
3434 add_subdirectory(InstPrinter)
3333 PPCSelectionDAGInfo.cpp
3434 )
3535
36 add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
36 add_dependencies(LLVMPowerPCCodeGen PowerPCCommonTableGen intrinsics_gen)
3737
3838 add_subdirectory(AsmParser)
3939 add_subdirectory(InstPrinter)
4747 SIRegisterInfo.cpp
4848 )
4949
50 add_dependencies(LLVMR600CodeGen intrinsics_gen)
50 add_dependencies(LLVMR600CodeGen AMDGPUCommonTableGen intrinsics_gen)
5151
5252 add_subdirectory(InstPrinter)
5353 add_subdirectory(TargetInfo)
2121 SparcSelectionDAGInfo.cpp
2222 )
2323
24 add_dependencies(LLVMSparcCodeGen intrinsics_gen)
24 add_dependencies(LLVMSparcCodeGen SparcCommonTableGen intrinsics_gen)
2525
2626 add_subdirectory(TargetInfo)
2727 add_subdirectory(MCTargetDesc)
2727 SystemZTargetMachine.cpp
2828 )
2929
30 add_dependencies(LLVMSystemZCodeGen intrinsics_gen)
30 add_dependencies(LLVMSystemZCodeGen SystemZCommonTableGen intrinsics_gen)
3131
3232 add_subdirectory(AsmParser)
3333 add_subdirectory(Disassembler)
5252
5353 add_llvm_target(X86CodeGen ${sources})
5454
55 add_dependencies(LLVMX86CodeGen intrinsics_gen)
55 add_dependencies(LLVMX86CodeGen X86CommonTableGen intrinsics_gen)
5656
5757 add_subdirectory(AsmParser)
5858 add_subdirectory(Disassembler)
2424 XCoreSelectionDAGInfo.cpp
2525 )
2626
27 add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
27 add_dependencies(LLVMXCoreCodeGen XCoreCommonTableGen intrinsics_gen)
2828
2929 add_subdirectory(Disassembler)
3030 add_subdirectory(InstPrinter)