From e5cb14cf27aa24eb52de4acb19ca0dd5026d3905 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Sat, 19 Nov 2016 02:12:03 +0000 Subject: [PATCH] [CMake] llc depends on intrinsics_gen llc.cpp has the following include chain: llvm/Analysis/TargetLibraryInfo.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means llc needs to depend on intrinsics_gen. llvm-svn: 287422 --- llvm/tools/llc/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/tools/llc/CMakeLists.txt b/llvm/tools/llc/CMakeLists.txt index 136cf4b..5a98122 100644 --- a/llvm/tools/llc/CMakeLists.txt +++ b/llvm/tools/llc/CMakeLists.txt @@ -19,5 +19,8 @@ set(LLVM_NO_DEAD_STRIP 1) add_llvm_tool(llc llc.cpp + + DEPENDS + intrinsics_gen ) export_executable_symbols(llc) -- 2.7.4