Skip to content

Commit e16fb35

Browse files
committed
Fix classpath for embedded benchmarks
1 parent ea36e67 commit e16fb35

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,13 @@ def run(self, cwd, args):
374374
host_vm = self.host_vm()
375375
cp = self.get_classpath()
376376
jhm = mx.dependency("mx:JMH_1_21")
377-
cp_deps = [
377+
cp_deps = mx.classpath_entries(filter(None, [
378378
mx.distribution('GRAALPYTHON_BENCH', fatalIfMissing=True),
379+
mx.distribution('TRUFFLE_RUNTIME', fatalIfMissing=True),
380+
mx.distribution('TRUFFLE_ENTERPRISE', fatalIfMissing=False),
379381
jhm,
380382
mx.dependency("sdk:LAUNCHER_COMMON")
381-
] + jhm.deps
383+
] + jhm.deps))
382384
cp += [x.classpath_repr() for x in cp_deps]
383385
java_args = ['-cp', ':'.join(cp)] + [self.launcher_class()]
384386
out = mx.TeeOutputCapture(mx.OutputCapture())

0 commit comments

Comments
 (0)