Skip to content
Snippets Groups Projects
Commit aca6c162 authored by Mick Jordan's avatar Mick Jordan
Browse files

update graal import

parent 7f9c33c7
Branches
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, nonZeroIsFatal=True): ...@@ -86,7 +86,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, nonZeroIsFatal=True):
vmArgs = ['-cp', mx.classpath(_r_command_project)] vmArgs = ['-cp', mx.classpath(_r_command_project)]
# jvmci specific # jvmci specific
vmArgs += ['-G:InliningDepthError=500', '-G:EscapeAnalysisIterations=3', '-XX:JVMCINMethodSizeLimit=1000000'] vmArgs += ['-Dgraal.option.InliningDepthError=500', '-Dgraal.option.EscapeAnalysisIterations=3', '-XX:JVMCINMethodSizeLimit=1000000']
if extraVmArgs is None or not '-da' in extraVmArgs: if extraVmArgs is None or not '-da' in extraVmArgs:
# unless explicitly disabled we enable assertion checking # unless explicitly disabled we enable assertion checking
...@@ -114,7 +114,7 @@ def _sanitize_vmArgs(jdk, vmArgs): ...@@ -114,7 +114,7 @@ def _sanitize_vmArgs(jdk, vmArgs):
i = 0 i = 0
while i < len(vmArgs): while i < len(vmArgs):
vmArg = vmArgs[i] vmArg = vmArgs[i]
if vmArg.startswith('-G') or 'JVMCI' in vmArg: if 'graal.option' in vmArg or 'JVMCI' in vmArg:
if vm and vm == "original": if vm and vm == "original":
i = i + 1 i = i + 1
continue continue
......
...@@ -27,7 +27,7 @@ suite = { ...@@ -27,7 +27,7 @@ suite = {
"suites" : [ "suites" : [
{ {
"name" : "graal", "name" : "graal",
"version" : "c07e0f138412a0e2d108ec9e6a879f54e68395f4", "version" : "1375f94fdf3076dddc8ab9574d3ad179d49a4994",
"urls" : [ "urls" : [
{"url" : "http://lafo.ssw.uni-linz.ac.at/hg/graal-compiler", "kind" : "hg"}, {"url" : "http://lafo.ssw.uni-linz.ac.at/hg/graal-compiler", "kind" : "hg"},
{"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"}, {"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"},
...@@ -54,7 +54,7 @@ suite = { ...@@ -54,7 +54,7 @@ suite = {
"resource" : "true" "resource" : "true"
}, },
"ANTLR" : { "ANTLR-3.5" : {
"path" : "libdownloads/antlr-runtime-3.5.jar", "path" : "libdownloads/antlr-runtime-3.5.jar",
"urls" : ["http://central.maven.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar"], "urls" : ["http://central.maven.org/maven2/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar"],
"sha1" : "0baa82bff19059401e90e1b90020beb9c96305d7", "sha1" : "0baa82bff19059401e90e1b90020beb9c96305d7",
...@@ -65,7 +65,7 @@ suite = { ...@@ -65,7 +65,7 @@ suite = {
"sha1" : "NOCHECK", "sha1" : "NOCHECK",
}, },
"ANTLR-C" : { "ANTLR-C-3.5" : {
"path" : "libdownloads/antlr-complete-3.5.1.jar", "path" : "libdownloads/antlr-complete-3.5.1.jar",
"urls" : ["http://central.maven.org/maven2/org/antlr/antlr-complete/3.5.1/antlr-complete-3.5.1.jar"], "urls" : ["http://central.maven.org/maven2/org/antlr/antlr-complete/3.5.1/antlr-complete-3.5.1.jar"],
"sha1" : "ebb4b995fd67a9b291ea5b19379509160f56e154", "sha1" : "ebb4b995fd67a9b291ea5b19379509160f56e154",
...@@ -195,8 +195,8 @@ suite = { ...@@ -195,8 +195,8 @@ suite = {
"sourceDirs" : ["src"], "sourceDirs" : ["src"],
"dependencies" : [ "dependencies" : [
"JDK_TOOLS", "JDK_TOOLS",
"ANTLR", "ANTLR-3.5",
"ANTLR-C", "ANTLR-C-3.5",
], ],
"checkstyle" : "com.oracle.truffle.r.runtime", "checkstyle" : "com.oracle.truffle.r.runtime",
"javaCompliance" : "1.8", "javaCompliance" : "1.8",
...@@ -372,8 +372,8 @@ suite = { ...@@ -372,8 +372,8 @@ suite = {
"dependencies" : ["com.oracle.truffle.r.parser.processor"], "dependencies" : ["com.oracle.truffle.r.parser.processor"],
"exclude" : [ "exclude" : [
"JDK_TOOLS", "JDK_TOOLS",
"ANTLR", "ANTLR-3.5",
"ANTLR-C", "ANTLR-C-3.5",
], ],
}, },
...@@ -398,8 +398,8 @@ suite = { ...@@ -398,8 +398,8 @@ suite = {
"JNR_INVOKE", "JNR_INVOKE",
"JNR_UDIS86", "JNR_UDIS86",
"truffle:JLINE", "truffle:JLINE",
"ANTLR-C", "ANTLR-C-3.5",
"ANTLR", "ANTLR-3.5",
"GNUR", "GNUR",
"GNU_ICONV", "GNU_ICONV",
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment