summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-16 00:44:12 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-16 00:44:12 +0000
commit51149d558953695f1fd9654496eddf38f0617677 (patch)
tree5da778b91a4bccc68e8e5e8083999bf5a4efa6c4 /llvm/unittests
parentdfc29fba6035a66b4143f185ffc0ecbfeaca33e2 (diff)
downloadbcm5719-llvm-51149d558953695f1fd9654496eddf38f0617677.tar.gz
bcm5719-llvm-51149d558953695f1fd9654496eddf38f0617677.zip
modules: Add explicit dependency on intrinsics_gen
`LLVM_ENABLE_MODULES` builds sometimes fail because `Intrinsics.td` needs to regenerate `Instrinsics.h` before anyone can include anything from the LLVM_IR module. Represent the dependency explicitly to prevent that. llvm-svn: 239796
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ADT/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/CMakeLists.txt b/llvm/unittests/ADT/CMakeLists.txt
index d899852325c..cbcb0848556 100644
--- a/llvm/unittests/ADT/CMakeLists.txt
+++ b/llvm/unittests/ADT/CMakeLists.txt
@@ -46,3 +46,5 @@ set(ADTSources
add_llvm_unittest(ADTTests
${ADTSources}
)
+
+add_dependencies(ADTTests intrinsics_gen)
OpenPOWER on IntegriCloud