[llvm] r287395 - [CMake] llvm-ar depends on intrinsics_gen

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 15:04:27 PST 2016


Author: cbieneman
Date: Fri Nov 18 17:04:27 2016
New Revision: 287395

URL: http://llvm.org/viewvc/llvm-project?rev=287395&view=rev
Log:
[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.

Modified:
    llvm/trunk/tools/llvm-ar/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-ar/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/CMakeLists.txt?rev=287395&r1=287394&r2=287395&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-ar/CMakeLists.txt Fri Nov 18 17:04:27 2016
@@ -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)




More information about the llvm-commits mailing list