[lit] Try using process pools by default again
authorReid Kleckner <rnk@google.com>
Fri, 7 Apr 2017 15:28:32 +0000 (15:28 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 7 Apr 2017 15:28:32 +0000 (15:28 +0000)
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.

llvm-svn: 299775

llvm/utils/lit/lit/main.py

index f41c1b86e77e9cea66cda1303e6072ee2508e369..689a2d55bcea71efa7315d96141a612eedc9148e 100755 (executable)
@@ -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.")