Skip to content

Commit 22fa6d3

Browse files
committed
added oraclejdk22 libgraal gate
1 parent e1b6e09 commit 22fa6d3

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

ci/common.jsonnet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ local common_json = import "../common.json";
2323
} + {
2424
[name]: common_json.jdks[name] + { jdk_version:: 21 }
2525
for name in ["oraclejdk21"] + variants("labsjdk-ce-21") + variants("labsjdk-ee-21")
26+
} + {
27+
[name]: common_json.jdks[name] + { jdk_version:: 22 }
28+
for name in ["oraclejdk22"]
2629
},
2730
assert std.assertEqual(std.objectFields(common_json.jdks), std.objectFields(jdks_data)),
2831

@@ -58,6 +61,7 @@ local common_json = import "../common.json";
5861
"windows-jdk19": { packages+: { "devkit:VS2022-17.1.0+1": "==0" }},
5962
"windows-jdk20": { packages+: { "devkit:VS2022-17.1.0+1": "==0" }},
6063
"windows-jdk21": { packages+: { "devkit:VS2022-17.1.0+1": "==1" }},
64+
"windows-jdk22": { packages+: { "devkit:VS2022-17.1.0+1": "==1" }},
6165
"linux-jdk17": { packages+: { "devkit:gcc11.2.0-OL6.4+1": "==0" }},
6266
"linux-jdk19": { packages+: { "devkit:gcc11.2.0-OL6.4+1": "==0" }},
6367
"linux-jdk20": { packages+: { "devkit:gcc11.2.0-OL6.4+1": "==0" }},

common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@
4040
"labsjdk-ce-21-llvm": {"name": "labsjdk", "version": "ce-21+26-jvmci-23.1-b07-sulong", "platformspecific": true },
4141
"labsjdk-ee-21": {"name": "labsjdk", "version": "ee-21+26-jvmci-23.1-b07", "platformspecific": true },
4242
"labsjdk-ee-21Debug": {"name": "labsjdk", "version": "ee-21+26-jvmci-23.1-b07-debug", "platformspecific": true },
43-
"labsjdk-ee-21-llvm": {"name": "labsjdk", "version": "ee-21+26-jvmci-23.1-b07-sulong", "platformspecific": true }
43+
"labsjdk-ee-21-llvm": {"name": "labsjdk", "version": "ee-21+26-jvmci-23.1-b07-sulong", "platformspecific": true },
4444

45+
"oraclejdk22": {"name": "jpg-jdk", "version": "22", "build_id": "1", "release": true, "platformspecific": true, "extrabundles": ["static-libs"]}
4546
},
4647

4748
"eclipse": {

vm/ci/ci_common/libgraal.jsonnet

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ local utils = import '../../../ci/ci_common/common-utils.libsonnet';
7575
"gate-vm-libgraal_compiler_zgc-labsjdk-21-linux-amd64": {},
7676
"gate-vm-libgraal_compiler_quickbuild-labsjdk-21-linux-amd64": {},
7777
"gate-vm-libgraal_truffle_quickbuild-labsjdk-21-linux-amd64": t("1:10:00"),
78+
"gate-vm-libgraal_compiler-oraclejdk-22-linux-amd64": {},
7879
},
7980

8081
# See definition of `dailies` local variable in ../../compiler/ci_common/gate.jsonnet
@@ -115,6 +116,7 @@ local utils = import '../../../ci/ci_common/common-utils.libsonnet';
115116
vm["custom_vm_" + os(os_arch)] +
116117
g.make_build(jdk, os_arch, task, extra_tasks=self, suite="vm",
117118
include_common_os_arch=false,
119+
jdk_name = if jdk == "22" then "oraclejdk" else "labsjdk",
118120
gates_manifest=gates,
119121
dailies_manifest=dailies,
120122
weeklies_manifest=weeklies,
@@ -133,6 +135,28 @@ local utils = import '../../../ci/ci_common/common-utils.libsonnet';
133135
]
134136
],
135137

138+
# Builds run on OracleJDK22
139+
local oraclejdk22_builds = [
140+
c["gate_vm_" + underscore(os_arch)] +
141+
svm_common(os_arch, jdk) +
142+
vm["custom_vm_" + os(os_arch)] +
143+
g.make_build(jdk, os_arch, task, extra_tasks=self, suite="vm",
144+
include_common_os_arch=false,
145+
jdk_name="oraclejdk",
146+
gates_manifest=gates,
147+
dailies_manifest=dailies,
148+
weeklies_manifest=weeklies,
149+
monthlies_manifest=monthlies).build +
150+
vm["vm_java_" + jdk]
151+
for jdk in [
152+
"22"
153+
]
154+
for os_arch in ["linux-amd64"]
155+
for task in [
156+
"libgraal_compiler",
157+
]
158+
],
159+
136160
local adjust_windows_version(gate) = (
137161
# replace 2016 with 2019
138162
gate + { capabilities: [ if x == "windows_server_2016" then "windows_server_2019" else x for x in gate.capabilities ] }
@@ -161,8 +185,8 @@ local utils = import '../../../ci/ci_common/common-utils.libsonnet';
161185
]
162186
],
163187

164-
# Builds run on only on linux-amd64-jdk21
165-
local linux_amd64_jdk21_builds = [
188+
# Coverage builds only on jdk21
189+
local coverage_jdk21_builds = [
166190
c["gate_vm_" + underscore(os_arch)] +
167191
svm_common(os_arch, jdk) +
168192
vm["custom_vm_" + os(os_arch)] +
@@ -189,8 +213,9 @@ local utils = import '../../../ci/ci_common/common-utils.libsonnet';
189213
# Complete set of builds defined in this file
190214
local all_builds =
191215
all_platforms_builds +
216+
oraclejdk22_builds +
192217
all_platforms_zgc_builds +
193-
linux_amd64_jdk21_builds,
218+
coverage_jdk21_builds,
194219

195220
builds: if
196221
g.check_manifest(gates, all_builds, std.thisFile, "gates").result

vm/ci/ci_includes/vm.jsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ local graal_common = import '../../../ci/ci_common/common.jsonnet';
1010
vm_java_17:: graal_common.labsjdk17 + vm_common.vm_env_mixin('17'),
1111
vm_java_20:: graal_common.labsjdk20 + vm_common.vm_env_mixin('20'),
1212
vm_java_21:: graal_common.labsjdk21 + vm_common.vm_env_mixin('21'),
13+
vm_java_22:: graal_common.oraclejdk22 + vm_common.vm_env_mixin('22'),
1314

1415
vm_java_17_llvm:: self.vm_java_17 + graal_common['labsjdk-ce-17-llvm'],
1516
vm_java_20_llvm:: self.vm_java_20 + graal_common['labsjdk-ce-20-llvm'],

0 commit comments

Comments
 (0)