Skip to content

Commit 40bd64c

Browse files
eregonansalond
authored andcommitted
[GR-65661] Disable the polyglot version check for GraalVM 21
* It incorrectly does not allow polyglot version 26.0.0-dev.
1 parent 1ec3a06 commit 40bd64c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/mx.sdk/mx_sdk_vm_ng.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ def get_build_args(self):
424424
experimental_build_args.append('-H:+VerifyRuntimeCompilationFrameStates')
425425
build_args = []
426426

427+
# GR-65661: we need to disable the check in GraalVM for 21 as it does not allow polyglot version 26.0.0-dev
428+
if get_bootstrap_graalvm_version() < mx.VersionSpec("25"):
429+
build_args += ['-Dpolyglotimpl.DisableVersionChecks=true']
430+
427431
canonical_name = self.subject.base_file_name()
428432
profiles = mx_sdk_vm_impl._image_profiles(canonical_name)
429433
if profiles:

0 commit comments

Comments
 (0)