[lld] r314759 - lldCommon depends on intrinsics_gen, due to llvm/CodeGen/CommandFlags.h
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 21:18:46 PDT 2017
Author: chapuni
Date: Mon Oct 2 21:18:46 2017
New Revision: 314759
URL: http://llvm.org/viewvc/llvm-project?rev=314759&view=rev
Log:
lldCommon depends on intrinsics_gen, due to llvm/CodeGen/CommandFlags.h
Modified:
lld/trunk/Common/CMakeLists.txt
Modified: lld/trunk/Common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Common/CMakeLists.txt?rev=314759&r1=314758&r2=314759&view=diff
==============================================================================
--- lld/trunk/Common/CMakeLists.txt (original)
+++ lld/trunk/Common/CMakeLists.txt Mon Oct 2 21:18:46 2017
@@ -1,3 +1,7 @@
+if(NOT LLD_BUILT_STANDALONE)
+ set(tablegen_deps intrinsics_gen)
+endif()
+
add_lld_library(lldCommon
Reproduce.cpp
TargetOptionsCommandFlags.cpp
@@ -12,4 +16,7 @@ add_lld_library(lldCommon
Option
Support
Target
+
+ DEPENDS
+ ${tablegen_deps}
)
More information about the llvm-commits
mailing list