Skip to content

Commit 371040f

Browse files
committed
Expose paths via suite extensions.
1 parent 509fa66 commit 371040f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@
4646
_sulong = mx.suite("sulong")
4747

4848

49+
def _get_core_home():
50+
return os.path.join(_suite.dir, "graalpython", "lib-graalpython")
51+
52+
53+
def _get_stdlib_home():
54+
return os.path.join(_suite.dir, "graalpython", "lib-python", "3")
55+
56+
57+
def _get_svm_binary():
58+
return os.path.join(_suite.dir, "graalpython-svm")
59+
60+
4961
def _extract_graalpython_internal_options(args):
5062
internal = []
5163
non_internal = []

0 commit comments

Comments
 (0)