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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 7 15:44:07 PDT 2017


For what it is worth, I got exactly the same failures on freebsd
before and after this.

Cheers,
Rafael

On 7 April 2017 at 11:28, Reid Kleckner via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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.")
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list