Skip to content

Commit d6d01dc

Browse files
committed
Be quiet when fetching graalpy home
1 parent 64e3159 commit d6d01dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,9 @@ def graalpy_standalone_home(standalone_type, enterprise=False, dev=False, build=
861861
mx.run_mx(mx_args + ["build", "--dep", f"PYTHON_{dep_type}_STANDALONE{svm_component}_JAVA{jdk_version.parts[0]}"])
862862

863863
out = mx.OutputCapture()
864-
mx.run_mx(mx_args + ["standalone-home", "--type", standalone_type, "python"], out=out)
864+
# note: 'quiet=True' is important otherwise if the outer MX runs verbose,
865+
# this might fail because of additional output
866+
mx.run_mx(mx_args + ["standalone-home", "--type", standalone_type, "python"], out=out, quiet=True)
865867
python_home = out.data.splitlines()[-1].strip()
866868
return python_home
867869

0 commit comments

Comments
 (0)