Skip to content

Commit 64b8ba9

Browse files
committed
[GR-76801] Fix building a GraalVM enterprise JDK when the sibling suite is not called graal-enterprise.
1 parent 82a1db4 commit 64b8ba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ def graalvm_jdk(enterprise=False):
12801280

12811281
jdk_major_version = mx.get_jdk().version.parts[0]
12821282
if enterprise:
1283-
mx_args = ['-p', os.path.join(mx.suite('truffle').dir, '..', '..', 'graal-enterprise', 'vm-enterprise'), '--env', 'ee']
1283+
mx_args = ['-p', str(next(Path(mx.suite('truffle').dir).resolve().parent.parent.glob('*/vm-enterprise'))), '--env', 'ee']
12841284
edition = ""
12851285
else:
12861286
mx_args = ['-p', os.path.join(mx.suite('truffle').dir, '..', 'vm'), '--env', 'ce']

0 commit comments

Comments
 (0)