summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-03-18 21:53:29 +0000
committerChris Bieneman <beanz@apple.com>2015-03-18 21:53:29 +0000
commit244bbf8bcb7e1aeb940c695fbe3e98678ddb21fe (patch)
treec1cfe15fae52d466f29d7975f77f3111b95e937d /llvm/cmake/modules
parent948bd5e2316e647f83c30a0016c3749cb72eb0df (diff)
downloadbcm5719-llvm-244bbf8bcb7e1aeb940c695fbe3e98678ddb21fe.tar.gz
bcm5719-llvm-244bbf8bcb7e1aeb940c695fbe3e98678ddb21fe.zip
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. llvm-svn: 232676
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 165b8c7cbe3..83897935e27 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -786,26 +786,3 @@ function(add_lit_testsuite target comment)
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()
OpenPOWER on IntegriCloud