[all-commits] [llvm/llvm-project] b52820: [lit] Support reading arguments from a file

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed Aug 24 01:02:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b52820edec6f3d95edef7859a56ef30878b08382
      https://github.com/llvm/llvm-project/commit/b52820edec6f3d95edef7859a56ef30878b08382
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M llvm/docs/CommandGuide/lit.rst
    M llvm/utils/lit/lit/cl_arguments.py

  Log Message:
  -----------
  [lit] Support reading arguments from a file

This allows reading arguments from file using the response file syntax.
We would like to use this in the LLVM build to pass test suites from
subbuilds.

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


  Commit: 992e10a3fce41255e4b11782f51d0f4b26dca14d
      https://github.com/llvm/llvm-project/commit/992e10a3fce41255e4b11782f51d0f4b26dca14d
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt
    M runtimes/CMakeLists.txt
    R runtimes/Tests.cmake.in

  Log Message:
  -----------
  [runtimes] Use a response file for runtimes test suites

We don't know which test suites are going to be included by runtimes
builds so we cannot include those before running the sub-build, but
that's not possible during the LLVM build configuration. We instead use
a response file that's populated by the runtimes build as a level of
indirection.

This addresses the issue described in:
https://discourse.llvm.org/t/cmake-regeneration-is-broken/62788

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


Compare: https://github.com/llvm/llvm-project/compare/32c5578bcddf...992e10a3fce4


More information about the All-commits mailing list