@@ -724,12 +724,6 @@ local devkits = graal_common.devkits;
724
724
record_file_sizes:: ['benchmark' , 'file-size:*' , '--results-file' , 'sizes.json' ],
725
725
upload_file_sizes:: ['bench-uploader.py' , 'sizes.json' ],
726
726
727
- # These dummy artifacts are required by notify_releaser_build in order to trigger the releaser service
728
- # after the deploy jobs have completed.
729
- create_releaser_notifier_artifact:: [
730
- ['python3' , '-c' , "from os import environ; open('../' + environ['BUILD_NAME'], 'a').close()" ],
731
- ],
732
-
733
727
build_base_graalvm_image: [
734
728
$.mx_vm_common + vm.vm_profiles + ['graalvm-show' ],
735
729
$.mx_vm_common + vm.vm_profiles + ['build' ],
@@ -772,20 +766,34 @@ local devkits = graal_common.devkits;
772
766
run: $.patch_env(self .os, self .arch, java_version) + vm.collect_profiles() + $.build_base_graalvm_image + [
773
767
$.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
774
768
$.upload_file_sizes,
775
- ] + $.deploy_sdk_base(self .os) + $.create_releaser_notifier_artifact + $. check_base_graalvm_image(self .os, self .arch, java_version),
769
+ ] + $.deploy_sdk_base(self .os) + $.check_base_graalvm_image(self .os, self .arch, java_version),
776
770
notify_groups:: ['deploy' ],
777
771
timelimit: "1:00:00"
778
772
},
779
773
780
- deploy_graalvm_components(java_version, tags): vm.check_structure + {
774
+ deploy_graalvm_components(java_version, installables, standalones, record_file_sizes=false): vm.check_structure + {
775
+ build_deps:: std.join (',' , []
776
+ + (if (record_file_sizes) then ['GRAALVM' ] else [])
777
+ + (if (installables) then ['GRAALVM_INSTALLABLES' ] else [])
778
+ + (if (standalones) then ['GRAALVM_STANDALONES' ] else [])
779
+ ),
780
+
781
+ tags:: std.join (',' , []
782
+ + (if (installables) then ['installable' ] else [])
783
+ + (if (standalones) then ['standalone' ] else [])
784
+ ),
785
+
781
786
run: $.patch_env(self .os, self .arch, java_version) + [
782
787
$.mx_vm_installables + ['graalvm-show' ],
783
- $.mx_vm_installables + ['build' , '--dependencies' , 'ALL_GRAALVM_ARTIFACTS' ],
784
- ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
785
- ] + $.deploy_sdk_components(self .os, tags) + [
786
- $.mx_vm_installables + $.record_file_sizes,
787
- $.upload_file_sizes,
788
- ] + $.create_releaser_notifier_artifact + vm.check_graalvm_complete_build($.mx_vm_installables, self .os, self .arch, java_version),
788
+ $.mx_vm_installables + ['build' , '--dependencies' , self .build_deps],
789
+ ]
790
+ + $.deploy_sdk_components(self .os, self .tags)
791
+ + (
792
+ if (record_file_sizes) then [
793
+ $.mx_vm_installables + $.record_file_sizes,
794
+ $.upload_file_sizes,
795
+ ] else []
796
+ ),
789
797
notify_groups:: ['deploy' ],
790
798
timelimit: "1:30:00"
791
799
},
@@ -801,7 +809,7 @@ local devkits = graal_common.devkits;
801
809
['set-export' , 'GRAALVM_HOME' , $.mx_vm_common + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
802
810
['set-export' , 'DACAPO_JAR' , $.mx_vm_common + ['--quiet' , '--no-warning' , 'paths' , '--download' , 'DACAPO_MR1_2baec49' ]],
803
811
['${GRAALVM_HOME}/bin/java' , '-jar' , '${DACAPO_JAR}' , 'luindex' ],
804
- ] + $.create_releaser_notifier_artifact ,
812
+ ],
805
813
notify_groups:: ['deploy' ],
806
814
timelimit: '1:45:00' ,
807
815
},
@@ -813,25 +821,25 @@ local devkits = graal_common.devkits;
813
821
814
822
# Linux/AMD64
815
823
deploy_vm_base_java21_linux_amd64: vm.vm_java_21_llvm + self .full_vm_build_linux_amd64 + self .linux_deploy + self .deploy_vm_linux_amd64 + self .deploy_graalvm_base("java21" ) + {name: 'post-merge-deploy-vm-base-java21-linux-amd64' , diskspace_required: vm.diskspace_required.java21_linux_amd64, notify_groups:: ["deploy" ]},
816
- deploy_vm_installables_standalones_java21_linux_amd64: vm.vm_java_21_llvm + self .full_vm_build_linux_amd64 + self .linux_deploy + self .deploy_daily_vm_linux_amd64 + self .deploy_graalvm_components("java21" , "installable,standalone" ) + {name: 'daily-deploy-vm-installables-standalones-java21-linux-amd64' , diskspace_required: vm.diskspace_required.java21_linux_amd64, notify_groups:: ["deploy" ]},
824
+ deploy_vm_installables_standalones_java21_linux_amd64: vm.vm_java_21_llvm + self .full_vm_build_linux_amd64 + self .linux_deploy + self .deploy_daily_vm_linux_amd64 + self .deploy_graalvm_components("java21" , installables= true , standalones= true , record_file_sizes= true ) + {name: 'daily-deploy-vm-installables-standalones-java21-linux-amd64' , diskspace_required: vm.diskspace_required.java21_linux_amd64, notify_groups:: ["deploy" ]},
817
825
# Linux/AARCH64
818
826
deploy_vm_base_java21_linux_aarch64: vm.vm_java_21 + self .full_vm_build_linux_aarch64 + self .linux_deploy + self .deploy_daily_vm_linux_aarch64 + self .deploy_graalvm_base("java21" ) + {name: 'daily-deploy-vm-base-java21-linux-aarch64' , notify_groups:: ["deploy" ], timelimit: '1:30:00' , capabilities+: ["!xgene3" ]},
819
- deploy_vm_installables_standalones_java21_linux_aarch64: vm.vm_java_21 + self .full_vm_build_linux_aarch64 + self .linux_deploy + self .deploy_daily_vm_linux_aarch64 + self .deploy_graalvm_components("java21" , "installable,standalone" ) + {name: 'daily-deploy-vm-installables-standalones-java21-linux-aarch64' , notify_groups:: ["deploy" ], capabilities+: ["!xgene3" ]},
827
+ deploy_vm_installables_standalones_java21_linux_aarch64: vm.vm_java_21 + self .full_vm_build_linux_aarch64 + self .linux_deploy + self .deploy_daily_vm_linux_aarch64 + self .deploy_graalvm_components("java21" , installables= true , standalones= true ) + {name: 'daily-deploy-vm-installables-standalones-java21-linux-aarch64' , notify_groups:: ["deploy" ], capabilities+: ["!xgene3" ]},
820
828
821
829
# Darwin/AMD64
822
830
deploy_vm_base_java21_darwin_amd64: vm.vm_java_21_llvm + self .full_vm_build_darwin_amd64 + self .darwin_deploy + self .deploy_daily_vm_darwin_amd64 + self .deploy_graalvm_base("java21" ) + {name: 'daily-deploy-vm-base-java21-darwin-amd64' , notify_groups:: ["deploy" ], timelimit: '1:45:00' },
823
- deploy_vm_installables_java21_darwin_amd64: vm.vm_java_21_llvm + self .full_vm_build_darwin_amd64 + self .darwin_deploy + self .deploy_weekly_vm_darwin_amd64 + self .deploy_graalvm_components("java21" , "installable" ) + {name: 'weekly-deploy-vm-installables-java21-darwin-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ], timelimit: '3:00:00' },
824
- deploy_vm_standalones_java21_darwin_amd64: vm.vm_java_21_llvm + self .full_vm_build_darwin_amd64 + self .darwin_deploy + self .deploy_daily_vm_darwin_amd64 + self .deploy_graalvm_components("java21" , "standalone" ) + {name: 'daily-deploy-vm-standalones-java21-darwin-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ], timelimit: '3:00:00' },
831
+ deploy_vm_installables_java21_darwin_amd64: vm.vm_java_21_llvm + self .full_vm_build_darwin_amd64 + self .darwin_deploy + self .deploy_weekly_vm_darwin_amd64 + self .deploy_graalvm_components("java21" , installables= true , standalones= false ) + {name: 'weekly-deploy-vm-installables-java21-darwin-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ], timelimit: '3:00:00' },
832
+ deploy_vm_standalones_java21_darwin_amd64: vm.vm_java_21_llvm + self .full_vm_build_darwin_amd64 + self .darwin_deploy + self .deploy_daily_vm_darwin_amd64 + self .deploy_graalvm_components("java21" , installables= false , standalones= true ) + {name: 'daily-deploy-vm-standalones-java21-darwin-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ], timelimit: '3:00:00' },
825
833
826
834
# Darwin/AARCH64
827
835
deploy_vm_base_java21_darwin_aarch64: vm.vm_java_21 +
self .full_vm_build_darwin_aarch64 +
self .darwin_deploy +
self .deploy_daily_vm_darwin_aarch64 +
self .deploy_graalvm_base(
"java21" ) + {
name: 'daily-deploy-vm-base-java21-darwin-aarch64' ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '1:45:00' },
828
- deploy_vm_installables_java21_darwin_aarch64: vm.vm_java_21 +
self .full_vm_build_darwin_aarch64 +
self .darwin_deploy +
self .deploy_weekly_vm_darwin_aarch64 +
self .deploy_graalvm_components(
"java21" ,
"installable" ) + {
name: 'weekly-deploy-vm-installables-java21-darwin-aarch64' ,
diskspace_required: "31GB" ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
829
- deploy_vm_standalones_java21_darwin_aarch64: vm.vm_java_21 +
self .full_vm_build_darwin_aarch64 +
self .darwin_deploy +
self .deploy_daily_vm_darwin_aarch64 +
self .deploy_graalvm_components(
"java21" ,
"standalone" ) + {
name: 'daily-deploy-vm-standalones-java21-darwin-aarch64' ,
diskspace_required: "31GB" ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
836
+ deploy_vm_installables_java21_darwin_aarch64: vm.vm_java_21 +
self .full_vm_build_darwin_aarch64 +
self .darwin_deploy +
self .deploy_weekly_vm_darwin_aarch64 +
self .deploy_graalvm_components(
"java21" ,
installables= true , standalones= false ) + {
name: 'weekly-deploy-vm-installables-java21-darwin-aarch64' ,
diskspace_required: "31GB" ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
837
+ deploy_vm_standalones_java21_darwin_aarch64: vm.vm_java_21 +
self .full_vm_build_darwin_aarch64 +
self .darwin_deploy +
self .deploy_daily_vm_darwin_aarch64 +
self .deploy_graalvm_components(
"java21" ,
installables= false , standalones= true ) + {
name: 'daily-deploy-vm-standalones-java21-darwin-aarch64' ,
diskspace_required: "31GB" ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
830
838
831
839
# Windows/AMD64
832
840
deploy_vm_base_java21_windows_amd64: vm.vm_java_21 + self .svm_common_windows_amd64("21" ) + self .js_windows_jdk21 + self .deploy_daily_vm_windows_jdk21 + self .deploy_graalvm_base("java21" ) + self .deploy_build + {name: 'daily-deploy-vm-base-java21-windows-amd64' , notify_groups:: ["deploy" ], timelimit: '1:30:00' },
833
- deploy_vm_installables_java21_windows_amd64: vm.vm_java_21 + self .svm_common_windows_amd64("21" ) + self .js_windows_jdk21 + self .sulong_windows + self .deploy_weekly_vm_windows_jdk21 + self .deploy_graalvm_components("java21" , "installable" ) + self .deploy_build + {name: 'weekly-deploy-vm-installables-java21-windows-amd64' , diskspace_required: "31GB" , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
834
- deploy_vm_standalones_java21_windows_amd64: vm.vm_java_21 + self .svm_common_windows_amd64("21" ) + self .js_windows_jdk21 + self .sulong_windows + self .deploy_daily_vm_windows_jdk21 + self .deploy_graalvm_components("java21" , "standalone" ) + self .deploy_build + {name: 'daily-deploy-vm-standalones-java21-windows-amd64' , diskspace_required: "31GB" , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
841
+ deploy_vm_installables_java21_windows_amd64: vm.vm_java_21 + self .svm_common_windows_amd64("21" ) + self .js_windows_jdk21 + self .sulong_windows + self .deploy_weekly_vm_windows_jdk21 + self .deploy_graalvm_components("java21" , installables= true , standalones= false ) + self .deploy_build + {name: 'weekly-deploy-vm-installables-java21-windows-amd64' , diskspace_required: "31GB" , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
842
+ deploy_vm_standalones_java21_windows_amd64: vm.vm_java_21 + self .svm_common_windows_amd64("21" ) + self .js_windows_jdk21 + self .sulong_windows + self .deploy_daily_vm_windows_jdk21 + self .deploy_graalvm_components("java21" , installables= false , standalones= true ) + self .deploy_build + {name: 'daily-deploy-vm-standalones-java21-windows-amd64' , diskspace_required: "31GB" , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
835
843
836
844
#
837
845
# Deploy the GraalVM Espresso artifact (GraalVM Base + espresso - native image)
0 commit comments