Skip to content

Commit 2b5e5f1

Browse files
committed
patch host-vm name for graalpy
1 parent 1e42f53 commit 2b5e5f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mx.graalpython/mx_graalpython_python_benchmarks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ def with_host_vm(self, host_vm):
343343
return self.__class__(self.config_name(), self._options, host_vm)
344344

345345
def run(self, cwd, args):
346+
## patch host-vm name
347+
name = self.host_vm.name()
348+
name = name.replace("graalvm-ce-python", "graalvm-ce")
349+
name = name.replace("graalvm-ee-python", "graalvm-ee")
350+
type(host_vm).name = lambda s: name
346351
return self.host_vm().run_launcher("graalpy", self._options + args, cwd)
347352

348353

0 commit comments

Comments
 (0)