[llvm] r201787 - [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Feb 20 05:42:30 PST 2014
Author: chapuni
Date: Thu Feb 20 07:42:30 2014
New Revision: 201787
URL: http://llvm.org/viewvc/llvm-project?rev=201787&view=rev
Log:
[CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.
add_public_tablegen_target is used somewhere.
Modified:
llvm/trunk/cmake/modules/TableGen.cmake
llvm/trunk/lib/Target/CMakeLists.txt
Modified: llvm/trunk/cmake/modules/TableGen.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/TableGen.cmake?rev=201787&r1=201786&r2=201787&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake (original)
+++ llvm/trunk/cmake/modules/TableGen.cmake Thu Feb 20 07:42:30 2014
@@ -65,7 +65,7 @@ macro(add_public_tablegen_target target)
add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
endif ()
set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
- list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen)
+ list(APPEND LLVM_COMMON_DEPENDS ${target})
endif( TABLEGEN_OUTPUT )
endmacro()
Modified: llvm/trunk/lib/Target/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CMakeLists.txt?rev=201787&r1=201786&r2=201787&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/CMakeLists.txt Thu Feb 20 07:42:30 2014
@@ -9,6 +9,8 @@ add_llvm_library(LLVMTarget
TargetSubtargetInfo.cpp
)
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
foreach(t ${LLVM_TARGETS_TO_BUILD})
message(STATUS "Targeting ${t}")
add_subdirectory(${t})
More information about the llvm-commits
mailing list