[compiler-rt] 30bc042 - [compiler-rt][test] Use configured Python for lit page-size probe (#209175)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 22:50:32 PDT 2026
Author: maflcko
Date: 2026-07-17T07:50:28+02:00
New Revision: 30bc042395a6cf0aa1e5de4fcc625d5b8c611767
URL: https://github.com/llvm/llvm-project/commit/30bc042395a6cf0aa1e5de4fcc625d5b8c611767
DIFF: https://github.com/llvm/llvm-project/commit/30bc042395a6cf0aa1e5de4fcc625d5b8c611767.diff
LOG: [compiler-rt][test] Use configured Python for lit page-size probe (#209175)
Use the same Python executable configured for the test suite, rather
than relying on python3 being on PATH.
Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_ at 721217.xyz>
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 20c1b872bb14b..c038b57f9e982 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -970,7 +970,7 @@ def target_page_size():
return 4096
try:
proc = subprocess.Popen(
- f"{emulator or ''} python3",
+ f"{emulator or ''} {shlex.quote(config.python_executable)}",
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
More information about the llvm-commits
mailing list