[llvm] r197703 - Revert r197682, "[CMake] Introduce LIT in add_lit_target."
NAKAMURA Takumi
geek4civic at gmail.com
Thu Dec 19 09:11:08 PST 2013
Author: chapuni
Date: Thu Dec 19 11:11:08 2013
New Revision: 197703
URL: http://llvm.org/viewvc/llvm-project?rev=197703&view=rev
Log:
Revert r197682, "[CMake] Introduce LIT in add_lit_target."
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=197703&r1=197702&r2=197703&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Thu Dec 19 11:11:08 2013
@@ -322,18 +322,15 @@ endfunction()
# A raw function to create a lit target. This is used to implement the testuite
# management functions.
function(add_lit_target target comment)
- parse_arguments(ARG "LIT;PARAMS;DEPENDS;ARGS" "" ${ARGN})
+ parse_arguments(ARG "PARAMS;DEPENDS;ARGS" "" ${ARGN})
set(LIT_ARGS "${ARG_ARGS} ${LLVM_LIT_ARGS}")
separate_arguments(LIT_ARGS)
if (NOT CMAKE_CFG_INTDIR STREQUAL ".")
list(APPEND LIT_ARGS --param build_mode=${CMAKE_CFG_INTDIR})
endif ()
- if(NOT EXISTS ${ARG_LIT})
- set(ARG_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
- endif()
set(LIT_COMMAND
${PYTHON_EXECUTABLE}
- ${ARG_LIT}
+ ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py
${LIT_ARGS}
)
foreach(param ${ARG_PARAMS})
More information about the llvm-commits
mailing list