summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-11-18 23:31:14 +0000
committerChris Bieneman <beanz@apple.com>2016-11-18 23:31:14 +0000
commit7ce3edcf7d1a10b15b18bd58a21776ab527e5c28 (patch)
tree1f9dfcd565f2667c77c9f38909f26e7763a363cb /tools
parent1d9b04d9b45f84c7a718950c8c387de7a5335357 (diff)
[CMake] clang-offload-bundler depends on intrinsics_gen
ClangOffloadBundler.cpp has the following include chain: llvm/Bitcode/BitcodeWriter.h llvm/IR/ModuleSummaryIndex.h llvm/IR/Module.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means clang-offload-bundler needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/clang-offload-bundler/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/clang-offload-bundler/CMakeLists.txt b/tools/clang-offload-bundler/CMakeLists.txt
index 90404fe6d3..d585406a42 100644
--- a/tools/clang-offload-bundler/CMakeLists.txt
+++ b/tools/clang-offload-bundler/CMakeLists.txt
@@ -2,6 +2,9 @@ set(LLVM_LINK_COMPONENTS BitWriter Core Object Support)
add_clang_executable(clang-offload-bundler
ClangOffloadBundler.cpp
+
+ DEPENDS
+ intrinsics_gen
)
set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS