forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.hocon
185 lines (154 loc) · 4.12 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
# overlay version
overlay = 6f4b88a4acc9895abdd60473e21aac1257ee8fca
# labsjdk* are JDKs based on OracleJDK binaries
# openjdk* are JDKs based on OpenJDK binaries
jdks: {
labsjdk8 : {name : labsjdk, version : "8u161-jvmci-0.41", platformspecific: true}
labsjdk9 : {name : labsjdk, version : "9+181", platformspecific: true}
labsjdk8Debug : {name : labsjdk, version : "8u161-jvmci-0.41-fastdebug", platformspecific: true}
# Strictly speaking, this is labsjdk-jdk-hs-snapshot but for
# readability we use the java.specification.version reported by the snapshot.
# This means the name will change to labsjdk11 at some point.
labsjdk10 : {name : labsjdk, version : "20180130-162725", platformspecific: true}
}
# Overlay placeholder for pinning mx to a specific revision
mx : {}
labsjdk8 : { downloads : { JAVA_HOME : ${jdks.labsjdk8} }}
labsjdk8Debug : { downloads : { JAVA_HOME : ${jdks.labsjdk8Debug} }}
# GR-5675
# openjdk8 : { downloads : { JAVA_HOME : ${jdks.openjdk8} }}
labsjdk9 : { downloads : { JAVA_HOME : ${jdks.labsjdk9}, EXTRA_JAVA_HOMES : { pathlist :[ ${jdks.labsjdk8} ]} }}
labsjdk10 : { downloads : { JAVA_HOME : ${jdks.labsjdk10}, EXTRA_JAVA_HOMES : { pathlist :[ ${jdks.labsjdk8} ]} }}
common : ${mx} {
timelimit : "30:00"
catch_files : [
"Graal diagnostic output saved in (?P<filename>.+\.zip)"
]
}
linux : ${common} {
packages : {
git : ">=1.8.3"
mercurial : ">=2.2"
"pip:astroid" : "==1.1.0"
"pip:pylint" : "==1.1.0"
}
}
solaris : ${common} {
packages : {
git : ">=1.8.3"
mercurial : ">=2.2"
"pip:astroid" : "==1.1.0"
"pip:pylint" : "==1.1.0"
}
}
darwin : ${common} {
packages : {
"pip:astroid" : "==1.1.0"
"pip:pylint" : "==1.1.0"
}
environment : {
PATH : "/usr/local/bin:$PATH"
}
}
linux-amd64 : ${linux} {
capabilities : [linux, amd64]
}
darwin-amd64 : ${darwin} {
capabilities : [darwin_next, amd64]
}
solaris-sparcv9 : ${solaris} {
capabilities : [solaris, sparcv9]
}
linux-sparcv9 : ${linux} {
capabilities : [linux, sparcv9]
}
linux-aarch64 : ${linux} {
capabilities : [linux, aarch64]
}
eclipse : {
downloads : {
ECLIPSE : {name: eclipse, version: "4.5.2", platformspecific: true}
}
environment : {
ECLIPSE_EXE : "$ECLIPSE/eclipse"
}
}
jdt : {
downloads : {
JDT : {name: ecj, version: "4.5.1", platformspecific: false}
}
}
# for cases where a maven package is not easily accessible
maven-download-unix : ${labsjdk8} {
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"
}
}
deploy-binaries : ${labsjdk8} {
targets : [post-merge, deploy]
run : [
["mx", "--strict-compliance", "build"]
["mx", "deploy-binary", "--all-suites", "--skip-existing", ${binaries-repository}]
]
}
maven-deploy-dry-run : ${labsjdk8} {
targets : [gate]
run : [
["mx", "--strict-compliance", "build"]
["mx", "maven-deploy", "--validate", "full", "--licenses", "GPLv2-CPE,UPL", "--dry-run", "ossrh", "https://this-is-only-a-test"]
]
}
svm-common: ${mx} {
environment: {
DEFAULT_VM: "server"
LANG: "en_US.UTF-8"
}
logs: [
"*/native_image_server.log"
"*/svmbuild/*.log"
"*/svmbuild/images/*.log"
"*/*/stripped/*.map"
"*/callgrind.*"
"*.bgv"
]
}
svm-common-linux: ${svm-common} ${linux-amd64} {
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"
}
svm-capabilities-fast : {
capabilities : [linux, amd64, fast]
}
svm-capabilities-avx2 : {
capabilities : [linux, amd64, avx2]
}
svm-capabilities-manycores : {
capabilities : [linux, amd64, manycores, fast]
}
svm-common-darwin: ${svm-common} ${darwin-amd64} {
timelimit: "45:00"
}
svm-common-sulong: {
packages: {
llvm: "==3.8"
}
}