r271579 - clangFrontend: Make intrinsics_gen optional for standalone build.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 2 13:24:08 PDT 2016
Author: chapuni
Date: Thu Jun 2 15:24:07 2016
New Revision: 271579
URL: http://llvm.org/viewvc/llvm-project?rev=271579&view=rev
Log:
clangFrontend: Make intrinsics_gen optional for standalone build.
FIXME: intrinsics_gen may be exported from llvm.
Modified:
cfe/trunk/lib/Frontend/CMakeLists.txt
Modified: cfe/trunk/lib/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CMakeLists.txt?rev=271579&r1=271578&r2=271579&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/Frontend/CMakeLists.txt Thu Jun 2 15:24:07 2016
@@ -7,6 +7,11 @@ set(LLVM_LINK_COMPONENTS
Support
)
+set(optional_deps intrinsics_gen)
+if (CLANG_BUILT_STANDALONE)
+ set(optional_deps)
+endif()
+
add_clang_library(clangFrontend
ASTConsumers.cpp
ASTMerge.cpp
@@ -44,7 +49,7 @@ add_clang_library(clangFrontend
DEPENDS
ClangDriverOptions
- intrinsics_gen
+ ${optional_deps}
LINK_LIBS
clangAST
More information about the cfe-commits
mailing list