[llvm] r299775 - [lit] Try using process pools by default again

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 7 08:28:32 PDT 2017


Author: rnk
Date: Fri Apr  7 10:28:32 2017
New Revision: 299775

URL: http://llvm.org/viewvc/llvm-project?rev=299775&view=rev
Log:
[lit] Try using process pools by default again

Both pickling errors encountered on clang bots and Darwin compiler-rt
should now be fixed.

This has no impact on testing time on Linux, and on Windows goes from
88s to 63s for 'check'. The tests pass on Mac, but I haven't compared
execution time.

Modified:
    llvm/trunk/utils/lit/lit/main.py

Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=299775&r1=299774&r2=299775&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Fri Apr  7 10:28:32 2017
@@ -302,7 +302,7 @@ def main_with_tmp(builtinParameters):
         opts.numThreads = lit.util.detectCPUs()
 
     if opts.executionStrategy is None:
-        opts.executionStrategy = 'PROCESSES'
+        opts.executionStrategy = 'PROCESS_POOL'
 
     if opts.maxFailures == 0:
         parser.error("Setting --max-failures to 0 does not have any effect.")




More information about the llvm-commits mailing list