summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-08-06 06:38:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-08-06 06:38:37 +0000
commitaaf66c73570447c23114cecf01f21705815f5ccd (patch)
treeb08923ca40477586d68f564d69767326abde8ee8 /llvm/lib/Target/Sparc
parent9bc00b65b6187136ca8af14af6e0ec021f1fdd3b (diff)
downloadbcm5719-llvm-aaf66c73570447c23114cecf01f21705815f5ccd.tar.gz
bcm5719-llvm-aaf66c73570447c23114cecf01f21705815f5ccd.zip
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. llvm-svn: 187780
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/CMakeLists.txt b/llvm/lib/Target/Sparc/CMakeLists.txt
index 0ab7a1c88e0..acf74965581 100644
--- a/llvm/lib/Target/Sparc/CMakeLists.txt
+++ b/llvm/lib/Target/Sparc/CMakeLists.txt
@@ -22,7 +22,7 @@ add_llvm_target(SparcCodeGen
SparcSelectionDAGInfo.cpp
)
-add_dependencies(LLVMSparcCodeGen intrinsics_gen)
+add_dependencies(LLVMSparcCodeGen SparcCommonTableGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)
OpenPOWER on IntegriCloud