Skip to content

Commit 253d83a

Browse files
committed
add python home to pyjava interop bench cmd
1 parent 34d2416 commit 253d83a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ def createCommandLineArgs(self, benchmarks, bmSuiteArgs):
560560
if mx.suite("sulong-managed", fatalIfMissing=False):
561561
dists.append('SULONG_MANAGED')
562562

563+
vmArgs += [
564+
"-Dorg.graalvm.language.python.home=%s" % join(SUITE.dir, "graalpython"),
565+
]
563566
vmArgs += mx.get_runtime_jvm_args(dists + ['com.oracle.graal.python.benchmarks'], jdk=mx.get_jdk())
564567
jmh_entry = ["com.oracle.graal.python.benchmarks.interop.BenchRunner"]
565568
runArgs = self.runArgs(bmSuiteArgs)

0 commit comments

Comments
 (0)