File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2036,12 +2036,16 @@ def bytecode_dsl_build_args():
20362036 '-J-Xms14g' , # GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
20372037 '-H:+DetectUserDirectoriesInImageHeap' ,
20382038 '-H:-CopyLanguageResources' ,
2039+ # Uncomment to disable JLine FFM provider at native image build time
2040+ # '-Dorg.graalvm.shadowed.org.jline.terminal.ffm.disable=true',
2041+ '--enable-native-access=org.graalvm.shadowed.jline' ,
20392042 '-Dpolyglot.python.PosixModuleBackend=native' ,
20402043 '-Dpolyglot.python.Sha3ModuleBackend=native' ,
20412044 ] + bytecode_dsl_build_args (),
20422045 language = 'python' ,
20432046 default_vm_args = [
20442047 '--vm.Xss16777216' , # request 16M of stack
2048+ '--vm.-enable-native-access=org.graalvm.shadowed.jline' ,
20452049 ],
20462050 ),
20472051 ],
Original file line number Diff line number Diff line change 823823 "liblang_relpath" : "../lib/<lib:pythonvm>" ,
824824 "default_vm_args" : [
825825 "--vm.Xss16777216" , # request 16M of stack
826+ '--vm.-enable-native-access=org.graalvm.shadowed.jline' ,
826827 ],
827828 },
828829
845846 "-Dorg.graalvm.launcher.class=com.oracle.graal.python.shell.GraalPythonMain" ,
846847 # GraalPy standalone specific flags
847848 "-J-Xms14g" , # GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
849+ # uncomment to disable JLine FFM provider at native image build time
850+ #'-Dorg.graalvm.shadowed.org.jline.terminal.ffm.disable=true',
851+ '--enable-native-access=org.graalvm.shadowed.jline' ,
848852 "-Dpolyglot.python.PosixModuleBackend=native" ,
849853 "-Dpolyglot.python.Sha3ModuleBackend=native" ,
850854 ],
You can’t perform that action at this time.
0 commit comments