@@ -199,27 +199,28 @@ local part_definitions = {
199
199
HOST_VM_CONFIG: "graal-enterprise" ,
200
200
},
201
201
},
202
- local svm = {
202
+ gdb_svm: {
203
203
downloads+: {
204
204
GDB: { name: "gdb" , version: "7.11.1" , platformspecific: true },
205
205
},
206
206
environment+: {
207
207
GDB_BIN: "$GDB/bin/gdb" ,
208
- HOST_VM: "svm" ,
209
208
},
210
209
},
211
210
native: {
212
211
mx_env:: "native" ,
213
212
environment+: {
213
+ HOST_VM: "svm" ,
214
214
HOST_VM_CONFIG: "graal-core" ,
215
215
},
216
- } + svm ,
216
+ },
217
217
native_ee: {
218
218
mx_env:: "native-ee" ,
219
219
environment+: {
220
+ HOST_VM: "svm" ,
220
221
HOST_VM_CONFIG: "graal-enterprise" ,
221
222
},
222
- } + svm ,
223
+ },
223
224
},
224
225
225
226
jdk: {
@@ -248,7 +249,13 @@ local part_definitions = {
248
249
},
249
250
},
250
251
251
- local darwin_deps = common.sulong.deps.darwin_amd64 + {
252
+ local darwin_amd64_deps = common.sulong.deps.darwin_amd64 + {
253
+ packages+: {
254
+ ruby: "==3.0.2" ,
255
+ },
256
+ },
257
+
258
+ local darwin_aarch64_deps = common.sulong.deps.darwin_aarch64 + {
252
259
packages+: {
253
260
ruby: "==3.0.2" ,
254
261
},
@@ -263,15 +270,15 @@ local part_definitions = {
263
270
bench_machine: ["x52" ] + self .normal_machine + ["no_frequency_scaling" ],
264
271
},
265
272
},
266
- linux_arm64 : linux_deps + {
267
- platform_name:: "LinuxARM64 " ,
273
+ linux_aarch64 : linux_deps + {
274
+ platform_name:: "LinuxAArch64 " ,
268
275
platform: "linux" ,
269
276
arch:: "aarch64" ,
270
277
"$.cap" :: {
271
278
normal_machine: ["linux" , "aarch64" ],
272
279
},
273
280
},
274
- darwin: darwin_deps + {
281
+ darwin_amd64: darwin_amd64_deps + {
275
282
platform_name:: "DarwinAMD64" ,
276
283
platform: "darwin" ,
277
284
arch:: "amd64" ,
@@ -282,6 +289,17 @@ local part_definitions = {
282
289
LANG: "en_US.UTF-8" ,
283
290
},
284
291
},
292
+ darwin_aarch64: darwin_aarch64_deps + {
293
+ platform_name:: "DarwinAArch64" ,
294
+ platform: "darwin" ,
295
+ arch:: "aarch64" ,
296
+ "$.cap" :: {
297
+ normal_machine: ["darwin" , "aarch64" ],
298
+ },
299
+ environment+: {
300
+ LANG: "en_US.UTF-8" ,
301
+ },
302
+ },
285
303
},
286
304
287
305
cap: {
@@ -502,34 +520,42 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
502
520
local native_config = $.run.generate_native_config + $.run.check_native_config,
503
521
local native_tests = $.run.testdownstream_aot + $.run.test_integration + $.run.test_compiler,
504
522
505
- // Order: platform, jdk, mx_env. Keep aligned for an easy visual comparison.
506
- "ruby-test-specs-linux-11" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:20:00" },
507
- "ruby-test-specs-linux-17" : $.platform.linux + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:20:00" },
508
- "ruby-test-specs-darwin-11" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
509
- "ruby-test-specs-darwin-17" : $.platform.darwin + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
510
- "ruby-test-fast-linux-arm64" : $.platform.linux_arm64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + native_config + { timelimit: "45:00" },
511
- "ruby-test-fast-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + { timelimit: "45:00" }, # To catch missing slow tags
512
- "ruby-test-mri-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:10:00" },
513
- "ruby-test-mri-darwin" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:30:00" },
514
- "ruby-test-integration-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_integration,
515
- "ruby-test-cexts-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.use.sqlite331 + $.run.test_cexts,
516
- "ruby-test-cexts-darwin" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_cexts + { timelimit: "01:20:00" },
517
- "ruby-test-gems-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_gems,
518
- "ruby-test-gems-darwin" : $.platform.darwin + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_gems,
519
- "ruby-test-ecosystem-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.node + $.use.sqlite331 + $.use.gem_test_pack + $.run.test_ecosystem,
520
- "ruby-test-standalone-linux" : $.platform.linux + $.jdk.v11+ gate_no_build + $.run.test_make_standalone_distribution,
523
+ # Order: platform, jdk, mx_env. Keep aligned for an easy visual comparison.
524
+ "ruby-test-specs-linux-11" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:20:00" },
525
+ "ruby-test-specs-linux-17" : $.platform.linux + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:20:00" },
526
+ "ruby-test-specs-darwin-amd64-11" : $.platform.darwin_amd64 + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
527
+ "ruby-test-specs-darwin-amd64-17" : $.platform.darwin_amd64 + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
528
+ "ruby-test-specs-darwin-aarch64-11" : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
529
+ "ruby-test-specs-darwin-aarch64-17" : $.platform.darwin_aarch64 + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:40:00" },
530
+ "ruby-test-fast-linux-aarch64" : $.platform.linux_aarch64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + native_config + { timelimit: "45:00" },
531
+ "ruby-test-fast-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_fast + { timelimit: "45:00" }, # To catch missing slow tags
532
+ "ruby-test-mri-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:10:00" },
533
+ "ruby-test-mri-linux-aarch64" : $.platform.linux_aarch64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:10:00" },
534
+ "ruby-test-mri-darwin-amd64" : $.platform.darwin_amd64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:30:00" },
535
+ "ruby-test-mri-darwin-aarch64" : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.jvm + gate + $.run.test_mri + { timelimit: "01:30:00" },
536
+ "ruby-test-integration-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.run.test_integration,
537
+ "ruby-test-cexts-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.use.sqlite331 + $.run.test_cexts,
538
+ "ruby-test-cexts-darwin-amd64" : $.platform.darwin_amd64 + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_cexts + { timelimit: "01:20:00" },
539
+ "ruby-test-cexts-darwin-aarch64" : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_cexts + { timelimit: "01:20:00" },
540
+ "ruby-test-gems-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_gems,
541
+ "ruby-test-gems-darwin-amd64" : $.platform.darwin_amd64 + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_gems,
542
+ "ruby-test-gems-darwin-aarch64" : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.jvm + gate + $.use.gem_test_pack + $.run.test_gems,
543
+ "ruby-test-ecosystem-linux" : $.platform.linux + $.jdk.v11 + $.env.jvm + gate + $.use.node + $.use.sqlite331 + $.use.gem_test_pack + $.run.test_ecosystem,
544
+ "ruby-test-standalone-linux" : $.platform.linux + $.jdk.v11+ gate_no_build + $.run.test_make_standalone_distribution,
521
545
522
546
"ruby-test-compiler-graal-core-11" : $.platform.linux + $.jdk.v11 + $.env.jvm_ce + gate + $.use.truffleruby + $.run.test_compiler,
523
547
"ruby-test-compiler-graal-core-17" : $.platform.linux + $.jdk.v17 + $.env.jvm_ce + gate + $.use.truffleruby + $.run.test_compiler,
524
548
"ruby-test-compiler-graal-enterprise-11" : $.platform.linux + $.jdk.v11 + $.env.jvm_ee + gate + $.use.truffleruby + $.run.test_compiler,
525
549
"ruby-test-compiler-graal-enterprise-17" : $.platform.linux + $.jdk.v17 + $.env.jvm_ee + gate + $.use.truffleruby + $.run.test_compiler,
526
550
527
- "ruby-test-svm-graal-core-linux-11" : $.platform.linux + $.jdk.v11 + $.env.native + gate + native_tests,
528
- "ruby-test-svm-graal-core-linux-17" : $.platform.linux + $.jdk.v17 + $.env.native + gate + native_tests,
529
- "ruby-test-svm-graal-core-darwin-11" : $.platform.darwin + $.jdk.v11 + $.env.native + gate + native_tests,
530
- "ruby-test-svm-graal-core-darwin-17" : $.platform.darwin + $.jdk.v17 + $.env.native + gate + native_tests,
531
- "ruby-test-svm-graal-enterprise-linux" : $.platform.linux + $.jdk.v11 + $.env.native_ee + gate + native_tests,
532
- "ruby-test-svm-graal-enterprise-darwin" : $.platform.darwin + $.jdk.v11 + $.env.native_ee + gate + native_tests,
551
+ "ruby-test-svm-graal-core-linux-11" : $.platform.linux + $.jdk.v11 + $.env.native + $.env.gdb_svm + gate + native_tests,
552
+ "ruby-test-svm-graal-core-linux-17" : $.platform.linux + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
553
+ "ruby-test-svm-graal-core-darwin-amd64-11" : $.platform.darwin_amd64 + $.jdk.v11 + $.env.native + $.env.gdb_svm + gate + native_tests,
554
+ "ruby-test-svm-graal-core-darwin-amd64-17" : $.platform.darwin_amd64 + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
555
+ "ruby-test-svm-graal-core-darwin-aarch64-11" : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.native + gate + native_tests,
556
+ "ruby-test-svm-graal-core-darwin-aarch64-17" : $.platform.darwin_aarch64 + $.jdk.v17 + $.env.native + gate + native_tests,
557
+ "ruby-test-svm-graal-enterprise-linux" : $.platform.linux + $.jdk.v11 + $.env.native_ee + $.env.gdb_svm + gate + native_tests,
558
+ "ruby-test-svm-graal-enterprise-darwin-aarch64 " : $.platform.darwin_aarch64 + $.jdk.v11 + $.env.native_ee + gate + native_tests,
533
559
},
534
560
535
561
local other_rubies = {
@@ -545,8 +571,8 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
545
571
local svm_configurations = {
546
572
local shared = $.cap.bench + $.cap.daily + $.use.truffleruby + $.use.build,
547
573
548
- "svm-graal-core" : shared + $.env.native,
549
- "svm-graal-enterprise" : shared + $.env.native_ee,
574
+ "svm-graal-core" : shared + $.env.native + $.env.gdb_svm ,
575
+ "svm-graal-enterprise" : shared + $.env.native_ee + $.env.gdb_svm ,
550
576
},
551
577
552
578
bench_builds:
@@ -700,9 +726,10 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
700
726
manual_builds: {
701
727
local shared = $.use.common + $.cap.manual + { timelimit: "15:00" },
702
728
703
- "ruby-generate-native-config-linux-amd64" : $.platform.linux + $.jdk.v11 + shared + $.run.generate_native_config,
704
- "ruby-generate-native-config-linux-aarch64" : $.platform.linux_arm64 + $.jdk.v11 + shared + $.run.generate_native_config,
705
- "ruby-generate-native-config-darwin-amd64" : $.platform.darwin + $.jdk.v11 + shared + $.run.generate_native_config,
729
+ "ruby-generate-native-config-linux-amd64" : $.platform.linux + $.jdk.v11 + shared + $.run.generate_native_config,
730
+ "ruby-generate-native-config-linux-aarch64" : $.platform.linux_aarch64 + $.jdk.v11 + shared + $.run.generate_native_config,
731
+ "ruby-generate-native-config-darwin-amd64" : $.platform.darwin_amd64 + $.jdk.v11 + shared + $.run.generate_native_config,
732
+ "ruby-generate-native-config-darwin-aarch64" : $.platform.darwin_aarch64 + $.jdk.v11 + shared + $.run.generate_native_config,
706
733
},
707
734
708
735
builds:
0 commit comments