File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This file contains native-image arguments needed to build truffleruby
2
+ #
3
+
4
+ ImageName = ruby
5
+
6
+ Requires = tool:truffle
7
+
8
+ LauncherClass = org.truffleruby.launcher.RubyLauncher
9
+ LauncherClassPath = languages/ruby/truffleruby-annotations.jar:languages/ruby/truffleruby-shared.jar:lib/graalvm/launcher-common.jar:lib/graalvm/truffleruby-launcher.jar
10
+
11
+ Args = -H:MaxRuntimeCompileMethods=5400 \
12
+ -H:SubstitutionResources=org/truffleruby/aot/substitutions.json \
13
+ -H:+AddAllCharsets
14
+
15
+ # Pass the home for context pre-initialization
16
+ # ${.} expands to the destination Ruby home created by mx fetch-languages,
17
+ # such as substratevm/svmbuild/native-image-root/languages/ruby.
18
+ JavaArgs = -Dtruffleruby.preinitialization.home=${.} \
19
+ -Dpolyglot.engine.PreinitializeContexts=ruby \
20
+ -Dorg.graalvm.launcher.standalone=false
Original file line number Diff line number Diff line change 398
398
"file:lib" , # contains some results from truffleruby-cext
399
399
"file:CHANGELOG.md" ,
400
400
"file:mx.truffleruby/GraalCE_Ruby_license_3rd_party_license.txt" ,
401
- "file:mx.truffleruby/native-image.properties" ,
402
401
],
402
+ "native-image.properties" : ["file:mx.truffleruby/graalvm.properties" ],
403
403
"bin/" : [
404
404
"file:bin/gem" ,
405
405
"file:bin/irb" ,
You can’t perform that action at this time.
0 commit comments