[llvm] r308844 - [Modules] Rework r274270. Let Clang targets depend on intrinsics_gen.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 22 22:09:44 PDT 2017
Author: chapuni
Date: Sat Jul 22 22:09:44 2017
New Revision: 308844
URL: http://llvm.org/viewvc/llvm-project?rev=308844&view=rev
Log:
[Modules] Rework r274270. Let Clang targets depend on intrinsics_gen.
This gets rid of almost LLVM targets unconditionally depending on intrinsic_gen.
Clang's modules still have weird dependencies and hard to remove intrinsics_gen in better way.
Then, it'd be better to give whole clang targets depend on intrinsic_gen.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=308844&r1=308843&r2=308844&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Sat Jul 22 22:09:44 2017
@@ -845,15 +845,6 @@ add_subdirectory(lib/TableGen)
add_subdirectory(utils/TableGen)
-# Force target to be built as soon as possible. Clang modules builds depend
-# header-wise on it as they ship all headers from the umbrella folders. Building
-# an entire module might include header, which depends on intrinsics_gen. This
-# should be right after LLVMSupport and LLVMTableGen otherwise we introduce a
-# circular dependence.
-if (LLVM_ENABLE_MODULES)
- list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
-endif(LLVM_ENABLE_MODULES)
-
add_subdirectory(include/llvm)
add_subdirectory(lib)
More information about the llvm-commits
mailing list