[all-commits] [llvm/llvm-project] b62488: [lldb] make lit use the same PYTHONHOME for buildi...

Charles Zablit via All-commits all-commits at lists.llvm.org
Mon Jun 9 02:21:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b62488f8326c61fad05d4cd7c88e6e940d8929a4
      https://github.com/llvm/llvm-project/commit/b62488f8326c61fad05d4cd7c88e6e940d8929a4
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M compiler-rt/test/lit.common.configured.in
    M lldb/test/Shell/lit.cfg.py
    M lldb/test/Shell/lit.site.cfg.py.in
    M lldb/test/Unit/lit.cfg.py
    M lldb/test/Unit/lit.site.cfg.py.in

  Log Message:
  -----------
  [lldb] make lit use the same PYTHONHOME for building and testing (#143183)

When testing LLDB, we want to make sure to use the same Python as the
one we used to build it.

This patch used the CMake variable `Python3_ROOT_DIR` to set the
`PYTHONHOME` env variable in LLDB lit tests, in order to ensure of this.

Please see https://github.com/swiftlang/swift/pull/82063 for the
original issue.



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