forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.hocon
238 lines (200 loc) · 5.26 KB
/
common.hocon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
specVersion = "2"
# oraclejdk* are released OracleJDK binaries
# oraclejdk* are JDKs based on OracleJDK binaries
# openjdk8 JDKs on Linux are built by Oracle Labs
# openjdk8 JDKs on macOS are based on AdoptOpenJDK binaries
include "common.json"
include "graal-common.json"
# overlay version
overlay = ${ci.overlay}
# This must always point to HEAD in the master branch but can be used to point
# to another branch/commit in a Graal PR when mx changes are required for the PR.
mx : {
packages : {
mx: "HEAD"
}
}
download-hsdis : {
setup : [
["mx", "hsdis", "||", "true"]
]
}
oraclejdk8 : { downloads : { JAVA_HOME : ${jdks.oraclejdk8}, EXTRA_JAVA_HOMES : { pathlist :[ ${jdks.labsjdk-ee-11} ]} }}
oraclejdk8Only : { downloads : { JAVA_HOME : ${jdks.oraclejdk8} }}
oraclejdk8Debug : { downloads : { JAVA_HOME : ${jdks.oraclejdk8Debug}, EXTRA_JAVA_HOMES : { pathlist :[ ${jdks.labsjdk-ee-11} ]} }}
oraclejdk8OnlyDebug : { downloads : { JAVA_HOME : ${jdks.oraclejdk8Debug} }}
openjdk8 : { downloads : { JAVA_HOME : ${jdks.openjdk8} }}
oraclejdk11 : { downloads : { JAVA_HOME : ${jdks.oraclejdk11} }}
oraclejdk15 : { downloads : { JAVA_HOME : ${jdks.oraclejdk15} }}
openjdk11 : { downloads : { JAVA_HOME : ${jdks.openjdk11} }}
labsjdk-ce-11 : { downloads : { JAVA_HOME : ${jdks.labsjdk-ce-11} }}
labsjdk-ee-11 : { downloads : { JAVA_HOME : ${jdks.labsjdk-ee-11} }}
labsjdk-ce-15 : { downloads : { JAVA_HOME : ${jdks.labsjdk-ce-15} }}
labsjdk-ee-15 : { downloads : { JAVA_HOME : ${jdks.labsjdk-ee-15} }}
labsjdk-ce-15Debug : { downloads : { JAVA_HOME : ${jdks.labsjdk-ce-15Debug} }}
labsjdk-ee-15Debug : { downloads : { JAVA_HOME : ${jdks.labsjdk-ee-15Debug} }}
common : ${mx} {
timelimit : "30:00"
environment : {
MX_PYTHON: "python3"
}
catch_files : [
"Graal diagnostic output saved in (?P<filename>.+\.zip)"
]
packages : {
"pip:logilab-common ": "==1.4.4"
"pip:pylint" : "==1.9.3"
"pip:ninja_syntax" : "==1.7.2"
}
}
linux : ${common} {
packages : {
git : ">=1.8.3"
mercurial : ">=2.2"
"apache/ant": ">=1.9.4"
}
}
solaris : ${common} {
packages : {
git : ">=1.8.3"
mercurial : ">=2.2"
"apache/ant": ">=1.9.4"
}
}
darwin : ${common} {
environment : {
# Required to keep pylint happy on Darwin
# https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python
LC_ALL : "en_US.UTF-8"
}
}
windows : ${common} {
}
linux-amd64 : ${linux} {
capabilities : [linux, amd64]
}
darwin-amd64 : ${darwin} {
capabilities : [darwin, amd64]
}
windows-amd64 : ${windows} {
capabilities : [windows, amd64]
}
solaris-sparcv9 : ${solaris} {
capabilities : [solaris, sparcv9]
}
linux-sparcv9 : ${linux} {
capabilities : [linux, sparcv9]
}
linux-aarch64 : ${linux} {
capabilities : [linux, aarch64]
}
DEFAULT_HEAP_SIZE : "8G"
LARGE_HEAP_SIZE : "31G"
LARGE_YOUNG_GEN_SIZE : "27G"
eclipse : {
downloads : {
ECLIPSE : {name: eclipse, version: "4.14.0", platformspecific: true}
}
environment : {
ECLIPSE_EXE : "$ECLIPSE/eclipse"
}
}
jdt : {
downloads : {
JDT : {name: ecj, version: "4.14.0", platformspecific: false}
}
}
# for cases where a maven package is not easily accessible
maven-download-unix : {
downloads : {
MAVEN_HOME: {name: maven, version: "3.3.9", platformspecific: false}
}
environment : {
PATH : "$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH"
}
}
linux-deploy : ${linux} {
packages : {
maven : ">=3.3.9"
}
}
solaris-deploy : ${solaris} ${maven-download-unix}
darwin-deploy : ${darwin} ${maven-download-unix} {
environment : {
PATH : "$MAVEN_HOME/bin:$JAVA_HOME/bin:/usr/local/bin:$PATH"
}
}
svm-common: ${mx} {
environment: {
DEFAULT_VM: "server"
LANG: "en_US.UTF-8"
}
logs: [
"../.native-image/*/*/*/*.log"
"../*/*/*.log"
"*/*.log"
"*/svmbuild/*.log"
"*/svmbuild/images/*.log"
"*/*/stripped/*.map"
"*/callgrind.*"
"*.bgv"
"*.log"
]
}
svm-common-linux-amd64: ${svm-common} ${linux-amd64} {
packages: {
make: ">=3.83"
gcc-build-essentials: ">=4.9.1" # GCC 4.9.0 fails on cluster
binutils: ">=2.30"
ruby: ">=2.1.0"
valgrind: ">=3.9.0"
}
timelimit: "55:00"
}
svm-common-linux-aarch64: ${svm-common} ${linux-aarch64} {
packages: {
make: ">=3.83"
gcc-build-essentials: ">=4.9.1" # GCC 4.9.0 fails on cluster
ruby: ">=2.1.0"
valgrind: ">=3.9.0"
}
timelimit: "55:00"
}
# fast is necessary here as slow machines don't handle image builds well
svm-capabilities: [linux, amd64, fast]
svm-capabilities-base : {
capabilities : ${svm-capabilities}
}
svm-capabilities-avx2 : {
capabilities : ${svm-capabilities} [avx2]
}
svm-capabilities-manycores : {
capabilities : ${svm-capabilities} [manycores]
}
svm-common-darwin: ${svm-common} ${darwin-amd64} {
timelimit: "45:00"
}
svm-common-windows: ${svm-common} ${windows-amd64} {
packages : {
msvc : "==10.0"
}
timelimit: "45:00"
}
windows-devkit-jdk11: {
packages : {
"devkit:VS2017-15.9.16+1" : "==0"
}
}
windows-devkit-jdk15: {
packages : {
"devkit:VS2019-16.5.3+1" : "==0"
}
}
svm-common-windows-jdk11: ${svm-common} ${windows-amd64} ${windows-devkit-jdk11} {
timelimit: "45:00"
}
svm-common-sulong: {
packages: {
llvm: "==6.0.1"
}
}