[llvm] r313331 - [cmake] Fix a variable shadowing bug
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 14 18:18:46 PDT 2017
Author: rnk
Date: Thu Sep 14 18:18:46 2017
New Revision: 313331
URL: http://llvm.org/viewvc/llvm-project?rev=313331&view=rev
Log:
[cmake] Fix a variable shadowing bug
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=313331&r1=313330&r2=313331&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Thu Sep 14 18:18:46 2017
@@ -1193,6 +1193,7 @@ function(add_lit_target target comment)
list(APPEND LIT_ARGS --param build_mode=${CMAKE_CFG_INTDIR})
endif ()
+ set(suffix "")
if (WIN32 AND NOT CYGWIN)
# llvm-lit needs suffix.py for multiprocess to find a main module.
set(suffix .py)
More information about the llvm-commits
mailing list