# HG changeset patch # User Doug Simon # Date 1451150067 -3600 # Node ID 75a807751aa6fc3f42e277bbec3b4a533ec92ca8 # Parent a1bfeec724582821e4c4e548d09eb028fe4abfdc renamed existing GRAAL dist to GRAAL_RUNTIME and defined new monolithic GRAAL dist for use only when on JDK9 diff -r a1bfeec72458 -r 75a807751aa6 mx.graal/mx_graal_8.py --- a/mx.graal/mx_graal_8.py Thu Dec 24 11:43:35 2015 -1000 +++ b/mx.graal/mx_graal_8.py Sat Dec 26 18:14:27 2015 +0100 @@ -91,7 +91,7 @@ JvmciJDKDeployedDist('GRAAL_NODEINFO'), JvmciJDKDeployedDist('GRAAL_API'), JvmciJDKDeployedDist('GRAAL_COMPILER'), - JvmciJDKDeployedDist('GRAAL'), + JvmciJDKDeployedDist('GRAAL_RUNTIME'), GraalJDKDeployedDist(), JvmciJDKDeployedDist('GRAAL_TRUFFLE'), JvmciJDKDeployedDist('GRAAL_TRUFFLE_HOTSPOT'), diff -r a1bfeec72458 -r 75a807751aa6 mx.graal/mx_graal_9.py --- a/mx.graal/mx_graal_9.py Thu Dec 24 11:43:35 2015 -1000 +++ b/mx.graal/mx_graal_9.py Sat Dec 26 18:14:27 2015 +0100 @@ -96,14 +96,7 @@ _compilers = ['graal-economy', 'graal'] _bootClasspathDists = [ - BootClasspathDist('GRAAL_OPTIONS'), - BootClasspathDist('GRAAL_NODEINFO'), - BootClasspathDist('GRAAL_API'), - BootClasspathDist('GRAAL_COMPILER'), BootClasspathDist('GRAAL'), - BootClasspathDist('GRAAL_HOTSPOT'), - BootClasspathDist('GRAAL_TRUFFLE'), - BootClasspathDist('GRAAL_TRUFFLE_HOTSPOT'), ] def add_compiler(compilerName): diff -r a1bfeec72458 -r 75a807751aa6 mx.graal/suite.py --- a/mx.graal/suite.py Thu Dec 24 11:43:35 2015 -1000 +++ b/mx.graal/suite.py Sat Dec 26 18:14:27 2015 +0100 @@ -93,10 +93,10 @@ # This library is not added to the boot class path at run time and so code # compiled against this library must be run on (JVMCI enabled) JDK9. "JVMCI" : { - "sha1" : "a4fbc1bccc729cdfd5678c4a27a2cbabbef384d2", - "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-2d4718284a09.jar"], - "sourceSha1" : "ce91feae6de27b8fa85579a43333fea1320b9d35", - "sourceUrls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-2d4718284a09.src.zip"], + "sha1" : "c9d62b2b7408592cd8805aa1cdb2f01189b81dff", + "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-5ecfc0f99fed.jar"], + "sourceSha1" : "ef74ca52fa2d09ab3dfc210e8be6c87ef02f4693", + "sourceUrls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-5ecfc0f99fed.src.zip"], "license": "GPLv2-CPE", }, }), @@ -1169,7 +1169,7 @@ ], }, - "GRAAL" : { + "GRAAL_RUNTIME" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.replacements", @@ -1203,7 +1203,7 @@ "distDependencies" : deps([ "jvmci:JVMCI_HOTSPOT", "GRAAL_COMPILER", - "GRAAL", + "GRAAL_RUNTIME", ]), }, @@ -1243,7 +1243,7 @@ "com.oracle.graal.truffle", ], "distDependencies" : [ - "GRAAL", + "GRAAL_RUNTIME", "truffle:TRUFFLE_API", ], }, @@ -1300,3 +1300,48 @@ }, }, } + +if JDK9: + # Define a monolithic graal.jar for ease of Graal deployment without mx + suite["distributions"]["GRAAL"] = { + "subDir" : "graal", + "overlaps" : [ + "GRAAL_OPTIONS", + "GRAAL_NODEINFO", + "GRAAL_API", + "GRAAL_COMPILER", + "GRAAL_RUNTIME", + "GRAAL_HOTSPOT", + "GRAAL_TRUFFLE", + "GRAAL_TRUFFLE_HOTSPOT", + ], + "dependencies" : [ + "com.oracle.graal.options", + "com.oracle.graal.nodeinfo", + "com.oracle.graal.api.replacements", + "com.oracle.graal.api.runtime", + "com.oracle.graal.graph", + "com.oracle.graal.compiler", + "com.oracle.graal.replacements", + "com.oracle.graal.runtime", + "com.oracle.graal.code", + "com.oracle.graal.printer", + "com.oracle.graal.compiler.aarch64", + "com.oracle.graal.replacements.aarch64", + "com.oracle.graal.compiler.amd64", + "com.oracle.graal.replacements.amd64", + "com.oracle.graal.compiler.sparc", + "com.oracle.graal.replacements.sparc", + "com.oracle.graal.salver", + "com.oracle.graal.hotspot.aarch64", + "com.oracle.graal.hotspot.amd64", + "com.oracle.graal.hotspot.sparc", + "com.oracle.graal.hotspot", + "com.oracle.graal.truffle", + "com.oracle.graal.truffle.hotspot.amd64", + "com.oracle.graal.truffle.hotspot.sparc" + ], + "distDependencies" : [ + "truffle:TRUFFLE_API", + ], + }