Skip to content

Commit e84902f

Browse files
Adopt native-image macro changes
1 parent 64c8101 commit e84902f

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
@@ -859,10 +859,8 @@ def import_python_sources(args):
859859
destination='bin/<exe:graalpython>',
860860
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER'],
861861
main_class='com.oracle.graal.python.shell.GraalPythonMain',
862-
build_args=[
863-
'--language:python',
864-
'--language:llvm',
865-
]
862+
build_args=[],
863+
language='python',
866864
)
867865
],
868866
))

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)