[llvm] r232676 - Revert "Generate targets for each lit suite."
Chris Bieneman
beanz at apple.com
Wed Mar 18 14:53:29 PDT 2015
Author: cbieneman
Date: Wed Mar 18 16:53:29 2015
New Revision: 232676
URL: http://llvm.org/viewvc/llvm-project?rev=232676&view=rev
Log:
Revert "Generate targets for each lit suite."
This change broke Polly. I'll track down the failure when I have a chance and re-apply the change.
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=232676&r1=232675&r2=232676&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Wed Mar 18 16:53:29 2015
@@ -641,11 +641,6 @@ if( LLVM_INCLUDE_TESTS )
DEPENDS ${LLVM_LIT_DEPENDS}
ARGS ${LLVM_LIT_EXTRA_ARGS}
)
-
- add_lit_testsuites(LLVM ${CMAKE_SOURCE_DIR}/test
- PARAMS ${LLVM_LIT_PARAMS}
- DEPENDS ${LLVM_LIT_DEPENDS}
- ARGS ${LLVM_LIT_EXTRA_ARGS})
endif()
if (LLVM_INCLUDE_DOCS)
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=232676&r1=232675&r2=232676&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Wed Mar 18 16:53:29 2015
@@ -786,26 +786,3 @@ function(add_lit_testsuite target commen
ARGS ${ARG_ARGS}
)
endfunction()
-
-function(add_lit_testsuites project directory)
- if (NOT CMAKE_CONFIGURATION_TYPES)
- parse_arguments(ARG "PARAMS;DEPENDS;ARGS" "" ${ARGN})
- file(GLOB_RECURSE litCfg ${directory}/lit*.cfg)
- foreach(f ${litCfg})
- get_filename_component(dir ${f} DIRECTORY)
- string(REPLACE ${directory} "" name_slash ${dir})
- if (name_slash)
- string(REPLACE "/" "-" name_slash ${name_slash})
- string(REPLACE "\\" "-" name_dashes ${name_slash})
- string(TOLOWER "${project}${name_dashes}" name_var)
- set(lit_args ${ARG_ARGS} ${dir})
- add_lit_target("check-${name_var}" "Running lit suite ${dir}"
- ${dir}
- PARAMS ${ARG_PARAMS}
- DEPENDS ${ARG_DEPENDS}
- ARGS ${lit_args}
- )
- endif()
- endforeach()
- endif()
-endfunction()
More information about the llvm-commits
mailing list