We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5885b3 commit 52fcbceCopy full SHA for 52fcbce
mx.graalpython/mx_graalpython.py
@@ -575,7 +575,10 @@ def python_checkcopyrights(args):
575
#
576
# ----------------------------------------------------------------------------------------------------------------------
577
if not os.getenv("GRAAL_PYTHONHOME"):
578
- os.environ["GRAAL_PYTHONHOME"] = os.path.join(_suite.dir, "graalpython")
+ home = os.path.join(_suite.dir, "graalpython")
579
+ if not os.path.exists(home):
580
+ home = [d for d in _suite.dists if d.name == "GRAALPYTHON_GRAALVM_SUPPORT"][0].output
581
+ os.environ["GRAAL_PYTHONHOME"] = home
582
583
584
0 commit comments