]> granicus.if.org Git - llvm/commitdiff
Revert r274270, "[CMake] Module builds depend on target intrinsics_gen to be built...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 19 Jul 2017 10:47:38 +0000 (10:47 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 19 Jul 2017 10:47:38 +0000 (10:47 +0000)
I think modulemap is sufficient for intrinsics_gen in trunk. I won't find any issues around that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308434 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 61ecfdf970d09096fbb9c4d74e82fad3b5cc2568..70bc63d99395ec6426ba746e05505a3a17916869 100644 (file)
@@ -843,15 +843,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)