@@ -65,13 +65,14 @@ local part_definitions = {
65
65
"*.log" ,
66
66
],
67
67
68
+ mx_options:: [],
68
69
mx_build_options:: [],
69
70
},
70
71
71
72
build: {
72
73
setup+: [["mx" , "sversions" ]] +
73
74
# aot-build.log is used for the build-stats metrics, in other cases it does no harm
74
- jt(["build" , "--env" , self .mx_env, "--" ] + self .mx_build_options + ["|" , "tee" , "aot-build.log" ]) +
75
+ jt(["build" , "--env" , self .mx_env] + self .mx_options + [ "--" ] + self .mx_build_options + ["|" , "tee" , "aot-build.log" ]) +
75
76
[
76
77
# make sure jt always uses what was just built
77
78
["set-export" , "RUBY_BIN" , jt(["--use" , self .mx_env, "--silent" , "launcher" ])[0 ]],
@@ -204,6 +205,14 @@ local part_definitions = {
204
205
HOST_VM_CONFIG: "graal-enterprise" ,
205
206
},
206
207
},
208
+ host_inlining_log: {
209
+ # Same as in mx.truffleruby/native-host-inlining
210
+ mx_options+:: [
211
+ "--extra-image-builder-argument=rubyvm:-H:Log=TruffleHostInliningPhase,~CanonicalizerPhase,~GraphBuilderPhase" ,
212
+ "--extra-image-builder-argument=rubyvm:-H:+TruffleHostInliningPrintExplored" ,
213
+ "--extra-image-builder-argument=rubyvm:-Dgraal.LogFile=host-inlining.txt" ,
214
+ ],
215
+ },
207
216
},
208
217
209
218
jdk: {
@@ -533,13 +542,13 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
533
542
"ruby-test-compiler-graal-enterprise-17" : $.platform.linux + $.jdk.v17 + $.env.jvm_ee + gate + $.use.truffleruby + $.run.test_compiler,
534
543
"ruby-test-compiler-graal-enterprise-20" : $.platform.linux + $.jdk.v20 + $.env.jvm_ee + gate + $.use.truffleruby + $.run.test_compiler,
535
544
536
- "ruby-test-svm-graal-core-linux-17" : $.platform.linux + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
545
+ "ruby-test-svm-graal-core-linux-17" : $.platform.linux + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests + $.env.host_inlining_log ,
537
546
"ruby-test-svm-graal-core-linux-20" : $.platform.linux + $.jdk.v20 + $.env.native + $.env.gdb_svm + gate + native_tests,
538
547
"ruby-test-svm-graal-core-darwin-amd64-17" : $.platform.darwin_amd64 + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
539
548
"ruby-test-svm-graal-core-darwin-amd64-20" : $.platform.darwin_amd64 + $.jdk.v20 + $.env.native + $.env.gdb_svm + gate + native_tests,
540
549
"ruby-test-svm-graal-core-darwin-aarch64-17" : $.platform.darwin_aarch64 + $.jdk.v17 + $.env.native + gate + native_tests,
541
550
"ruby-test-svm-graal-core-darwin-aarch64-20" : $.platform.darwin_aarch64 + $.jdk.v20 + $.env.native + gate + native_tests,
542
- "ruby-test-svm-graal-enterprise-linux" : $.platform.linux + $.jdk.v17 + $.env.native_ee + $.env.gdb_svm + gate + native_tests,
551
+ "ruby-test-svm-graal-enterprise-linux" : $.platform.linux + $.jdk.v17 + $.env.native_ee + $.env.gdb_svm + gate + native_tests + $.env.host_inlining_log ,
543
552
"ruby-test-svm-graal-enterprise-darwin-aarch64 " : $.platform.darwin_aarch64 + $.jdk.v17 + $.env.native_ee + gate + native_tests,
544
553
},
545
554
0 commit comments