Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/buildenv/jenkins/variables/defaults.yml
12838 views
1
###############################################################################
2
# Copyright (c) 2018, 2022 IBM Corp. and others
3
#
4
# This program and the accompanying materials are made available under
5
# the terms of the Eclipse Public License 2.0 which accompanies this
6
# distribution and is available at https://www.eclipse.org/legal/epl-2.0/
7
# or the Apache License, Version 2.0 which accompanies this distribution and
8
# is available at https://www.apache.org/licenses/LICENSE-2.0.
9
#
10
# This Source Code may also be made available under the following
11
# Secondary Licenses when the conditions for such availability set
12
# forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
13
# General Public License, version 2 with the GNU Classpath
14
# Exception [1] and GNU General Public License, version 2 with the
15
# OpenJDK Assembly Exception [2].
16
#
17
# [1] https://www.gnu.org/software/classpath/license.html
18
# [2] http://openjdk.java.net/legal/assembly-exception.html
19
#
20
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
21
###############################################################################
22
#========================================#
23
# Git repositories
24
#========================================#
25
# Eclipse OpenJ9 extensions repositories
26
openjdk:
27
8:
28
default:
29
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk8.git'
30
branch: 'openj9'
31
11:
32
default:
33
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk11.git'
34
branch: 'openj9'
35
17:
36
default:
37
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk17.git'
38
branch: 'openj9'
39
18:
40
default:
41
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk18.git'
42
branch: 'openj9'
43
next:
44
default:
45
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk.git'
46
branch: 'openj9'
47
[aarch64_linux_valhalla, aarch64_linux_vt_standard, ppc64_aix_valhalla, ppc64_aix_vt_standard, ppc64le_linux_valhalla, ppc64le_linux_vt_standard, s390x_linux_valhalla, s390x_linux_vt_standard, x86-64_mac_valhalla, x86-64_mac_vt_standard, x86-64_linux_valhalla, x86-64_linux_vt_standard, x86-64_windows_valhalla, x86-64_windows_vt_standard]:
48
repoUrl: 'https://github.com/ibmruntimes/openj9-openjdk-jdk.valuetypes.git'
49
branch: 'openj9'
50
# OpenJ9 & OMR Repos (used by ref repo updater)
51
openj9:
52
default:
53
repoUrl: 'https://github.com/eclipse-openj9/openj9.git'
54
omr:
55
default:
56
repoUrl: 'https://github.com/eclipse/omr.git'
57
# Adoptium AQA Testing repository
58
adoptopenjdk:
59
default:
60
repoUrl: 'https://github.com/adoptium/aqa-tests.git'
61
branch: 'master'
62
#========================================#
63
# Artifactory settings
64
#========================================#
65
artifactory:
66
defaultGeo: 'osu'
67
server:
68
osu: 'ci-eclipse-openj9'
69
unb: 'ci-eclipse-openj9-unb'
70
repo:
71
default: 'ci-openj9'
72
uploadDir:
73
default: "${repo}/${JOB_NAME}/${BUILD_ID}"
74
daysToKeepArtifacts:
75
osu: 40
76
unb: 30
77
manualCleanup:
78
osu: true
79
unb: true
80
vpn:
81
osu: false
82
unb: true
83
#========================================#
84
# Miscellaneous settings
85
#========================================#
86
misc:
87
jdk_image_dir:
88
all: 'jdk'
89
8: 'j2sdk-image'
90
test_keep_reportdir:
91
sanity.openjdk: 'true'
92
extended.openjdk: 'true'
93
special.openjdk: 'true'
94
sdk_filename_template:
95
default: "OpenJ9-JDK${SDK_VERSION}-${SPEC}-${DATESTAMP}${SDK_FILE_EXT}"
96
credentials:
97
github: 'github-bot'
98
dockerhub: 'docker-login'
99
test_dependencies_job_name: 'test.getDependency'
100
slack_channel: '#jenkins'
101
build_discarder:
102
logs:
103
Nightly: 40
104
Release: 5
105
OMR: 15
106
OpenJDK8: 5
107
OpenJDK11: 5
108
OpenJDK17: 10
109
OpenJDK18: 10
110
OpenJDK: 10
111
Personal: 30
112
Pipeline: 100
113
restart_timeout:
114
time: '5'
115
units: 'HOURS'
116
#========================================#
117
# Debug information
118
#========================================#
119
debuginfo:
120
extra_configure_options:
121
8: '--disable-zip-debug-info'
122
#========================================#
123
# JITServer
124
#========================================#
125
jitserver:
126
extra_configure_options: '--enable-jitserver'
127
test_flags: 'JITAAS'
128
#========================================#
129
# OpenSSL
130
#========================================#
131
openssl:
132
extra_getsource_options: '--openssl-version=1.1.1m'
133
extra_configure_options: '--with-openssl=fetched'
134
#========================================#
135
# OpenSSL Bundling
136
#========================================#
137
openssl_bundle:
138
extra_configure_options: --enable-openssl-bundling
139
#========================================#
140
# Reference Repo
141
#========================================#
142
openjdk_reference_repo:
143
openjdk_reference_repo: '/home/jenkins/openjdk_cache'
144
#========================================#
145
# BootJDK Default values
146
#========================================#
147
boot_jdk_default:
148
boot_jdk:
149
location:
150
all: '${HOME}/bootjdks'
151
version:
152
8: '8'
153
11: '11'
154
17: '17'
155
18: '17'
156
next: '17'
157
dir_strip:
158
all: '1'
159
url:
160
all: "https://api.adoptopenjdk.net/v3/binary/latest/${bootJDKVersion}/ga/${os}/${arch}/jdk/openj9/normal/adoptopenjdk?project=jdk"
161
#========================================#
162
# CRIU
163
#========================================#
164
criu:
165
extra_configure_options: '--enable-criu-support'
166
#========================================#
167
# Cuda
168
#========================================#
169
cuda:
170
extra_configure_options: '--enable-cuda'
171
#========================================#
172
# Cuda with version
173
#========================================#
174
cuda_version:
175
extends: ['cuda']
176
extra_configure_options: '--with-cuda=/usr/local/cuda-9.0'
177
#========================================#
178
# Valhalla
179
#========================================#
180
valhalla:
181
extra_configure_options: '--enable-inline-types'
182
test_build_list: 'functional/Valhalla,functional/cmdline_options_tester,functional/cmdLineTests/valuetypeddrtests'
183
#========================================#
184
# Valhalla Standard Testing
185
#========================================#
186
valhalla_standard:
187
extra_configure_options: '--enable-inline-types'
188
#========================================#
189
# OpenJDK JSR292
190
#========================================#
191
ojdk292:
192
extra_configure_options: '--enable-openjdk-methodhandles'
193
#========================================#
194
# Linux PPCLE 64bits
195
#========================================#
196
ppc64le_linux:
197
extends: ['boot_jdk_default', 'cuda_version', 'debuginfo', 'openjdk_reference_repo', 'openssl']
198
boot_jdk:
199
arch: 'ppc64le'
200
os: 'linux'
201
release:
202
all: 'linux-ppc64le-server-release'
203
8: 'linux-ppc64le-normal-server-release'
204
11: 'linux-ppc64le-normal-server-release'
205
node_labels:
206
build: 'ci.role.build && hw.arch.ppc64le && sw.os.cent.7'
207
extra_configure_options:
208
all: '--enable-jitserver'
209
build_env:
210
cmd: 'source /home/jenkins/set_gcc7.5.0_env'
211
#========================================#
212
# Linux PPCLE 64bits /w JITSERVER
213
#========================================#
214
ppc64le_linux_jit:
215
extends: ['ppc64le_linux', 'jitserver']
216
#========================================#
217
# Linux S390 64bits
218
# Note: boot_jdk 8 must use an Adopt JDK8 build rather than an
219
# IBM 7 for the bootJDK or compiling corba will fail to find Object.
220
#========================================#
221
s390x_linux:
222
extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']
223
boot_jdk:
224
arch: 's390x'
225
os: 'linux'
226
release:
227
all: 'linux-s390x-server-release'
228
8: 'linux-s390x-normal-server-release'
229
11: 'linux-s390x-normal-server-release'
230
node_labels:
231
build: 'ci.role.build && hw.arch.s390x && sw.os.rhel.7'
232
build_env:
233
cmd: 'source /home/jenkins/set_gcc7.5.0_env'
234
excluded_tests:
235
8:
236
- special.system
237
#========================================#
238
# Linux S390 64bits /w JITSERVER
239
#========================================#
240
s390x_linux_jit:
241
extends: ['s390x_linux', 'jitserver']
242
#========================================#
243
# AIX PPC 64bits
244
#========================================#
245
ppc64_aix:
246
extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']
247
boot_jdk:
248
location: '/opt/bootjdks'
249
arch: 'ppc64'
250
os: 'aix'
251
release:
252
all: 'aix-ppc64-server-release'
253
8: 'aix-ppc64-normal-server-release'
254
11: 'aix-ppc64-normal-server-release'
255
node_labels:
256
build: 'ci.role.build && hw.arch.ppc64 && sw.os.aix'
257
extra_configure_options:
258
all: '--with-cups-include=/opt/freeware/include'
259
8: ' --disable-ccache'
260
11: '--disable-warnings-as-errors'
261
17: '--disable-warnings-as-errors'
262
18: '--disable-warnings-as-errors'
263
next: '--disable-warnings-as-errors'
264
build_env:
265
vars:
266
8: 'PATH+XLC=/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin'
267
11: 'PATH+XLC=/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin'
268
17: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
269
18: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
270
next: 'PATH+XLC=/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin CC=xlclang CXX=xlclang++'
271
excluded_tests:
272
8:
273
- special.system
274
#========================================#
275
# Linux x86 64bits
276
#========================================#
277
x86-64_linux:
278
extends: ['boot_jdk_default', 'cuda_version', 'debuginfo', 'openjdk_reference_repo', 'openssl']
279
boot_jdk:
280
arch: 'x64'
281
os: 'linux'
282
release:
283
all: 'linux-x86_64-server-release'
284
8: 'linux-x86_64-normal-server-release'
285
11: 'linux-x86_64-normal-server-release'
286
node_labels:
287
build:
288
all: 'ci.role.build && hw.arch.x86 && sw.os.cent.7'
289
8: 'ci.role.build && hw.arch.x86 && sw.tool.docker'
290
11: 'ci.role.build && hw.arch.x86 && sw.tool.docker'
291
docker_image:
292
8: 'eclipseopenj9/jenkins-agent-x86-centos6:16'
293
11: 'eclipseopenj9/jenkins-agent-x86-centos6:16'
294
extra_configure_options:
295
all: '--enable-jitserver'
296
build_env:
297
cmd:
298
17: 'source /home/jenkins/set_gcc7.5.0_env'
299
18: 'source /home/jenkins/set_gcc7.5.0_env'
300
next: 'source /home/jenkins/set_gcc7.5.0_env'
301
vars: 'OPENJ9_JAVA_OPTIONS=-Xdump:system+java:events=systhrow,filter=java/lang/ClassCastException,request=exclusive+prepwalk+preempt'
302
extra_test_labels:
303
17: '!sw.os.cent.6'
304
18: '!sw.os.cent.6'
305
next: '!sw.os.cent.6'
306
excluded_tests:
307
11:
308
- special.system
309
#========================================#
310
# Linux x86 64bits /w JITSERVER
311
#========================================#
312
x86-64_linux_jit:
313
extends: ['x86-64_linux', 'jitserver']
314
#========================================#
315
# Linux Aarch 64bits
316
#========================================#
317
aarch64_linux:
318
extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl']
319
boot_jdk:
320
arch: 'aarch64'
321
os: 'linux'
322
release:
323
all: 'linux-aarch64-server-release'
324
8: 'linux-aarch64-normal-server-release'
325
11: 'linux-aarch64-normal-server-release'
326
node_labels:
327
build: 'ci.role.build && hw.arch.aarch64 && sw.tool.docker'
328
docker_image: 'adoptopenjdk/centos7_build_image@sha256:b2cc072a5c6196461a0993c6817d7540b8c8fcbce40f63cd5bb49eb6d7d61d89'
329
build_env:
330
vars: 'CC=/usr/local/gcc/bin/gcc-7.5 CXX=/usr/local/gcc/bin/g++-7.5'
331
#========================================#
332
# Windows x86 64bits
333
#========================================#
334
x86-64_windows:
335
extends: ['boot_jdk_default', 'cuda', 'debuginfo', 'openjdk_reference_repo', 'openssl', 'openssl_bundle']
336
boot_jdk:
337
location:
338
all: '/cygdrive/f/Users/jenkins/bootjdks'
339
arch: 'x64'
340
os: 'windows'
341
release:
342
all: 'windows-x86_64-server-release'
343
8: 'windows-x86_64-normal-server-release'
344
11: 'windows-x86_64-normal-server-release'
345
freemarker: '/cygdrive/c/openjdk/freemarker.jar'
346
extra_configure_options:
347
all: '--disable-ccache --with-cuda="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0"'
348
8: '--with-toolchain-version=2013 --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3'
349
11: '--with-toolchain-version=2017'
350
17: '--with-toolchain-version=2019'
351
18: '--with-toolchain-version=2019'
352
next: '--with-toolchain-version=2019'
353
node_labels:
354
build: 'ci.role.build && hw.arch.x86 && sw.os.windows'
355
build_env:
356
vars: 'PATH+TOOLS=/cygdrive/c/openjdk/LLVM64/bin:/cygdrive/c/openjdk/nasm-2.13.03'
357
excluded_tests:
358
8:
359
- special.system
360
11:
361
- special.system
362
#========================================#
363
# Windows x86 32bits
364
#========================================#
365
x86-32_windows:
366
extends: ['boot_jdk_default', 'debuginfo', 'openjdk_reference_repo', 'openssl', 'openssl_bundle']
367
boot_jdk:
368
location:
369
all: '/cygdrive/f/Users/jenkins/bootjdks'
370
arch: 'x64'
371
os: 'windows'
372
release:
373
8: 'windows-x86-normal-server-release'
374
extra_configure_options:
375
8: '--with-toolchain-version=2013 --with-freetype-src=/cygdrive/c/openjdk/freetype-2.5.3 --with-target-bits=32 --disable-ccache'
376
freemarker: '/cygdrive/c/openjdk/freemarker.jar'
377
node_labels:
378
build:
379
8: 'ci.role.build && hw.arch.x86 && sw.os.windows'
380
build_env:
381
vars:
382
8: 'PATH+TOOLS=/cygdrive/c/openjdk/LLVM32/bin:/cygdrive/c/openjdk/nasm-2.13.03'
383
excluded_tests:
384
8:
385
- special.system
386
#========================================#
387
# OSX x86 64bits
388
#========================================#
389
x86-64_mac:
390
extends: ['boot_jdk_default', 'debuginfo', 'openssl', 'openssl_bundle']
391
boot_jdk:
392
arch: 'x64'
393
os: 'mac'
394
dir_strip:
395
all: '3'
396
release:
397
all: 'macosx-x86_64-server-release'
398
8: 'macosx-x86_64-normal-server-release'
399
11: 'macosx-x86_64-normal-server-release'
400
extra_configure_options:
401
8: '--with-toolchain-type=clang --with-freetype=/usr/local/freetype-2.9.1'
402
freemarker: '/Users/jenkins/freemarker.jar'
403
openjdk_reference_repo: '/Users/jenkins/openjdk_cache'
404
node_labels:
405
build: 'ci.role.build && hw.arch.x86 && sw.os.mac.10_14'
406
build_env:
407
vars: 'OPENJ9_JAVA_OPTIONS=-Xdump:system+java:events=systhrow,filter=java/lang/ClassCastException,request=exclusive+prepwalk+preempt'
408
excluded_tests:
409
8:
410
- special.system
411
11:
412
- special.system
413
#========================================#
414
# Mac M1 Aarch64
415
#========================================#
416
aarch64_mac:
417
extends: ['boot_jdk_default', 'openssl', 'openssl_bundle']
418
boot_jdk:
419
arch: 'aarch64'
420
os: 'mac'
421
dir_strip:
422
all: '3'
423
release:
424
all: 'macosx-aarch64-server-release'
425
8: 'macosx-aarch64-normal-server-release'
426
11: 'macosx-aarch64-normal-server-release'
427
extra_configure_options:
428
all: '--disable-warnings-as-errors --with-noncompressedrefs --disable-ddr'
429
openjdk_reference_repo: '/Users/jenkins/openjdk_cache'
430
node_labels:
431
build: 'ci.role.build && hw.arch.aarch64 && sw.os.mac'
432
excluded_tests:
433
8:
434
- special.system
435
11:
436
- special.system
437
#========================================#
438
# Linux PPCLE 64bits /w OpenJDK JSR292
439
#========================================#
440
ppc64le_linux_ojdk292:
441
extends: ['ppc64le_linux', 'ojdk292']
442
#========================================#
443
# Linux S390 64bits /w OpenJDK JSR292
444
#========================================#
445
s390x_linux_ojdk292:
446
extends: ['s390x_linux', 'ojdk292']
447
#========================================#
448
# AIX PPC 64bits /w OpenJDK JSR292
449
#========================================#
450
ppc64_aix_ojdk292:
451
extends: ['ppc64_aix', 'ojdk292']
452
#========================================#
453
# Linux x86 64bits /w OpenJDK JSR292
454
#========================================#
455
x86-64_linux_ojdk292:
456
extends: ['x86-64_linux', 'ojdk292']
457
#========================================#
458
# Windows x86 64bits /w OpenJDK JSR292
459
#========================================#
460
x86-64_windows_ojdk292:
461
extends: ['x86-64_windows', 'ojdk292']
462
#========================================#
463
# Windows x86 32bits /w OpenJDK JSR292
464
#========================================#
465
x86-32_windows_ojdk292:
466
extends: ['x86-32_windows', 'ojdk292']
467
#========================================#
468
# OSX x86 64bits /w OpenJDK JSR292
469
#========================================#
470
x86-64_mac_ojdk292:
471
extends: ['x86-64_mac', 'ojdk292']
472
#========================================#
473
# Linux Aarch64 64bits /w OpenJDK JSR292
474
#========================================#
475
aarch64_linux_ojdk292:
476
extends: ['aarch64_linux', 'ojdk292']
477
#========================================#
478
# AOT testing
479
#========================================#
480
aot:
481
test_flags: 'AOT'
482
ppc64_aix_aot:
483
extends: ['ppc64_aix', 'aot']
484
ppc64le_linux_aot:
485
extends: ['ppc64le_linux', 'aot']
486
s390x_linux_aot:
487
extends: ['s390x_linux', 'aot']
488
x86-64_linux_aot:
489
extends: ['x86-64_linux', 'aot']
490
x86-64_mac_aot:
491
extends: ['x86-64_mac', 'aot']
492
x86-64_windows_aot:
493
extends: ['x86-64_windows', 'aot']
494
#========================================#
495
# Valhalla Testing
496
#========================================#
497
x86-64_linux_valhalla:
498
extends: ['x86-64_linux', 'valhalla']
499
x86-64_linux_vt_standard:
500
extends: ['x86-64_linux', 'valhalla_standard']
501
ppc64le_linux_valhalla:
502
extends: ['ppc64le_linux', 'valhalla']
503
ppc64le_linux_vt_standard:
504
extends: ['ppc64le_linux', 'valhalla_standard']
505
x86-64_mac_valhalla:
506
extends: ['x86-64_mac', 'valhalla']
507
x86-64_mac_vt_standard:
508
extends: ['x86-64_mac', 'valhalla_standard']
509
x86-64_windows_valhalla:
510
extends: ['x86-64_windows', 'valhalla']
511
x86-64_windows_vt_standard:
512
extends: ['x86-64_windows', 'valhalla_standard']
513
aarch64_linux_valhalla:
514
extends: ['aarch64_linux', 'valhalla']
515
aarch64_linux_vt_standard:
516
extends: ['aarch64_linux', 'valhalla_standard']
517
ppc64_aix_valhalla:
518
extends: ['ppc64_aix_linux', 'valhalla']
519
ppc64_aix_vt_standard:
520
extends: ['ppc64_aix_linux', 'valhalla_standard']
521
s390x_linux_valhalla:
522
extends: ['s390x_linux', 'valhalla']
523
s390x_linux_vt_standard:
524
extends: ['s390x_linux', 'valhalla_standard']
525
#========================================#
526
# CRIU
527
#========================================#
528
x86-64_linux_criu:
529
extends: ['x86-64_linux', 'criu']
530
ppc64le_linux_criu:
531
extends: ['ppc64le_linux', 'criu']
532
s390x_linux_criu:
533
extends: ['s390x_linux', 'criu']
534
aarch64_linux_criu:
535
extends: ['aarch64_linux', 'criu']
536
537