File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ local utils = import "utils.libsonnet";
27
27
# where build is defined, there are no other objects in the middle.
28
28
local part_definitions = {
29
29
local jt = function (args) [["ruby" , "tool/jt.rb" ] + args],
30
+ local mri_version = "2.6.3" ,
30
31
31
32
use: {
32
33
common: {
@@ -101,17 +102,14 @@ local part_definitions = {
101
102
102
103
mri: {
103
104
"$.benchmark.server" :: { options: ["--" , "--no-core-load-path" ] },
104
- downloads+: {
105
- MRI_HOME: { name: "ruby" , version: "2.6.3" },
106
- },
107
105
108
106
environment+: {
109
107
HOST_VM: "mri" ,
110
108
HOST_VM_CONFIG: "default" ,
111
109
GUEST_VM: "mri" ,
112
110
GUEST_VM_CONFIG: "default" ,
113
- RUBY_BIN: "$MRI_HOME /bin/ruby" ,
114
- JT_BENCHMARK_RUBY: "$MRI_HOME /bin/ruby" ,
111
+ RUBY_BIN: "/cm/shared/apps/ruby/" + mri_version + " /bin/ruby" ,
112
+ JT_BENCHMARK_RUBY: "/cm/shared/apps/ruby/" + mri_version + " /bin/ruby" ,
115
113
},
116
114
},
117
115
@@ -300,7 +298,7 @@ local part_definitions = {
300
298
packages+: {
301
299
git: ">=1.8.3" ,
302
300
mercurial: ">=3.2.4" ,
303
- ruby: ">=2.1.0" ,
301
+ ruby: "==" + mri_version ,
304
302
llvm: "==3.8" ,
305
303
binutils: ">=2.30" ,
306
304
},
You can’t perform that action at this time.
0 commit comments