[zorg] r318762 - OpenMPBuilder: Remove duplicate quotes

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 06:21:47 PST 2017


Author: hahnfeld
Date: Tue Nov 21 06:21:47 2017
New Revision: 318762

URL: http://llvm.org/viewvc/llvm-project?rev=318762&view=rev
Log:
OpenMPBuilder: Remove duplicate quotes

These are needed on the shell when manually invoking CMake. Here,
the Configure() command will take care of escaping whitespace and
so the quotes are duplicate and are passed to lit:

   error: argument -v/--verbose: ignored explicit argument

Modified:
    zorg/trunk/zorg/buildbot/builders/OpenMPBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/OpenMPBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/OpenMPBuilder.py?rev=318762&r1=318761&r2=318762&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/OpenMPBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/OpenMPBuilder.py Tue Nov 21 06:21:47 2017
@@ -123,9 +123,9 @@ def getOpenMPCMakeBuildFactory(
 
     if test:
         lit_args = '-v --show-unsupported --show-xfail -j %s' % jobs
-        cmake_args += [WithProperties('-DLIBOMP_LIT_ARGS="%s"' % lit_args)]
+        cmake_args += [WithProperties('-DLIBOMP_LIT_ARGS=%s' % lit_args)]
         if test_libomptarget:
-            cmake_args += [WithProperties('-DLIBOMPTARGET_LIT_ARGS="%s"' % lit_args)]
+            cmake_args += [WithProperties('-DLIBOMPTARGET_LIT_ARGS=%s' % lit_args)]
 
     f.addStep(
         Configure(




More information about the llvm-commits mailing list