Skip to content

Commit 647617e

Browse files
committed
update ci.overlay
1 parent 4ea28ed commit 647617e

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

ci.jsonnet

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
overlay: "a61bf37c3ad98a2593a81604bb586d3021ff1ed6",
2+
overlay: "a02d502769517eff6324561f77f7cc73ded73284",
33

44
// ======================================================================================================
55
//
@@ -56,6 +56,25 @@
5656

5757
graalOption: function(name, value)
5858
["--Ja", "@-Dgraal."+name+"="+value],
59+
60+
contains: function(array, value)
61+
std.count(array, value) > 0,
62+
},
63+
64+
// ------------------------------------------------------------------------------------------------------
65+
//
66+
// configurations
67+
//
68+
// ------------------------------------------------------------------------------------------------------
69+
local JVM = {
70+
server: "server",
71+
},
72+
73+
local JVM_CONFIG = {
74+
core: "graal-core",
75+
enterprise: "graal-enterprise",
76+
native: "native",
77+
hostspot: "default",
5978
},
6079

6180
// ------------------------------------------------------------------------------------------------------
@@ -141,13 +160,13 @@
141160

142161
local graalMixin = labsjdk8Mixin + {
143162
environment +: {
144-
HOST_VM: "server",
163+
HOST_VM: JVM.server,
145164
},
146165
},
147166

148167
local graalCoreMixin = graalMixin + {
149168
environment +: {
150-
HOST_VM_CONFIG: "graal-core",
169+
HOST_VM_CONFIG: JVM_CONFIG.core,
151170
},
152171
},
153172
graalCoreMixin: graalCoreMixin,
@@ -179,7 +198,7 @@
179198
},
180199

181200
local commonBuilder = baseBuilder + labsjdk8Mixin + {
182-
dynamicImports:: "sulong,/compiler",
201+
dynamicImports:: "/sulong,/compiler",
183202

184203
setup +: [
185204
["mx", "sforceimports"],
@@ -259,6 +278,7 @@
259278
],
260279
name: "python-coverage"
261280
} + getPlatform(platform="linux"),
281+
262282
// ------------------------------------------------------------------------------------------------------
263283
//
264284
// the gates

0 commit comments

Comments
 (0)