Mercurial > hg > graal-compiler
comparison mx.graal/suite.py @ 22913:6ecf989e8556
use JVMCI (compile time) library instead of jvmci suite when default JDK is JDK9
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 30 Oct 2015 15:47:56 +0100 |
parents | 463553e69619 |
children | c5aa3f4aac72 |
comparison
equal
deleted
inserted
replaced
22906:0bf0cdd17bd3 | 22913:6ecf989e8556 |
---|---|
1 import mx | 1 import mx |
2 JDK9 = mx.get_jdk(tag='default').javaCompliance >= "1.9" | 2 JDK9 = mx.get_jdk(tag='default').javaCompliance >= "1.9" |
3 _8_9 = "1.9" if JDK9 else "1.8" | 3 _8_9 = "1.9" if JDK9 else "1.8" |
4 | 4 |
5 def deps(l): | 5 def deps(l): |
6 """ Filters out dependencies starting with 'jvmci:' if using JDK9. """ | 6 """ |
7 return [d for d in l if not JDK9 or not d.startswith("jvmci:")] | 7 If using JDK9, replaces dependencies starting with 'jvmci:' with 'JVMCI'. |
8 Otherwise, excludes "JVMCI". | |
9 """ | |
10 if JDK9: | |
11 res = [] | |
12 for e in l: | |
13 if e.startswith("jvmci:"): | |
14 if not "JVMCI" in res: | |
15 res.append("JVMCI") | |
16 else: | |
17 res.append(e) | |
18 return res | |
19 else: | |
20 return [d for d in l if d != "JVMCI"] | |
21 | |
22 def libs(d): | |
23 """ | |
24 If not using JDK9, excludes "JVMCI" library. | |
25 """ | |
26 if not JDK9: | |
27 del d["JVMCI"] | |
28 return d | |
8 | 29 |
9 def suites(l): | 30 def suites(l): |
10 """ Filters out suites named 'jvmci' if using JDK9. """ | 31 """ Filters out suites named 'jvmci' if using JDK9. """ |
11 return [s for s in l if not JDK9 or not s.get('name') == "jvmci"] | 32 return [s for s in l if not JDK9 or not s.get('name') == "jvmci"] |
12 | 33 |
13 def ap(name): | |
14 return name + "_PROCESSOR" if JDK9 else "jvmci:JVMCI_" + name + "_PROCESSOR" | |
15 | |
16 suite = { | 34 suite = { |
17 "mxversion" : "5.5.7", | 35 "mxversion" : "5.5.14", |
18 "name" : "graal", | 36 "name" : "graal", |
19 | 37 |
20 "imports" : { | 38 "imports" : { |
21 "suites": suites([ | 39 "suites": suites([ |
22 { | 40 { |
39 ]) | 57 ]) |
40 }, | 58 }, |
41 | 59 |
42 "defaultLicense" : "GPLv2-CPE", | 60 "defaultLicense" : "GPLv2-CPE", |
43 | 61 |
44 "libraries" : { | 62 "libraries" : libs({ |
45 | 63 |
46 # ------------- Libraries ------------- | 64 # ------------- Libraries ------------- |
47 | 65 |
48 "DACAPO" : { | 66 "DACAPO" : { |
49 "urls" : [ | 67 "urls" : [ |
70 "JMH" : { | 88 "JMH" : { |
71 "sha1" : "be2e08e6776191e9c559a65b7d34e92e86b4fa5c", | 89 "sha1" : "be2e08e6776191e9c559a65b7d34e92e86b4fa5c", |
72 "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/jmh/jmh-runner-1.10.4.jar"], | 90 "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/jmh/jmh-runner-1.10.4.jar"], |
73 }, | 91 }, |
74 | 92 |
75 "OPTIONS_PROCESSOR" : { | 93 # Library that allows Graal to compile against JVMCI without the jvmci suite. |
76 "sha1" : "66a86a977ae5aaaeb2105b94cbb59e039d0d432d", | 94 # This library is not added to the boot class path at run time. |
77 "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-options-processor.jar"], | 95 "JVMCI" : { |
78 }, | 96 "sha1" : "f4f0d6cfa751fa644163008810d5123c4c298104", |
79 | 97 "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-b0e383e27552.jar"], |
80 "SERVICE_PROCESSOR" : { | 98 }, |
81 "sha1" : "341cb1c52b4e6194d9edc7a91ffc4d41d0258d94", | 99 }), |
82 "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-service-processor.jar"], | |
83 }, | |
84 }, | |
85 | 100 |
86 "projects" : { | 101 "projects" : { |
87 | 102 |
88 # ------------- NFI ------------- | 103 # ------------- NFI ------------- |
89 | 104 |
113 "sourceDirs" : ["src"], | 128 "sourceDirs" : ["src"], |
114 "checkstyle" : "com.oracle.graal.graph", | 129 "checkstyle" : "com.oracle.graal.graph", |
115 "dependencies" : deps([ | 130 "dependencies" : deps([ |
116 "jvmci:JVMCI_API", | 131 "jvmci:JVMCI_API", |
117 ]), | 132 ]), |
118 "annotationProcessors" : [ap("OPTIONS")], | 133 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
119 "javaCompliance" : _8_9, | 134 "javaCompliance" : _8_9, |
120 "workingSets" : "JVMCI,Debug", | 135 "workingSets" : "JVMCI,Debug", |
121 }, | 136 }, |
122 | 137 |
123 "com.oracle.graal.debug.test" : { | 138 "com.oracle.graal.debug.test" : { |
137 "sourceDirs" : ["src"], | 152 "sourceDirs" : ["src"], |
138 "dependencies" : deps([ | 153 "dependencies" : deps([ |
139 "jvmci:JVMCI_SERVICE", | 154 "jvmci:JVMCI_SERVICE", |
140 "jvmci:JVMCI_API", | 155 "jvmci:JVMCI_API", |
141 ]), | 156 ]), |
142 "annotationProcessors" : [ap("SERVICE")], | 157 "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), |
143 "checkstyle" : "com.oracle.graal.graph", | 158 "checkstyle" : "com.oracle.graal.graph", |
144 "javaCompliance" : _8_9, | 159 "javaCompliance" : _8_9, |
145 "workingSets" : "Graal", | 160 "workingSets" : "Graal", |
146 }, | 161 }, |
147 | 162 |
213 "com.oracle.graal.replacements", | 228 "com.oracle.graal.replacements", |
214 "com.oracle.graal.runtime", | 229 "com.oracle.graal.runtime", |
215 "com.oracle.graal.code", | 230 "com.oracle.graal.code", |
216 ]), | 231 ]), |
217 "checkstyle" : "com.oracle.graal.graph", | 232 "checkstyle" : "com.oracle.graal.graph", |
218 "annotationProcessors" : [ | 233 "annotationProcessors" : deps([ |
219 "GRAAL_NODEINFO_PROCESSOR", | 234 "GRAAL_NODEINFO_PROCESSOR", |
220 "GRAAL_COMPILER_MATCH_PROCESSOR", | 235 "GRAAL_COMPILER_MATCH_PROCESSOR", |
221 "GRAAL_REPLACEMENTS_VERIFIER", | 236 "GRAAL_REPLACEMENTS_VERIFIER", |
222 ap("OPTIONS"), | 237 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
223 ap("SERVICE"), | 238 "jvmci:JVMCI_SERVICE_PROCESSOR", |
224 ], | 239 ]), |
225 "javaCompliance" : _8_9, | 240 "javaCompliance" : _8_9, |
226 "workingSets" : "Graal,HotSpot", | 241 "workingSets" : "Graal,HotSpot", |
227 }, | 242 }, |
228 | 243 |
229 "com.oracle.graal.hotspot.amd64" : { | 244 "com.oracle.graal.hotspot.amd64" : { |
233 "com.oracle.graal.compiler.amd64", | 248 "com.oracle.graal.compiler.amd64", |
234 "com.oracle.graal.hotspot", | 249 "com.oracle.graal.hotspot", |
235 "com.oracle.graal.replacements.amd64", | 250 "com.oracle.graal.replacements.amd64", |
236 ], | 251 ], |
237 "checkstyle" : "com.oracle.graal.graph", | 252 "checkstyle" : "com.oracle.graal.graph", |
238 "annotationProcessors" : [ | 253 "annotationProcessors" : deps([ |
239 ap("SERVICE"), | 254 "jvmci:JVMCI_SERVICE_PROCESSOR", |
240 "GRAAL_NODEINFO_PROCESSOR" | 255 "GRAAL_NODEINFO_PROCESSOR" |
241 ], | 256 ]), |
242 "javaCompliance" : _8_9, | 257 "javaCompliance" : _8_9, |
243 "workingSets" : "Graal,HotSpot,AMD64", | 258 "workingSets" : "Graal,HotSpot,AMD64", |
244 }, | 259 }, |
245 | 260 |
246 "com.oracle.graal.hotspot.sparc" : { | 261 "com.oracle.graal.hotspot.sparc" : { |
250 "com.oracle.graal.hotspot", | 265 "com.oracle.graal.hotspot", |
251 "com.oracle.graal.compiler.sparc", | 266 "com.oracle.graal.compiler.sparc", |
252 "com.oracle.graal.replacements.sparc", | 267 "com.oracle.graal.replacements.sparc", |
253 ], | 268 ], |
254 "checkstyle" : "com.oracle.graal.graph", | 269 "checkstyle" : "com.oracle.graal.graph", |
255 "annotationProcessors" : [ap("SERVICE")], | 270 "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), |
256 "javaCompliance" : _8_9, | 271 "javaCompliance" : _8_9, |
257 "workingSets" : "Graal,HotSpot,SPARC", | 272 "workingSets" : "Graal,HotSpot,SPARC", |
258 }, | 273 }, |
259 | 274 |
260 "com.oracle.graal.hotspot.test" : { | 275 "com.oracle.graal.hotspot.test" : { |
309 "com.oracle.graal.nodeinfo", | 324 "com.oracle.graal.nodeinfo", |
310 "com.oracle.graal.compiler.common", | 325 "com.oracle.graal.compiler.common", |
311 "com.oracle.graal.api.collections", | 326 "com.oracle.graal.api.collections", |
312 ], | 327 ], |
313 "javaCompliance" : _8_9, | 328 "javaCompliance" : _8_9, |
314 "annotationProcessors" : [ | 329 "annotationProcessors" : deps([ |
315 ap("OPTIONS"), | 330 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
316 "GRAAL_NODEINFO_PROCESSOR" | 331 "GRAAL_NODEINFO_PROCESSOR" |
317 ], | 332 ]), |
318 "workingSets" : "Graal,Graph", | 333 "workingSets" : "Graal,Graph", |
319 }, | 334 }, |
320 | 335 |
321 "com.oracle.graal.graph.test" : { | 336 "com.oracle.graal.graph.test" : { |
322 "subDir" : "graal", | 337 "subDir" : "graal", |
401 "sourceDirs" : ["src"], | 416 "sourceDirs" : ["src"], |
402 "dependencies" : [ | 417 "dependencies" : [ |
403 "com.oracle.graal.compiler.common", | 418 "com.oracle.graal.compiler.common", |
404 "com.oracle.graal.asm", | 419 "com.oracle.graal.asm", |
405 ], | 420 ], |
406 "annotationProcessors" : [ap("OPTIONS")], | 421 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
407 "checkstyle" : "com.oracle.graal.graph", | 422 "checkstyle" : "com.oracle.graal.graph", |
408 "javaCompliance" : _8_9, | 423 "javaCompliance" : _8_9, |
409 "workingSets" : "Graal,LIR", | 424 "workingSets" : "Graal,LIR", |
410 }, | 425 }, |
411 | 426 |
439 "sourceDirs" : ["src"], | 454 "sourceDirs" : ["src"], |
440 "dependencies" : [ | 455 "dependencies" : [ |
441 "com.oracle.graal.lir", | 456 "com.oracle.graal.lir", |
442 "com.oracle.graal.asm.amd64", | 457 "com.oracle.graal.asm.amd64", |
443 ], | 458 ], |
444 "annotationProcessors" : [ap("OPTIONS")], | 459 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
445 "checkstyle" : "com.oracle.graal.graph", | 460 "checkstyle" : "com.oracle.graal.graph", |
446 "javaCompliance" : _8_9, | 461 "javaCompliance" : _8_9, |
447 "workingSets" : "Graal,LIR,AMD64", | 462 "workingSets" : "Graal,LIR,AMD64", |
448 }, | 463 }, |
449 | 464 |
478 "com.oracle.graal.loop", | 493 "com.oracle.graal.loop", |
479 "com.oracle.graal.word", | 494 "com.oracle.graal.word", |
480 ], | 495 ], |
481 "checkstyle" : "com.oracle.graal.graph", | 496 "checkstyle" : "com.oracle.graal.graph", |
482 "javaCompliance" : _8_9, | 497 "javaCompliance" : _8_9, |
483 "annotationProcessors" : [ | 498 "annotationProcessors" : deps([ |
484 ap("OPTIONS"), | 499 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
485 "GRAAL_REPLACEMENTS_VERIFIER", | 500 "GRAAL_REPLACEMENTS_VERIFIER", |
486 "GRAAL_NODEINFO_PROCESSOR", | 501 "GRAAL_NODEINFO_PROCESSOR", |
487 ], | 502 ]), |
488 "workingSets" : "Graal,Replacements", | 503 "workingSets" : "Graal,Replacements", |
489 }, | 504 }, |
490 | 505 |
491 "com.oracle.graal.replacements.amd64" : { | 506 "com.oracle.graal.replacements.amd64" : { |
492 "subDir" : "graal", | 507 "subDir" : "graal", |
571 | 586 |
572 "com.oracle.graal.phases" : { | 587 "com.oracle.graal.phases" : { |
573 "subDir" : "graal", | 588 "subDir" : "graal", |
574 "sourceDirs" : ["src"], | 589 "sourceDirs" : ["src"], |
575 "dependencies" : ["com.oracle.graal.nodes"], | 590 "dependencies" : ["com.oracle.graal.nodes"], |
576 "annotationProcessors" : [ap("OPTIONS")], | 591 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
577 "checkstyle" : "com.oracle.graal.graph", | 592 "checkstyle" : "com.oracle.graal.graph", |
578 "javaCompliance" : _8_9, | 593 "javaCompliance" : _8_9, |
579 "workingSets" : "Graal,Phases", | 594 "workingSets" : "Graal,Phases", |
580 }, | 595 }, |
581 | 596 |
582 "com.oracle.graal.phases.common" : { | 597 "com.oracle.graal.phases.common" : { |
583 "subDir" : "graal", | 598 "subDir" : "graal", |
584 "sourceDirs" : ["src"], | 599 "sourceDirs" : ["src"], |
585 "dependencies" : ["com.oracle.graal.phases"], | 600 "dependencies" : ["com.oracle.graal.phases"], |
586 "annotationProcessors" : [ | 601 "annotationProcessors" : deps([ |
587 "GRAAL_NODEINFO_PROCESSOR", | 602 "GRAAL_NODEINFO_PROCESSOR", |
588 ap("OPTIONS") | 603 "jvmci:JVMCI_OPTIONS_PROCESSOR" |
589 ], | 604 ]), |
590 "checkstyle" : "com.oracle.graal.graph", | 605 "checkstyle" : "com.oracle.graal.graph", |
591 "javaCompliance" : _8_9, | 606 "javaCompliance" : _8_9, |
592 "workingSets" : "Graal,Phases", | 607 "workingSets" : "Graal,Phases", |
593 }, | 608 }, |
594 | 609 |
607 | 622 |
608 "com.oracle.graal.virtual" : { | 623 "com.oracle.graal.virtual" : { |
609 "subDir" : "graal", | 624 "subDir" : "graal", |
610 "sourceDirs" : ["src"], | 625 "sourceDirs" : ["src"], |
611 "dependencies" : ["com.oracle.graal.phases.common"], | 626 "dependencies" : ["com.oracle.graal.phases.common"], |
612 "annotationProcessors" : [ | 627 "annotationProcessors" : deps([ |
613 ap("OPTIONS"), | 628 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
614 "GRAAL_NODEINFO_PROCESSOR" | 629 "GRAAL_NODEINFO_PROCESSOR" |
615 ], | 630 ]), |
616 "checkstyle" : "com.oracle.graal.graph", | 631 "checkstyle" : "com.oracle.graal.graph", |
617 "javaCompliance" : _8_9, | 632 "javaCompliance" : _8_9, |
618 "workingSets" : "Graal,Phases", | 633 "workingSets" : "Graal,Phases", |
619 }, | 634 }, |
620 | 635 |
645 | 660 |
646 "com.oracle.graal.loop" : { | 661 "com.oracle.graal.loop" : { |
647 "subDir" : "graal", | 662 "subDir" : "graal", |
648 "sourceDirs" : ["src"], | 663 "sourceDirs" : ["src"], |
649 "dependencies" : ["com.oracle.graal.phases.common"], | 664 "dependencies" : ["com.oracle.graal.phases.common"], |
650 "annotationProcessors" : [ap("OPTIONS")], | 665 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
651 "checkstyle" : "com.oracle.graal.graph", | 666 "checkstyle" : "com.oracle.graal.graph", |
652 "javaCompliance" : _8_9, | 667 "javaCompliance" : _8_9, |
653 "workingSets" : "Graal,Phases", | 668 "workingSets" : "Graal,Phases", |
654 }, | 669 }, |
655 | 670 |
660 "com.oracle.graal.virtual", | 675 "com.oracle.graal.virtual", |
661 "com.oracle.graal.loop", | 676 "com.oracle.graal.loop", |
662 ], | 677 ], |
663 "checkstyle" : "com.oracle.graal.graph", | 678 "checkstyle" : "com.oracle.graal.graph", |
664 "javaCompliance" : _8_9, | 679 "javaCompliance" : _8_9, |
665 "annotationProcessors" : [ | 680 "annotationProcessors" : deps([ |
666 ap("SERVICE"), | 681 "jvmci:JVMCI_SERVICE_PROCESSOR", |
667 ap("OPTIONS"), | 682 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
668 ], | 683 ]), |
669 "workingSets" : "Graal", | 684 "workingSets" : "Graal", |
670 }, | 685 }, |
671 | 686 |
672 "com.oracle.graal.compiler.match.processor" : { | 687 "com.oracle.graal.compiler.match.processor" : { |
673 "subDir" : "graal", | 688 "subDir" : "graal", |
751 "sourceDirs" : ["src"], | 766 "sourceDirs" : ["src"], |
752 "dependencies" : [ | 767 "dependencies" : [ |
753 "com.oracle.graal.phases", | 768 "com.oracle.graal.phases", |
754 "com.oracle.graal.graphbuilderconf", | 769 "com.oracle.graal.graphbuilderconf", |
755 ], | 770 ], |
756 "annotationProcessors" : [ap("OPTIONS")], | 771 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
757 "checkstyle" : "com.oracle.graal.graph", | 772 "checkstyle" : "com.oracle.graal.graph", |
758 "javaCompliance" : _8_9, | 773 "javaCompliance" : _8_9, |
759 "workingSets" : "Graal,Java", | 774 "workingSets" : "Graal,Java", |
760 }, | 775 }, |
761 | 776 |
774 "subDir" : "graal", | 789 "subDir" : "graal", |
775 "sourceDirs" : ["src"], | 790 "sourceDirs" : ["src"], |
776 "dependencies" : [ | 791 "dependencies" : [ |
777 "com.oracle.graal.debug", | 792 "com.oracle.graal.debug", |
778 ], | 793 ], |
779 "annotationProcessors" : [ap("OPTIONS")], | 794 "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), |
780 "checkstyle" : "com.oracle.graal.graph", | 795 "checkstyle" : "com.oracle.graal.graph", |
781 "javaCompliance" : _8_9, | 796 "javaCompliance" : _8_9, |
782 "workingSets" : "Graal,Java", | 797 "workingSets" : "Graal,Java", |
783 }, | 798 }, |
784 | 799 |
788 "dependencies" : [ | 803 "dependencies" : [ |
789 "com.oracle.graal.code", | 804 "com.oracle.graal.code", |
790 "com.oracle.graal.java", | 805 "com.oracle.graal.java", |
791 "com.oracle.graal.compiler", | 806 "com.oracle.graal.compiler", |
792 ], | 807 ], |
793 "annotationProcessors" : [ | 808 "annotationProcessors" : deps([ |
794 ap("OPTIONS"), | 809 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
795 ap("SERVICE") | 810 "jvmci:JVMCI_SERVICE_PROCESSOR" |
796 ], | 811 ]), |
797 "checkstyle" : "com.oracle.graal.graph", | 812 "checkstyle" : "com.oracle.graal.graph", |
798 "javaCompliance" : _8_9, | 813 "javaCompliance" : _8_9, |
799 "workingSets" : "Graal,Graph", | 814 "workingSets" : "Graal,Graph", |
800 }, | 815 }, |
801 | 816 |
851 "com.oracle.graal.api.runtime", | 866 "com.oracle.graal.api.runtime", |
852 "com.oracle.graal.runtime", | 867 "com.oracle.graal.runtime", |
853 "com.oracle.graal.replacements", | 868 "com.oracle.graal.replacements", |
854 ], | 869 ], |
855 "checkstyle" : "com.oracle.graal.graph", | 870 "checkstyle" : "com.oracle.graal.graph", |
856 "annotationProcessors" : [ | 871 "annotationProcessors" : deps([ |
857 "GRAAL_NODEINFO_PROCESSOR", | 872 "GRAAL_NODEINFO_PROCESSOR", |
858 "GRAAL_REPLACEMENTS_VERIFIER", | 873 "GRAAL_REPLACEMENTS_VERIFIER", |
859 ap("OPTIONS"), | 874 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
860 ap("SERVICE"), | 875 "jvmci:JVMCI_SERVICE_PROCESSOR", |
861 "truffle:TRUFFLE_DSL_PROCESSOR", | 876 "truffle:TRUFFLE_DSL_PROCESSOR", |
862 ], | 877 ]), |
863 "javaCompliance" : _8_9, | 878 "javaCompliance" : _8_9, |
864 "workingSets" : "Graal,Truffle", | 879 "workingSets" : "Graal,Truffle", |
865 "jacoco" : "exclude", | 880 "jacoco" : "exclude", |
866 }, | 881 }, |
867 | 882 |
891 "com.oracle.graal.hotspot", | 906 "com.oracle.graal.hotspot", |
892 "com.oracle.nfi", | 907 "com.oracle.nfi", |
893 ], | 908 ], |
894 "checkstyle" : "com.oracle.graal.graph", | 909 "checkstyle" : "com.oracle.graal.graph", |
895 "javaCompliance" : _8_9, | 910 "javaCompliance" : _8_9, |
896 "annotationProcessors" : [ | 911 "annotationProcessors" : deps([ |
897 ap("OPTIONS"), | 912 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
898 ap("SERVICE") | 913 "jvmci:JVMCI_SERVICE_PROCESSOR" |
899 ], | 914 ]), |
900 "workingSets" : "Graal,Truffle", | 915 "workingSets" : "Graal,Truffle", |
901 }, | 916 }, |
902 | 917 |
903 "com.oracle.graal.truffle.hotspot.amd64" : { | 918 "com.oracle.graal.truffle.hotspot.amd64" : { |
904 "subDir" : "graal", | 919 "subDir" : "graal", |
907 "com.oracle.graal.truffle.hotspot", | 922 "com.oracle.graal.truffle.hotspot", |
908 "com.oracle.graal.hotspot.amd64", | 923 "com.oracle.graal.hotspot.amd64", |
909 ], | 924 ], |
910 "checkstyle" : "com.oracle.graal.graph", | 925 "checkstyle" : "com.oracle.graal.graph", |
911 "javaCompliance" : _8_9, | 926 "javaCompliance" : _8_9, |
912 "annotationProcessors" : [ | 927 "annotationProcessors" : deps([ |
913 ap("SERVICE"), | 928 "jvmci:JVMCI_SERVICE_PROCESSOR", |
914 ], | 929 ]), |
915 "workingSets" : "Graal,Truffle", | 930 "workingSets" : "Graal,Truffle", |
916 }, | 931 }, |
917 | 932 |
918 "com.oracle.graal.truffle.hotspot.sparc" : { | 933 "com.oracle.graal.truffle.hotspot.sparc" : { |
919 "subDir" : "graal", | 934 "subDir" : "graal", |
922 "com.oracle.graal.truffle.hotspot", | 937 "com.oracle.graal.truffle.hotspot", |
923 "com.oracle.graal.asm.sparc", | 938 "com.oracle.graal.asm.sparc", |
924 ], | 939 ], |
925 "checkstyle" : "com.oracle.graal.graph", | 940 "checkstyle" : "com.oracle.graal.graph", |
926 "javaCompliance" : _8_9, | 941 "javaCompliance" : _8_9, |
927 "annotationProcessors" : [ap("SERVICE")], | 942 "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), |
928 "workingSets" : "Graal,Truffle,SPARC", | 943 "workingSets" : "Graal,Truffle,SPARC", |
929 }, | 944 }, |
930 | 945 |
931 # ------------- Salver ------------- | 946 # ------------- Salver ------------- |
932 | 947 |
934 "subDir" : "graal", | 949 "subDir" : "graal", |
935 "sourceDirs" : ["src"], | 950 "sourceDirs" : ["src"], |
936 "dependencies" : [ | 951 "dependencies" : [ |
937 "com.oracle.graal.java", | 952 "com.oracle.graal.java", |
938 ], | 953 ], |
939 "annotationProcessors" : [ | 954 "annotationProcessors" : deps([ |
940 ap("OPTIONS"), | 955 "jvmci:JVMCI_OPTIONS_PROCESSOR", |
941 ap("SERVICE"), | 956 "jvmci:JVMCI_SERVICE_PROCESSOR", |
942 ], | 957 ]), |
943 "checkstyle" : "com.oracle.graal.graph", | 958 "checkstyle" : "com.oracle.graal.graph", |
944 "javaCompliance" : _8_9, | 959 "javaCompliance" : _8_9, |
945 "workingSets" : "Graal", | 960 "workingSets" : "Graal", |
946 }, | 961 }, |
947 }, | 962 }, |
962 "dependencies" : [ | 977 "dependencies" : [ |
963 "com.oracle.graal.api.replacements", | 978 "com.oracle.graal.api.replacements", |
964 "com.oracle.graal.api.runtime", | 979 "com.oracle.graal.api.runtime", |
965 "com.oracle.graal.graph", | 980 "com.oracle.graal.graph", |
966 ], | 981 ], |
982 "exclude" : deps(["JVMCI"]), | |
967 "distDependencies" : deps([ | 983 "distDependencies" : deps([ |
968 "jvmci:JVMCI_API", | 984 "jvmci:JVMCI_API", |
969 "GRAAL_NODEINFO", | 985 "GRAAL_NODEINFO", |
970 ]), | 986 ]), |
971 }, | 987 }, |
973 "GRAAL_COMPILER" : { | 989 "GRAAL_COMPILER" : { |
974 "subDir" : "graal", | 990 "subDir" : "graal", |
975 "dependencies" : [ | 991 "dependencies" : [ |
976 "com.oracle.graal.compiler", | 992 "com.oracle.graal.compiler", |
977 ], | 993 ], |
994 "exclude" : deps(["JVMCI"]), | |
978 "distDependencies" : [ | 995 "distDependencies" : [ |
979 "GRAAL_API", | 996 "GRAAL_API", |
980 ], | 997 ], |
981 }, | 998 }, |
982 | 999 |
991 "com.oracle.graal.replacements.amd64", | 1008 "com.oracle.graal.replacements.amd64", |
992 "com.oracle.graal.compiler.sparc", | 1009 "com.oracle.graal.compiler.sparc", |
993 "com.oracle.graal.replacements.sparc", | 1010 "com.oracle.graal.replacements.sparc", |
994 "com.oracle.graal.salver", | 1011 "com.oracle.graal.salver", |
995 ], | 1012 ], |
1013 "exclude" : deps(["JVMCI"]), | |
996 "distDependencies" : [ | 1014 "distDependencies" : [ |
997 "GRAAL_API", | 1015 "GRAAL_API", |
998 "GRAAL_COMPILER", | 1016 "GRAAL_COMPILER", |
999 ], | 1017 ], |
1000 }, | 1018 }, |
1004 "dependencies" : [ | 1022 "dependencies" : [ |
1005 "com.oracle.graal.hotspot.amd64", | 1023 "com.oracle.graal.hotspot.amd64", |
1006 "com.oracle.graal.hotspot.sparc", | 1024 "com.oracle.graal.hotspot.sparc", |
1007 "com.oracle.graal.hotspot", | 1025 "com.oracle.graal.hotspot", |
1008 ], | 1026 ], |
1027 "exclude" : deps(["JVMCI"]), | |
1009 "distDependencies" : deps([ | 1028 "distDependencies" : deps([ |
1010 "jvmci:JVMCI_HOTSPOT", | 1029 "jvmci:JVMCI_HOTSPOT", |
1011 "GRAAL_COMPILER", | 1030 "GRAAL_COMPILER", |
1012 "GRAAL", | 1031 "GRAAL", |
1013 ]), | 1032 ]), |
1030 ], | 1049 ], |
1031 "distDependencies" : deps([ | 1050 "distDependencies" : deps([ |
1032 "GRAAL_HOTSPOT", | 1051 "GRAAL_HOTSPOT", |
1033 "jvmci:JVMCI_HOTSPOT", | 1052 "jvmci:JVMCI_HOTSPOT", |
1034 ]), | 1053 ]), |
1035 "exclude" : [ | 1054 "exclude" : deps([ |
1036 "mx:JUNIT", | 1055 "mx:JUNIT", |
1037 "JAVA_ALLOCATION_INSTRUMENTER" | 1056 "JAVA_ALLOCATION_INSTRUMENTER", |
1038 ], | 1057 "JVMCI" |
1058 ]), | |
1039 }, | 1059 }, |
1040 | 1060 |
1041 "GRAAL_TRUFFLE" : { | 1061 "GRAAL_TRUFFLE" : { |
1042 "subDir" : "graal", | 1062 "subDir" : "graal", |
1043 "dependencies" : [ | 1063 "dependencies" : [ |