[PATCH] D97098: [Utils] Add an option to specify number of cores to use in creduce-clang-crash.py

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 12:19:51 PST 2021


thakis added a comment.

In D97098#2579620 <https://reviews.llvm.org/D97098#2579620>, @zequanwu wrote:

> Address comment, using `max(4, multiprocessing.cpu_count() / 2)` because `os.cpu_count` is not available in python2.

We require py3 these days, so it's ok to assume it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97098/new/

https://reviews.llvm.org/D97098



More information about the cfe-commits mailing list