[llvm-commits] [llvm] r79144 - in /llvm/trunk: CMakeLists.txt cmake/modules/AddLLVM.cmake
Benjamin Kramer
benny.kra at googlemail.com
Sat Aug 15 14:57:01 PDT 2009
Author: d0k
Date: Sat Aug 15 16:57:01 2009
New Revision: 79144
URL: http://llvm.org/viewvc/llvm-project?rev=79144&view=rev
Log:
Revert 78996. It was breaking MSVC builds.
Modified:
llvm/trunk/CMakeLists.txt
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=79144&r1=79143&r2=79144&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Sat Aug 15 16:57:01 2009
@@ -266,7 +266,6 @@
set(LLVM_ENUM_ASM_PARSERS "")
foreach(t ${LLVM_TARGETS_TO_BUILD})
message(STATUS "Targeting ${t}")
- set(CURRENT_LLVM_TARGET ${t})
add_subdirectory(lib/Target/${t})
add_subdirectory(lib/Target/${t}/TargetInfo)
if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt )
@@ -279,7 +278,6 @@
set(LLVM_ENUM_ASM_PARSERS
"${LLVM_ENUM_ASM_PARSERS}LLVM_ASM_PARSER(${t})\n")
endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmParser/CMakeLists.txt )
- set(CURRENT_LLVM_TARGET)
endforeach(t)
# Produce llvm/Config/AsmPrinters.def
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=79144&r1=79143&r2=79144&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Aug 15 16:57:01 2009
@@ -12,13 +12,6 @@
install(TARGETS ${name}
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
- # The LLVM Target library shall be built before its sublibraries
- # (asmprinter, etc) because those may use tablegenned files which
- # generation is triggered by the main LLVM target library. Necessary
- # for parallel builds:
- if( CURRENT_LLVM_TARGET )
- add_dependencies(${name} LLVM${CURRENT_LLVM_TARGET})
- endif()
endmacro(add_llvm_library name)
More information about the llvm-commits
mailing list