[all-commits] [llvm/llvm-project] 782147: [CMake][LIT] Add option to run lit testsuites in p...

Patrick Dougherty via All-commits all-commits at lists.llvm.org
Wed Feb 28 10:53:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 782147e82ab3e2d0e22f729ea4e54eeed7b3cb96
      https://github.com/llvm/llvm-project/commit/782147e82ab3e2d0e22f729ea4e54eeed7b3cb96
  Author: Patrick Dougherty <patrick.dougherty.0208 at gmail.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/docs/CMake.rst

  Log Message:
  -----------
  [CMake][LIT] Add option to run lit testsuites in parallel (#82899)

Currently `add_lit_target` sets the `USES_TERMINAL` CMake option. When
using Ninja, this forces all lit testsuite targets into the
single-threaded `console` pool.

This PR adds a new option `LLVM_PARALLEL_LIT` which drops the
`USES_TERMINAL` flag, allowing Ninja to run them in parallel.

The default setting (`LLVM_PARALLEL_LIT=OFF`) retains the existing
behavior of serial testsuite execution.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list