File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def jt(*args):
58
58
59
59
def build_truffleruby (args = []):
60
60
mx .command_function ('sversions' )([])
61
- jt (" build" )
61
+ jt (' build' , '--no-sforceimports' )
62
62
63
63
def ruby_deploy_binaries (args ):
64
64
"""Deploy a binary suite for truffleruby"""
Original file line number Diff line number Diff line change @@ -517,9 +517,10 @@ def help
517
517
graalvm [--graal] [--native] build a minimal JVM-only GraalVM containing only TruffleRuby
518
518
--graal include graal compiler in the build
519
519
--native build native ruby image as well
520
- native [--no-sulong] [--no-jvmci] [--no-sforceimports] [--no- tools] [extra mx image options]
520
+ native [--no-sulong] [--no-jvmci] [--no-tools] [extra mx image options]
521
521
build a native image of TruffleRuby (--no-jvmci to use the system Java)
522
522
(--no-tools to exclude chromeinspector and profiler)
523
+ --no-sforceimports
523
524
jt build_stats [--json] <attribute> prints attribute's value from build process (e.g., binary size)
524
525
jt clean clean
525
526
jt env prints the current environment
@@ -1880,7 +1881,9 @@ def install_graal(*options)
1880
1881
end
1881
1882
1882
1883
def build_graalvm ( *options )
1883
- mx ( '-p' , TRUFFLERUBY_DIR , 'sforceimports' ) unless ci?
1884
+ sforceimports = !options . delete ( "--no-sforceimports" )
1885
+ mx ( '-p' , TRUFFLERUBY_DIR , 'sforceimports' ) if !ci? && sforceimports
1886
+
1884
1887
graal = options . delete ( '--graal' )
1885
1888
native = options . delete ( '--native' )
1886
1889
You can’t perform that action at this time.
0 commit comments