[all-commits] [llvm/llvm-project] 9946b1: [lit] Use os.cpu_count() to cleanup TODO

Julian Lettner via All-commits all-commits at lists.llvm.org
Mon Jan 25 11:48:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9946b169c379daee603436a4753acfef8be373dd
      https://github.com/llvm/llvm-project/commit/9946b169c379daee603436a4753acfef8be373dd
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M llvm/utils/lit/lit/cl_arguments.py
    M llvm/utils/lit/lit/run.py
    M llvm/utils/lit/lit/util.py

  Log Message:
  -----------
  [lit] Use os.cpu_count() to cleanup TODO

We can now use Python3.  Let's use `os.cpu_count()` to cleanup this
helper.

Differential Revision: https://reviews.llvm.org/D94734




More information about the All-commits mailing list