Skip to content

Commit

Permalink
[GR-29150] [GR-24662] CI: move more definitions from common.hocon to …
Browse files Browse the repository at this point in the history
…common.json.

PullRequest: graal/8197
  • Loading branch information
zapster committed Feb 5, 2021
2 parents eb77be0 + ad18770 commit 5ab2a1d
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 39 deletions.
45 changes: 6 additions & 39 deletions common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,17 @@ 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"
}
common : ${mx} ${deps.common} {
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"
}
}
linux : ${common} ${deps.linux}

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"
}
}
darwin : ${common} ${deps.darwin}

windows : ${common} {
}
windows : ${common} ${deps.windows}

linux-amd64 : ${linux} {
capabilities : [linux, amd64]
Expand All @@ -96,20 +74,9 @@ 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"
}
}
eclipse : ${downloads.eclipse}

jdt : {
downloads : {
JDT : {name: ecj, version: "4.14.0", platformspecific: false}
}
}
jdt : ${downloads.jdt}

# for cases where a maven package is not easily accessible
maven-download-unix : {
Expand Down
55 changes: 55 additions & 0 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,62 @@
"windows-jdk11": { "packages" : { "devkit:VS2017-15.9.24+1" : "==0" }},
"windows-jdk15": { "packages" : { "devkit:VS2019-16.5.3+1" : "==0" }}
},
"deps": {
"common": {
"timelimit": "30:00",
"environment": {
"MX_PYTHON": "python3"
},
"packages": {
"pip:logilab-common ": "==1.4.4",
"pip:pylint": "==1.9.3",
"pip:ninja_syntax": "==1.7.2"
}
},

"linux": {
"packages": {
"git": ">=1.8.3",
"mercurial": ">=2.2",
"apache/ant": ">=1.9.4"
}
},
"COMMENT.darwin": [
"Required to keep pylint happy on Darwin",
"https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python"
],
"darwin": {
"environment": {
"LC_ALL": "en_US.UTF-8"
}
},
"windows": {
}

},
"downloads": {
"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
}
}
}
},
"sulong": {
"deps": {
"linux": {
Expand Down

0 comments on commit 5ab2a1d

Please sign in to comment.