[zorg] r261610 - Commit based on http://reviews.llvm.org/17494.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 20:15:34 PST 2016
Author: gkistanova
Date: Mon Feb 22 22:15:34 2016
New Revision: 261610
URL: http://llvm.org/viewvc/llvm-project?rev=261610&view=rev
Log:
Commit based on http://reviews.llvm.org/17494.
Patch by Mike Edwards.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py?rev=261610&r1=261609&r2=261610&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangAndLLDBuilder.py Mon Feb 22 22:15:34 2016
@@ -109,7 +109,8 @@ def getClangAndLLDBuildFactory(
lit_args = ["-v"]
if extraLitArgs:
lit_args += extraLitArgs
- lit_args_str = "-DLLVM_LIT_ARGS=\"%s\"" % (" ".join(lit_args))
+
+ lit_args = ["-DLLVM_LIT_ARGS=\"%s\"" % " ".join(lit_args)]
cmakeCommand = [
"cmake",
@@ -122,12 +123,11 @@ def getClangAndLLDBuildFactory(
"-DCMAKE_CXX_COMPILER=clang++"
]
if triple:
- cmakeCommand += [
- "-DLLVM_DEFAULT_TARGET_TRIPLE=%s" % triple
- ]
+ cmakeCommand += ["-DLLVM_DEFAULT_TARGET_TRIPLE=%s" % triple]
if extraCmakeOptions:
- assert not any(a.startswith('-DLLVM_LIT_ARGS=') for a in extraCmakeOptions), "Please use extraLitArgs for LIT arguments instead of defining them in extraCmakeOptions."
+ assert not any(a.startswith('-DLLVM_LIT_ARGS=') for a in extraCmakeOptions), \
+ "Please use extraLitArgs for LIT arguments instead of defining them in extraCmakeOptions."
cmakeCommand += extraCmakeOptions
if not isMSVC:
@@ -135,9 +135,9 @@ def getClangAndLLDBuildFactory(
"-DCMAKE_C_FLAGS=\"%s\"" % (" ".join(options)),
"-DCMAKE_CXX_FLAGS=\"-std=c++11 %s\"" % (" ".join(options)),
]
- cmakeCommand += lit_args_str
+ cmakeCommand += lit_args
cmakeCommand += [
- "-G", "Ninja",
+ "-GNinja",
"../%s" % llvm_srcdir
]
More information about the llvm-commits
mailing list