Skip to content

Commit b7ee5e8

Browse files
Adopt native-image macro changes
1 parent dab01cc commit b7ee5e8

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -926,10 +926,8 @@ def import_python_sources(args):
926926
destination='bin/<exe:graalpython>',
927927
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER'],
928928
main_class='com.oracle.graal.python.shell.GraalPythonMain',
929-
build_args=[
930-
'--language:python',
931-
'--language:llvm',
932-
]
929+
build_args=[],
930+
language='python',
933931
)
934932
],
935933
))

mx.graalpython/native-image.properties

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
# This file contains native-image arguments needed to build graalpython
22
#
33

4-
ImageName = graalpython
5-
6-
Requires = tool:regex language:llvm
7-
8-
LauncherClass = com.oracle.graal.python.shell.GraalPythonMain
9-
LauncherClassPath = lib/graalvm/launcher-common.jar:lib/graalvm/graalpython-launcher.jar
4+
Requires = language:regex language:llvm
105

116
JavaArgs = -Xmx4G -Dpolyglot.engine.PreinitializeContexts=python
127

0 commit comments

Comments
 (0)