[all-commits] [llvm/llvm-project] 187729: [bolt] Clean up lit site cfg files a bit

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Nov 18 09:07:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 187729ce9fdee6ac47aeab2d1860d538f3835776
      https://github.com/llvm/llvm-project/commit/187729ce9fdee6ac47aeab2d1860d538f3835776
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M bolt/test/Unit/lit.site.cfg.py.in
    M bolt/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [bolt] Clean up lit site cfg files a bit

* Stop setting config.python_executable in Unit/lit.site.cfg.py.in.
  All other projects only set this in the main lit config, not in the
  one for unit tests. (Unit tests don't spawn Python.)
* Set config.python_executable to Python3_EXECUTABLE in main
  lit.site.cfg.py.in instead of PYTHON_EXECUTABLE. All other files
  did this in c4c3883b00.
* Stop setting enable_abi_breaking_checks, enable_backtrace, enable_shared.
  Nothing in bolt's tests (or in lit) reads them.

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




More information about the All-commits mailing list