File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ local common_json = import "../common.json";
109
109
oraclejdkLatest: self ["oraclejdk-latest" ],
110
110
},
111
111
112
- # The devkits versions reflect those used to build the JVMCI JDKs (e.g., see devkit_platform_revisions in <jdk>/make/conf/jib-profiles.js)
112
+ # The devkits versions reflect those used to build the JVMCI JDKs (e.g., see devkit_platform_revisions in <jdk>/make/conf/jib-profiles.js).
113
+ # See deps.windows_devkit to add a devkit on windows conveniently.
113
114
devkits: {
114
115
"windows-jdk17" : { packages+: { "devkit:VS2022-17.1.0+1" : "==0" }},
115
116
"windows-jdk19" : { packages+: { "devkit:VS2022-17.1.0+1" : "==0" }},
@@ -174,6 +175,12 @@ local common_json = import "../common.json";
174
175
175
176
# These dependencies are not included by default in any platform object
176
177
178
+ # Not included by default in $.windows_amd64 and $.windows_server_2016_amd64 because it needs jdk_name.
179
+ # As a note, Native Image needs this to build.
180
+ windows_devkit:: {
181
+ packages+: if self .os == "windows" then $.devkits["windows-" + self .jdk_name].packages else {},
182
+ },
183
+
177
184
eclipse: {
178
185
downloads+: {
179
186
ECLIPSE: {
Original file line number Diff line number Diff line change @@ -80,10 +80,7 @@ local sulong_deps = common.deps.sulong;
80
80
linux_aarch64:: linux_aarch64 + sulong_deps,
81
81
darwin_amd64:: darwin_amd64 + sulong_deps,
82
82
darwin_aarch64:: darwin_aarch64 + sulong_deps,
83
- windows_amd64:: windows_amd64 + sulong_deps + {
84
- local jdk = if self .jdk_name == "jdk-latest" then "jdkLatest" else self .jdk_name,
85
- packages+: common.devkits["windows-" + jdk].packages
86
- },
83
+ windows_amd64:: windows_amd64 + sulong_deps + common.deps.windows_devkit,
87
84
88
85
sulong_notifications:: {
89
86
notify_groups:: ["sulong" ],
Original file line number Diff line number Diff line change 2
2
local common = import '../../ci/ci_common/common.jsonnet' ,
3
3
local utils = import '../../ci/ci_common/common-utils.libsonnet' ,
4
4
local top_level_ci = utils.top_level_ci,
5
- local devkits = common.devkits,
6
5
7
6
local tools_common = {
8
7
setup+: [
90
89
common.linux_aarch64 + common.labsjdkLatest + tools_weekly,
91
90
common.linux_aarch64 + common.labsjdk21 + tools_weekly,
92
91
93
- common.windows_amd64 + common.oraclejdkLatest + tools_weekly + devkits[ "windows-jdkLatest" ] ,
94
- common.windows_amd64 + common.oraclejdk21 + tools_weekly + devkits[ "windows-jdk21" ] ,
92
+ common.windows_amd64 + common.oraclejdkLatest + tools_weekly + common.deps.windows_devkit ,
93
+ common.windows_amd64 + common.oraclejdk21 + tools_weekly + common.deps.windows_devkit ,
95
94
96
95
common.darwin_amd64 + common.oraclejdkLatest + tools_weekly,
97
96
common.darwin_amd64 + common.oraclejdk21 + tools_weekly,
You can’t perform that action at this time.
0 commit comments