Skip to content

Commit dd0599c

Browse files
committed
Use standalone for delvewheel in junit job as well
1 parent 401ed43 commit dd0599c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,9 @@ def get_path_with_patchelf(graalpy=None):
823823
venv = Path(SUITE.get_output_root()).absolute() / "delvewheel-venv"
824824
path += os.pathsep + str(venv / "Scripts")
825825
if not shutil.which("delvewheel", path=path):
826-
if sys.version_info < (3, 12) and graalpy:
826+
if sys.version_info < (3, 12):
827+
if graalpy is None:
828+
graalpy = graalpy_standalone_jvm()
827829
venv_python = [graalpy, "-X", "jit=0"]
828830
else:
829831
venv_python = [sys.executable]

0 commit comments

Comments
 (0)