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
This commit is contained in:
NAKAMURA Takumi
2013-08-06 06:38:37 +00:00
parent aa0f420567
commit 8e1d64666f
12 changed files with 14 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ add_llvm_target(MSP430CodeGen
MSP430MCInstLower.cpp
)
add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
add_dependencies(LLVMMSP430CodeGen MSP430CommonTableGen intrinsics_gen)
add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo)