[llvm] r287393 - [CMake] LTO depends on intrinsics_gen
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 18 15:03:51 PST 2016
Author: cbieneman
Date: Fri Nov 18 17:03:51 2016
New Revision: 287393
URL: http://llvm.org/viewvc/llvm-project?rev=287393&view=rev
Log:
[CMake] LTO depends on intrinsics_gen
lto.cpp has the following include chain:
llvm/Bitcode/BitcodeReader.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 LTO needs to depend on intrinsics_gen.
Modified:
llvm/trunk/tools/lto/CMakeLists.txt
Modified: llvm/trunk/tools/lto/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/CMakeLists.txt?rev=287393&r1=287392&r2=287393&view=diff
==============================================================================
--- llvm/trunk/tools/lto/CMakeLists.txt (original)
+++ llvm/trunk/tools/lto/CMakeLists.txt Fri Nov 18 17:03:51 2016
@@ -16,7 +16,7 @@ set(SOURCES
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports)
-add_llvm_library(LTO SHARED ${SOURCES})
+add_llvm_library(LTO SHARED ${SOURCES} DEPENDS intrinsics_gen)
install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
DESTINATION include/llvm-c
More information about the llvm-commits
mailing list