[llvm-commits] [llvm] r125173 - in /llvm/trunk: cmake/modules/HandleLLVMOptions.cmake test/lit.site.cfg.in
NAKAMURA Takumi
geek4civic at gmail.com
Tue Feb 8 20:18:58 PST 2011
Author: chapuni
Date: Tue Feb 8 22:18:58 2011
New Revision: 125173
URL: http://llvm.org/viewvc/llvm-project?rev=125173&view=rev
Log:
CMake: Add the new option LLVM_LIT_TOOLS_DIR. It can specify "Path to GnuWin32 tools".
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
llvm/trunk/test/lit.site.cfg.in
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=125173&r1=125172&r2=125173&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Tue Feb 8 22:18:58 2011
@@ -21,6 +21,8 @@
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}"
CACHE STRING "Default options for lit")
+set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+
if( LLVM_ENABLE_ASSERTIONS )
# MSVC doesn't like _DEBUG on release builds. See PR 4379.
if( NOT MSVC )
Modified: llvm/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.site.cfg.in?rev=125173&r1=125172&r2=125173&view=diff
==============================================================================
--- llvm/trunk/test/lit.site.cfg.in (original)
+++ llvm/trunk/test/lit.site.cfg.in Tue Feb 8 22:18:58 2011
@@ -4,6 +4,7 @@
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvmgcc_dir = "@LLVMGCCDIR@"
+config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.python_executable = "@PYTHON_EXECUTABLE@"
config.enable_shared = @ENABLE_SHARED@
More information about the llvm-commits
mailing list