Skip to content

Commit

Permalink
putting jargraal on the --upgrade-module-path now also needs graal-na…
Browse files Browse the repository at this point in the history
…tiveimage.jar
  • Loading branch information
dougxc committed Jan 6, 2025
1 parent d4916d2 commit 52e529a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions truffle/mx.truffle/mx_truffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,14 @@ def _sl_jvm_comiler_on_upgrade_module_path_gate_tests(jdk):
# Ignore tests for Truffle LTS gate using GraalVM as a base JDK
mx.log(f'Ignoring SL JVM Optimized with Compiler on Upgrade Module Path on {jdk.home} because JDK is GraalVM')
return
compiler = mx.distribution('compiler:GRAAL')
compiler_cp = os.pathsep.join((mx.distribution(name).classpath_repr() for name in (
'compiler:GRAAL',
'compiler:GRAAL_NATIVEIMAGE'
)))
vm_args = [
'-XX:+UnlockExperimentalVMOptions',
'-XX:+EnableJVMCI',
f'--upgrade-module-path={compiler.classpath_repr()}',
f'--upgrade-module-path={compiler_cp}',
]

def run_jvm_optimized(test_file):
Expand Down

0 comments on commit 52e529a

Please sign in to comment.