Skip to content

Commit 27e869b

Browse files
committed
[GR-60446] Use a built python home for running benchmarks
1 parent 16c70c6 commit 27e869b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def run(self, cwd, args):
397397
if isinstance(self._extra_vm_args, list):
398398
vm_args += self._extra_vm_args
399399
vm_args += [
400-
"-Dorg.graalvm.language.python.home=%s" % join(SUITE.dir, "graalpython"),
400+
"-Dorg.graalvm.language.python.home=%s" % mx.dependency("GRAALPYTHON_GRAALVM_SUPPORT").get_output(),
401401
self.launcher_class(),
402402
]
403403
for a in args[:]:
@@ -998,7 +998,7 @@ def createCommandLineArgs(self, benchmarks, bmSuiteArgs):
998998
dists.append('SULONG_NATIVE')
999999

10001000
vmArgs += [
1001-
"-Dorg.graalvm.language.python.home=%s" % join(SUITE.dir, "graalpython"),
1001+
"-Dorg.graalvm.language.python.home=%s" % mx.dependency("GRAALPYTHON_GRAALVM_SUPPORT").get_output(),
10021002
]
10031003
vmArgs += mx.get_runtime_jvm_args(dists + ['com.oracle.graal.python.benchmarks'], jdk=mx.get_jdk())
10041004
jmh_entry = ["com.oracle.graal.python.benchmarks.parser.ParserBenchRunner"]

0 commit comments

Comments
 (0)