|
1 | 1 | {
|
2 |
| - overlay: "a61bf37c3ad98a2593a81604bb586d3021ff1ed6", |
| 2 | + overlay: "a02d502769517eff6324561f77f7cc73ded73284", |
3 | 3 |
|
4 | 4 | // ======================================================================================================
|
5 | 5 | //
|
|
56 | 56 |
|
57 | 57 | graalOption: function(name, value)
|
58 | 58 | ["--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", |
59 | 78 | },
|
60 | 79 |
|
61 | 80 | // ------------------------------------------------------------------------------------------------------
|
|
141 | 160 |
|
142 | 161 | local graalMixin = labsjdk8Mixin + {
|
143 | 162 | environment +: {
|
144 |
| - HOST_VM: "server", |
| 163 | + HOST_VM: JVM.server, |
145 | 164 | },
|
146 | 165 | },
|
147 | 166 |
|
148 | 167 | local graalCoreMixin = graalMixin + {
|
149 | 168 | environment +: {
|
150 |
| - HOST_VM_CONFIG: "graal-core", |
| 169 | + HOST_VM_CONFIG: JVM_CONFIG.core, |
151 | 170 | },
|
152 | 171 | },
|
153 | 172 | graalCoreMixin: graalCoreMixin,
|
|
179 | 198 | },
|
180 | 199 |
|
181 | 200 | local commonBuilder = baseBuilder + labsjdk8Mixin + {
|
182 |
| - dynamicImports:: "sulong,/compiler", |
| 201 | + dynamicImports:: "/sulong,/compiler", |
183 | 202 |
|
184 | 203 | setup +: [
|
185 | 204 | ["mx", "sforceimports"],
|
|
259 | 278 | ],
|
260 | 279 | name: "python-coverage"
|
261 | 280 | } + getPlatform(platform="linux"),
|
| 281 | + |
262 | 282 | // ------------------------------------------------------------------------------------------------------
|
263 | 283 | //
|
264 | 284 | // the gates
|
|
0 commit comments