summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-06-23 18:00:32 +0000
committerAndrew Trick <atrick@apple.com>2011-06-23 18:00:32 +0000
commit1b76a7f21b8046536fcdb7728d6975dc93f85834 (patch)
treeb9f2bfaa2c6ee59d3399df95c5cb94b918a667ef /llvm/test
parent4a33d3188c6d8d6f7f6ecd4963fcfd083c2e3325 (diff)
downloadbcm5719-llvm-1b76a7f21b8046536fcdb7728d6975dc93f85834.tar.gz
bcm5719-llvm-1b76a7f21b8046536fcdb7728d6975dc93f85834.zip
cmake+lit: final cleanup related to the recent churn
llvm-svn: 133729
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 2634f79cf28..1fc26a03082 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -71,6 +71,8 @@ if(PYTHONINTERP_FOUND)
MAKE_DIRECTORY(${CMAKE_CURRENT_BINARY_DIR}/Unit)
# Configuration-time: See Unit/lit.site.cfg.in
+ set(LLVM_BUILD_MODE "%(build_mode)s")
+
set(LLVM_SOURCE_DIR ${LLVM_MAIN_SRC_DIR})
set(LLVM_BINARY_DIR ${LLVM_BINARY_DIR})
set(LLVM_TOOLS_DIR "${LLVM_TOOLS_BINARY_DIR}/%(build_config)s")
@@ -85,17 +87,10 @@ if(PYTHONINTERP_FOUND)
set(ENABLE_ASSERTIONS "0")
endif(LLVM_ENABLE_ASSERTIONS)
- # lit.site.cfg uses the config-time build mode
- set(LLVM_BUILD_MODE "${LLVM_BUILD_MODE}")
-
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
@ONLY)
-
- # Unit/lit.site.cfg substitutes the runtime build_mode
- set(LLVM_BUILD_MODE "%(build_mode)s")
-
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
OpenPOWER on IntegriCloud