@@ -62,13 +62,9 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
62
62
},
63
63
64
64
65
- polybench_vm_common(env='${VM_ENV}', fail_fast=false, skip_machine=false): (if skip_machine then self .vm_bench_base(machine_name=null ) else self .vm_bench_common) + common.deps.svm + vm.custom_vm {
66
- local is_enterprise = (vm.edition == 'ee' ),
67
- setup+: [
68
- ['mx' , '--env' , env, 'sforceimports' ],
69
- ['mx' , '--env' , env, 'build' ],
70
- ['set-export' , 'POLYBENCH_JVM' , ['mx' , '--env' , env, 'graalvm-home' ]],
71
- ] + if is_enterprise then [['mx' , '--dy' , '/truffle-enterprise' , 'build' ]] else [],
65
+ polybench_vm_common(os, arch, fail_fast=false, skip_machine=false): (if skip_machine then self .vm_bench_base(machine_name=null ) else self .vm_bench_common) + vm_common.pipelined_graalvm(repo_config.graalvm_edition, os, arch, environment_variable='POLYBENCH_JVM' ) + {
66
+ local is_enterprise = (repo_config.graalvm_edition == 'ee' ),
67
+ setup+: if is_enterprise then [['mx' , '--dy' , '/truffle-enterprise' , 'build' ]] else [],
72
68
73
69
# Extends the provided polybench command with common arguments used in CI. We want the command at the call site
74
70
# to be simple (i.e., a flat array of string literals) so it can be easily copied and run locally; using this
@@ -82,7 +78,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
82
78
notify_groups:: ['polybench' ],
83
79
},
84
80
85
- polybench_vm_hpc_common: self .polybench_vm_common(skip_machine=true ) + self .polybench_hpc_linux_common(shape='e4_8_64' ) + {
81
+ polybench_vm_hpc_common: self .polybench_vm_common('linux' , 'amd64' , skip_machine=true ) + self .polybench_hpc_linux_common(shape='e4_8_64' ) + {
86
82
polybench_wrap(command)::
87
83
super .polybench_wrap(command) + [
88
84
'--mx-benchmark-args' ,
@@ -91,12 +87,12 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
91
87
teardown: [self .upload_and_wait_for_indexing + ['||' , 'echo' , 'Result upload failed!' ]],
92
88
},
93
89
94
- polybench_vm_gate(os, arch, language, name = null): vm_common.vm_base(os, arch, 'tier3' ) + self .polybench_vm_common(fail_fast=true , skip_machine=true ) + vm.vm_java_Latest + {
90
+ polybench_vm_gate(os, arch, language, name = null): vm_common.vm_base(os, arch, 'tier3' ) + self .polybench_vm_common(os, arch, fail_fast=true , skip_machine=true ) + vm.vm_java_Latest + {
95
91
name: utils.hyphenize(['gate-vm' , vm.vm_setup.short_name, 'polybench' , language, name, utils.jdk_and_hardware(self )]),
96
92
timelimit: '1:00:00' ,
97
93
},
98
94
99
- polybench_vm_daily(os, arch, language, name = null): vm_common.vm_base(os, arch, 'daily' , bench=true ) + self .polybench_vm_common() + vm.vm_java_Latest + {
95
+ polybench_vm_daily(os, arch, language, name = null): vm_common.vm_base(os, arch, 'daily' , bench=true ) + self .polybench_vm_common(os, arch ) + vm.vm_java_Latest + {
100
96
name: utils.hyphenize(['daily-bench-vm' , vm.vm_setup.short_name, 'polybench' , language, name, utils.jdk_and_hardware(self )]),
101
97
teardown: [self .upload],
102
98
timelimit: '4:00:00' ,
0 commit comments