Skip to content

Commit 3c93afe

Browse files
committed
Read GRAAL_VERSION from the graalpython suite
1 parent 88faf50 commit 3c93afe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ def get_boolean_env(name, default=False):
9797

9898
SUITE = mx.suite('graalpython')
9999
SUITE_COMPILER = mx.suite("compiler", fatalIfMissing=False)
100-
SUITE_TRUFFLE = mx.suite("truffle")
101100

102-
GRAAL_VERSION = SUITE_TRUFFLE.suiteDict['version']
101+
GRAAL_VERSION = SUITE.suiteDict['version']
103102
GRAAL_VERSION_MAJ_MIN = ".".join(GRAAL_VERSION.split(".")[:2])
104103
PYTHON_VERSION = SUITE.suiteDict[f'{SUITE.name}:pythonVersion']
105104
PYTHON_VERSION_MAJ_MIN = ".".join(PYTHON_VERSION.split('.')[:2])

0 commit comments

Comments
 (0)