summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-11-18 23:04:27 +0000
committerChris Bieneman <beanz@apple.com>2016-11-18 23:04:27 +0000
commit13c963916fa48b94fa5b645ed0ce5cb01753426f (patch)
treeb46a61574c6c372c1bde4a3df3452ef5d5992748 /llvm/tools
parent8e47604975b144366800be202c46eef28d1bddcd (diff)
downloadbcm5719-llvm-13c963916fa48b94fa5b645ed0ce5cb01753426f.tar.gz
bcm5719-llvm-13c963916fa48b94fa5b645ed0ce5cb01753426f.zip
[CMake] llvm-ar depends on intrinsics_gen
llvm-ar.cpp has the following include chain: llvm/IR/Module.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means llvm-ar needs to depend on intrinsics_gen. llvm-svn: 287395
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-ar/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-ar/CMakeLists.txt b/llvm/tools/llvm-ar/CMakeLists.txt
index 86233dfce9a..3bb0c8f7b7c 100644
--- a/llvm/tools/llvm-ar/CMakeLists.txt
+++ b/llvm/tools/llvm-ar/CMakeLists.txt
@@ -8,6 +8,9 @@ set(LLVM_LINK_COMPONENTS
add_llvm_tool(llvm-ar
llvm-ar.cpp
+
+ DEPENDS
+ intrinsics_gen
)
add_llvm_tool_symlink(llvm-ranlib llvm-ar)
OpenPOWER on IntegriCloud