Mercurial > hg > graal-compiler
view mx.graal/suite.py @ 23334:730dddc179ab
Update jvmci import.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 20 Jan 2016 12:01:21 +0100 |
parents | 5fd40a045778 |
children | 3e4b96f3e4d3 |
line wrap: on
line source
import mx JDK9 = mx.get_jdk(tag='default').javaCompliance >= "1.9" def deps(l): """ If using JDK9, replaces dependencies starting with 'jvmci:' with 'JVMCI'. Otherwise, excludes "JVMCI". """ if JDK9: res = [] for e in l: if e.startswith("jvmci:"): if not "JVMCI" in res: res.append("JVMCI") else: res.append(e) return res else: return [d for d in l if d != "JVMCI"] def libs(d): """ If not using JDK9, excludes "JVMCI" library. """ if not JDK9: del d["JVMCI"] return d def suites(l): """ Filters out suites named 'jvmci' if using JDK9. """ return [s for s in l if not JDK9 or not s.get('name') == "jvmci"] suite = { "mxversion" : "5.6.10", "name" : "graal", "imports" : { "suites": suites([ { "name" : "jvmci", "optional" : "true", "version" : "5d06abd6d35b9385aaff9af90a6d0cd729c81246", "urls" : [ {"url" : "http://lafo.ssw.uni-linz.ac.at/hg/graal-jvmci-8", "kind" : "hg"}, {"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"}, ] }, { "name" : "truffle", "version" : "175622430e80253e9cc7c17ddbf09cc00adc0bc4", "urls" : [ {"url" : "https://github.com/graalvm/truffle.git", "kind" : "git"}, {"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"}, ] }, ]) }, "defaultLicense" : "GPLv2-CPE", "libraries" : libs({ # ------------- Libraries ------------- "DACAPO" : { "urls" : [ "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/dacapo-9.12-bach.jar", "http://softlayer.dl.sourceforge.net/project/dacapobench/9.12-bach/dacapo-9.12-bach.jar", ], "sha1" : "2626a9546df09009f6da0df854e6dc1113ef7dd4", }, "DACAPO_SCALA" : { "urls" : [ "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/dacapo-scala-0.1.0-20120216.jar", "http://repo.scalabench.org/snapshots/org/scalabench/benchmarks/scala-benchmark-suite/0.1.0-SNAPSHOT/scala-benchmark-suite-0.1.0-20120216.103539-3.jar", ], "sha1" : "59b64c974662b5cf9dbd3cf9045d293853dd7a51", }, "JAVA_ALLOCATION_INSTRUMENTER" : { "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/java-allocation-instrumenter/java-allocation-instrumenter-8f0db117e64e.jar"], "sha1" : "476d9a44cd19d6b55f81571077dfa972a4f8a083", "bootClassPathAgent" : "true", }, "JMH" : { "sha1" : "7e1577cf6e1f1326b78a322d206fa9412fd41ae9", "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/jmh/jmh-runner-1.11.2.jar"], "sourceSha1" : "12a67f0dcdfe7e43218bf38c1d7fd766122a3dc7", "sourceUrls" : ["https://lafo.ssw.uni-linz.ac.at/pub/jmh/jmh-runner-1.11.2-sources.jar"], }, # This is a library synthesized from the JVMCI classes in JDK9. # It enables Graal to be compiled against JVMCI when targeting JDK8. # (i.e., compiled with javac option -target 1.8). # The "path" and "sha1" attributes are added when mx_graal_9 is loaded # (see mx_graal_9._update_JVMCI_library()). "JVMCI" : { "license" : "GPLv2-CPE", }, }), "projects" : { # ------------- NFI ------------- "com.oracle.nfi" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.7", }, "com.oracle.nfi.test" : { "subDir" : "graal", "sourceDirs" : ["test"], "dependencies" : deps([ "com.oracle.nfi", "jvmci:JVMCI_API", "mx:JUNIT", ]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", }, # ------------- Graal ------------- "com.oracle.graal.serviceprovider" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps(["jvmci:JVMCI_SERVICES"]), "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, "com.oracle.graal.serviceprovider.processor" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.serviceprovider"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Codegen", }, "com.oracle.graal.options" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "dependencies" : deps(["jvmci:JVMCI_API"]), "javaCompliance" : "1.8", "workingSets" : "Graal", }, "com.oracle.graal.options.processor" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.options", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Codegen", }, "com.oracle.graal.options.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.options", "mx:JUNIT", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal", }, "com.oracle.graal.debug" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "dependencies" : deps([ "jvmci:JVMCI_API", "com.oracle.graal.options" ]), "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "javaCompliance" : "1.8", "workingSets" : "Graal,Debug", }, "com.oracle.graal.debug.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "mx:JUNIT", "com.oracle.graal.debug", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Debug,Test", }, "com.oracle.graal.code" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "com.oracle.graal.serviceprovider", "jvmci:JVMCI_API", ]), "annotationProcessors" : ["GRAAL_SERVICEPROVIDER_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal", }, "com.oracle.graal.api.collections" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, "com.oracle.graal.api.directives" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, "com.oracle.graal.api.directives.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "dependencies" : [ "com.oracle.graal.compiler.test", ], "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, "com.oracle.graal.api.runtime" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "jvmci:JVMCI_API", ]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, "com.oracle.graal.api.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "mx:JUNIT", "com.oracle.graal.api.runtime", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "API,Graal,Test", }, "com.oracle.graal.api.replacements" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps(["jvmci:JVMCI_API"]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "API,Graal,Replacements", }, "com.oracle.graal.hotspot" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "jvmci:JVMCI_HOTSPOT", "com.oracle.graal.api.runtime", "com.oracle.graal.replacements", "com.oracle.graal.runtime", ]), "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", "GRAAL_OPTIONS_PROCESSOR", "GRAAL_SERVICEPROVIDER_PROCESSOR", ], "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot", }, "com.oracle.graal.hotspot.aarch64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler.aarch64", "com.oracle.graal.hotspot", "com.oracle.graal.replacements.aarch64", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_SERVICEPROVIDER_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" ], "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AArch64", }, "com.oracle.graal.hotspot.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler.amd64", "com.oracle.graal.hotspot", "com.oracle.graal.replacements.amd64", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_SERVICEPROVIDER_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" ], "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AMD64", }, "com.oracle.graal.hotspot.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.hotspot", "com.oracle.graal.compiler.sparc", "com.oracle.graal.replacements.sparc", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : ["GRAAL_SERVICEPROVIDER_PROCESSOR"], "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,SPARC", }, "com.oracle.graal.hotspot.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.replacements.test", "com.oracle.graal.hotspot", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,Test", }, "com.oracle.graal.hotspot.aarch64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm.aarch64", "com.oracle.graal.hotspot.test", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AArch64,Test", }, "com.oracle.graal.hotspot.amd64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm.amd64", "com.oracle.graal.hotspot.test", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AMD64,Test", }, "com.oracle.graal.nodeinfo" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, "com.oracle.graal.nodeinfo.processor" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "dependencies" : [ "com.oracle.graal.nodeinfo", ], "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, "com.oracle.graal.graph" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.nodeinfo", "com.oracle.graal.compiler.common", "com.oracle.graal.api.collections", ], "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" ], "workingSets" : "Graal,Graph", }, "com.oracle.graal.graph.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "dependencies" : [ "mx:JUNIT", "com.oracle.graal.api.test", "com.oracle.graal.graph", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "javaCompliance" : "1.8", "workingSets" : "Graal,Graph,Test", }, "com.oracle.graal.asm" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps(["jvmci:JVMCI_API"]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler", }, "com.oracle.graal.asm.aarch64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AArch64", }, "com.oracle.graal.asm.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AMD64", }, "com.oracle.graal.asm.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,SPARC", }, "com.oracle.graal.bytecode" : { "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, "com.oracle.graal.asm.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.api.test", "com.oracle.graal.code", "com.oracle.graal.runtime", "com.oracle.graal.test", "com.oracle.graal.debug", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,Test", }, "com.oracle.graal.asm.aarch64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm.test", "com.oracle.graal.asm.aarch64", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AArch64,Test", }, "com.oracle.graal.asm.amd64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm.test", "com.oracle.graal.asm.amd64", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AMD64,Test", }, "com.oracle.graal.lir" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm", "com.oracle.graal.code", "com.oracle.graal.compiler.common", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", }, "com.oracle.graal.lir.jtt" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.jtt", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", "findbugs" : "false", }, "com.oracle.graal.lir.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "mx:JUNIT", "com.oracle.graal.lir", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", }, "com.oracle.graal.lir.aarch64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.lir", "com.oracle.graal.asm.aarch64", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR,AArch64", }, "com.oracle.graal.lir.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.lir", "com.oracle.graal.asm.amd64", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR,AMD64", }, "com.oracle.graal.lir.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.asm.sparc", "com.oracle.graal.lir", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,LIR,SPARC", }, "com.oracle.graal.word" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.nodes"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "workingSets" : "API,Graal", }, "com.oracle.graal.replacements" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.api.directives", "com.oracle.graal.java", "com.oracle.graal.loop.phases", "com.oracle.graal.word", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", "GRAAL_NODEINFO_PROCESSOR", ], "workingSets" : "Graal,Replacements", }, "com.oracle.graal.replacements.aarch64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.replacements", "com.oracle.graal.lir.aarch64", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", ], "workingSets" : "Graal,Replacements,AArch64", }, "com.oracle.graal.replacements.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.replacements", "com.oracle.graal.lir.amd64", "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", ], "workingSets" : "Graal,Replacements,AMD64", }, "com.oracle.graal.replacements.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.replacements", "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements,SPARC", }, "com.oracle.graal.replacements.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler.test", "com.oracle.graal.replacements", ], "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER" ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements,Test", "jacoco" : "exclude", }, "com.oracle.graal.replacements.verifier" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.api.replacements", "com.oracle.graal.graph", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements", }, "com.oracle.graal.nodes" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.graph", "com.oracle.graal.api.replacements", "com.oracle.graal.bytecode", "com.oracle.graal.lir", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", ], "workingSets" : "Graal,Graph", }, "com.oracle.graal.nodes.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.compiler.test"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, "com.oracle.graal.phases" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.nodes"], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, "com.oracle.graal.phases.common" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.phases"], "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_OPTIONS_PROCESSOR" ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, "com.oracle.graal.phases.common.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.api.test", "com.oracle.graal.runtime", "mx:JUNIT", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Test", }, "com.oracle.graal.virtual" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.phases.common"], "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, "com.oracle.graal.virtual.bench" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["JMH", "com.oracle.graal.microbenchmarks"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : ["JMH"], "workingSets" : "Graal,Bench", }, "com.oracle.graal.microbenchmarks" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "JMH", "com.oracle.graal.api.test", "com.oracle.graal.java", "com.oracle.graal.runtime", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : ["JMH"], "workingSets" : "Graal,Bench", }, "com.oracle.graal.loop" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.nodes"], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal", }, "com.oracle.graal.loop.phases" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.loop", "com.oracle.graal.phases.common", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, "com.oracle.graal.compiler" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.virtual", "com.oracle.graal.loop.phases", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_SERVICEPROVIDER_PROCESSOR", "GRAAL_OPTIONS_PROCESSOR", ], "workingSets" : "Graal", }, "com.oracle.graal.compiler.match.processor" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Codegen", }, "com.oracle.graal.compiler.aarch64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler", "com.oracle.graal.lir.aarch64", "com.oracle.graal.java", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR", ], "javaCompliance" : "1.8", "workingSets" : "Graal,AArch64", }, "com.oracle.graal.compiler.aarch64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "com.oracle.graal.lir.jtt", "com.oracle.graal.lir.aarch64", "jvmci:JVMCI_HOTSPOT" ]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,AArch64,Test", }, "com.oracle.graal.compiler.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler", "com.oracle.graal.lir.amd64", "com.oracle.graal.java", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR", ], "javaCompliance" : "1.8", "workingSets" : "Graal,AMD64", }, "com.oracle.graal.compiler.amd64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "com.oracle.graal.lir.jtt", "com.oracle.graal.lir.amd64", "jvmci:JVMCI_HOTSPOT" ]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,AMD64,Test", }, "com.oracle.graal.compiler.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler", "com.oracle.graal.lir.sparc", "com.oracle.graal.java" ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR", ], "javaCompliance" : "1.8", "workingSets" : "Graal,SPARC", }, "com.oracle.graal.compiler.sparc.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : deps([ "com.oracle.graal.lir.jtt", "jvmci:JVMCI_HOTSPOT" ]), "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,SPARC,Test", }, "com.oracle.graal.runtime" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.compiler"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal", }, "com.oracle.graal.java" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.phases", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, "com.oracle.graal.compiler.common" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.debug", ], "annotationProcessors" : ["GRAAL_OPTIONS_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, "com.oracle.graal.printer" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler", "com.oracle.graal.java", ], "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_SERVICEPROVIDER_PROCESSOR" ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, "com.oracle.graal.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "mx:JUNIT", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Test", }, "com.oracle.graal.compiler.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.api.directives", "com.oracle.graal.java", "com.oracle.graal.test", "com.oracle.graal.runtime", "com.oracle.graal.graph.test", "JAVA_ALLOCATION_INSTRUMENTER", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Test", "jacoco" : "exclude", }, "com.oracle.graal.jtt" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.compiler.test", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Test", "jacoco" : "exclude", "findbugs" : "false", }, # ------------- GraalTruffle ------------- "com.oracle.graal.truffle" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "truffle:TRUFFLE_API", "com.oracle.graal.api.runtime", "com.oracle.graal.runtime", "com.oracle.graal.replacements", ], "checkstyle" : "com.oracle.graal.graph", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", "GRAAL_OPTIONS_PROCESSOR", "GRAAL_SERVICEPROVIDER_PROCESSOR", "truffle:TRUFFLE_DSL_PROCESSOR", ], "javaCompliance" : "1.8", "workingSets" : "Graal,Truffle", "jacoco" : "exclude", }, "com.oracle.graal.truffle.test" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.truffle", "com.oracle.graal.compiler.test", "truffle:TRUFFLE_SL", ], "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "truffle:TRUFFLE_DSL_PROCESSOR" ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,Truffle,Test", "jacoco" : "exclude", }, "com.oracle.graal.truffle.hotspot" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.truffle", "com.oracle.graal.hotspot", "com.oracle.nfi", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_SERVICEPROVIDER_PROCESSOR" ], "workingSets" : "Graal,Truffle", }, "com.oracle.graal.truffle.hotspot.amd64" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.truffle.hotspot", "com.oracle.graal.hotspot.amd64", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_SERVICEPROVIDER_PROCESSOR", ], "workingSets" : "Graal,Truffle", }, "com.oracle.graal.truffle.hotspot.sparc" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.truffle.hotspot", "com.oracle.graal.asm.sparc", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "annotationProcessors" : ["GRAAL_SERVICEPROVIDER_PROCESSOR"], "workingSets" : "Graal,Truffle,SPARC", }, # ------------- Salver ------------- "com.oracle.graal.salver" : { "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : [ "com.oracle.graal.java", ], "annotationProcessors" : [ "GRAAL_OPTIONS_PROCESSOR", "GRAAL_SERVICEPROVIDER_PROCESSOR", ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal", }, }, "distributions" : { # ------------- Distributions ------------- "GRAAL_OPTIONS" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.options"], "distDependencies" : deps([ "jvmci:JVMCI_API", ]), }, "GRAAL_OPTIONS_PROCESSOR" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.options.processor"], "distDependencies" : [ "GRAAL_OPTIONS", ], }, "GRAAL_NODEINFO" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.nodeinfo", ], }, "GRAAL_API" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.api.replacements", "com.oracle.graal.api.runtime", "com.oracle.graal.graph", ], "exclude" : deps(["JVMCI"]), "distDependencies" : deps([ "jvmci:JVMCI_API", "GRAAL_NODEINFO", "GRAAL_OPTIONS", ]), }, "GRAAL_COMPILER" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.compiler", ], "exclude" : deps(["JVMCI"]), "distDependencies" : [ "GRAAL_API", "GRAAL_SERVICEPROVIDER", ], }, "GRAAL_RUNTIME" : { "subDir" : "graal", "dependencies" : [ "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", ], "exclude" : deps(["JVMCI"]), "distDependencies" : [ "GRAAL_API", "GRAAL_COMPILER", ], }, "GRAAL_HOTSPOT" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.hotspot.aarch64", "com.oracle.graal.hotspot.amd64", "com.oracle.graal.hotspot.sparc", "com.oracle.graal.hotspot", ], "exclude" : deps(["JVMCI"]), "distDependencies" : deps([ "jvmci:JVMCI_HOTSPOT", "GRAAL_COMPILER", "GRAAL_RUNTIME", ]), }, "GRAAL_TEST" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.api.test", "com.oracle.graal.api.directives.test", "com.oracle.graal.asm.aarch64.test", "com.oracle.graal.asm.amd64.test", "com.oracle.graal.compiler.aarch64.test", "com.oracle.graal.compiler.amd64.test", "com.oracle.graal.compiler.sparc.test", "com.oracle.graal.hotspot.aarch64.test", "com.oracle.graal.hotspot.amd64.test", "com.oracle.graal.options.test", "com.oracle.graal.jtt", "com.oracle.graal.lir.jtt", "com.oracle.graal.lir.test", "com.oracle.graal.nodes.test", "com.oracle.graal.phases.common.test", ], "distDependencies" : deps([ "GRAAL_HOTSPOT", "jvmci:JVMCI_HOTSPOT", ]), "exclude" : deps([ "mx:JUNIT", "JAVA_ALLOCATION_INSTRUMENTER", "JVMCI" ]), }, "GRAAL_TRUFFLE" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.truffle", ], "distDependencies" : [ "GRAAL_RUNTIME", "truffle:TRUFFLE_API", ], }, "GRAAL_TRUFFLE_HOTSPOT" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.truffle.hotspot.amd64", "com.oracle.graal.truffle.hotspot.sparc" ], "distDependencies" : [ "GRAAL_HOTSPOT", "GRAAL_TRUFFLE", "truffle:TRUFFLE_API", ], }, "GRAAL_TRUFFLE_TEST" : { "subDir" : "graal", "dependencies" : [ "com.oracle.graal.truffle.test" ], "distDependencies" : [ "GRAAL_TEST", "GRAAL_TRUFFLE", "truffle:TRUFFLE_SL", ], }, "GRAAL_SERVICEPROVIDER" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.serviceprovider"], "distDependencies" : deps([ "GRAAL_NODEINFO", "jvmci:JVMCI_SERVICES" ]), }, "GRAAL_SERVICEPROVIDER_PROCESSOR" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.serviceprovider.processor"], "distDependencies" : [ "GRAAL_SERVICEPROVIDER", ], }, "GRAAL_NODEINFO_PROCESSOR" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.nodeinfo.processor"], "distDependencies" : [ "GRAAL_NODEINFO", ], }, "GRAAL_REPLACEMENTS_VERIFIER" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.replacements.verifier"], "distDependencies" : deps([ "GRAAL_API", "GRAAL_SERVICEPROVIDER", "GRAAL_SERVICEPROVIDER_PROCESSOR", ]) }, "GRAAL_COMPILER_MATCH_PROCESSOR" : { "subDir" : "graal", "dependencies" : ["com.oracle.graal.compiler.match.processor"], "distDependencies" : deps([ "GRAAL_COMPILER", "GRAAL_SERVICEPROVIDER_PROCESSOR", ]) }, }, } 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_SERVICEPROVIDER", "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" ], "exclude" : ["JVMCI"], "distDependencies" : [ "truffle:TRUFFLE_API", ], }