Skip to content

Commit 1427fcd

Browse files
committed
[GR-64441] Add ruby polybench jobs.
PullRequest: graal/21743
2 parents 801956e + 8d56e1f commit 1427fcd

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

vm/ci/ci_common/common-bench.jsonnet

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,30 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
230230
],
231231
}
232232
*/
233+
] + [
234+
# TruffleRuby polybench jobs
235+
self.polybench_vm_gate('linux', 'amd64', 'ruby') + common.deps.truffleruby + {
236+
environment+: {
237+
RUBY_BENCHMARKS: 'true',
238+
},
239+
setup+: [
240+
['mx', '--dy', 'truffleruby', 'build']
241+
],
242+
run+: [
243+
self.polybench_wrap(['mx', '--dy', 'truffleruby', '--java-home', '${POLYBENCH_JVM}', 'polybench', 'run', '--suite', 'ruby:gate']),
244+
],
245+
},
246+
self.polybench_vm_daily('linux', 'amd64', 'ruby') + common.deps.truffleruby + {
247+
environment+: {
248+
RUBY_BENCHMARKS: 'true',
249+
},
250+
setup+: [
251+
['mx', '--dy', 'truffleruby', 'build']
252+
],
253+
run+: [
254+
self.polybench_wrap(['mx', '--dy', 'truffleruby', '--java-home', '${POLYBENCH_JVM}', 'polybench', 'run', '--suite', 'ruby:benchmark']),
255+
],
256+
}
233257
],
234258
# TODO (GR-60584): reimplement polybenchmarks jobs once polybench is unchained
235259

vm/mx.vm/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
{
5151
"name": "truffleruby",
52-
"version": "74aac4306c88b681c62373b0b774cd0379383177",
52+
"version": "ea00bbf5c76867b147d97883c17c8e367f6ea642",
5353
"dynamic": True,
5454
"urls": [
5555
{"url": "https://github.com/oracle/truffleruby.git", "kind": "git"},

0 commit comments

Comments
 (0)