Mercurial > hg > truffle
comparison mx/mx_graal.py @ 16693:b002c864e974
Truffle: rename install to maven-install-truffle and update location of Truffle JARs.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Tue, 05 Aug 2014 15:57:37 +0100 |
parents | 07a4ed7c66a3 |
children | 6de97968e3ef |
comparison
equal
deleted
inserted
replaced
16692:387c0fea76d4 | 16693:b002c864e974 |
---|---|
1539 | 1539 |
1540 if not exists(nbplatform): | 1540 if not exists(nbplatform): |
1541 mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') | 1541 mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') |
1542 mx.run(['ant', '-f', join(_graal_home, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'build.xml'), '-l', fp.name, 'run'], env=env) | 1542 mx.run(['ant', '-f', join(_graal_home, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'build.xml'), '-l', fp.name, 'run'], env=env) |
1543 | 1543 |
1544 def install(args): | 1544 def maven_install_truffle(args): |
1545 """install Truffle into your local Maven repository""" | 1545 """install Truffle into your local Maven repository""" |
1546 mx.archive(["@TRUFFLE"]) | 1546 mx.archive(["@TRUFFLE"]) |
1547 mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=truffle.jar']) | 1547 mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=build/truffle.jar']) |
1548 mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle-dsl-processor', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=truffle-dsl-processor.jar']) | 1548 mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle-dsl-processor', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=build/truffle-dsl-processor.jar']) |
1549 | 1549 |
1550 def c1visualizer(args): | 1550 def c1visualizer(args): |
1551 """run the Cl Compiler Visualizer""" | 1551 """run the Cl Compiler Visualizer""" |
1552 libpath = join(_graal_home, 'lib') | 1552 libpath = join(_graal_home, 'lib') |
1553 if mx.get_os() == 'windows': | 1553 if mx.get_os() == 'windows': |
2204 'findbugs': [findbugs, ''], | 2204 'findbugs': [findbugs, ''], |
2205 'generateZshCompletion' : [generateZshCompletion, ''], | 2205 'generateZshCompletion' : [generateZshCompletion, ''], |
2206 'hsdis': [hsdis, '[att]'], | 2206 'hsdis': [hsdis, '[att]'], |
2207 'hcfdis': [hcfdis, ''], | 2207 'hcfdis': [hcfdis, ''], |
2208 'igv' : [igv, ''], | 2208 'igv' : [igv, ''], |
2209 'install' : [install, ''], | 2209 'maven-install-truffle' : [maven_install_truffle, ''], |
2210 'jdkhome': [print_jdkhome, ''], | 2210 'jdkhome': [print_jdkhome, ''], |
2211 'jmh': [jmh, '[VM options] [filters|JMH-args-as-json...]'], | 2211 'jmh': [jmh, '[VM options] [filters|JMH-args-as-json...]'], |
2212 'dacapo': [dacapo, '[VM options] benchmarks...|"all" [DaCapo options]'], | 2212 'dacapo': [dacapo, '[VM options] benchmarks...|"all" [DaCapo options]'], |
2213 'scaladacapo': [scaladacapo, '[VM options] benchmarks...|"all" [Scala DaCapo options]'], | 2213 'scaladacapo': [scaladacapo, '[VM options] benchmarks...|"all" [Scala DaCapo options]'], |
2214 'specjvm2008': [specjvm2008, '[VM options] benchmarks...|"all" [SPECjvm2008 options]'], | 2214 'specjvm2008': [specjvm2008, '[VM options] benchmarks...|"all" [SPECjvm2008 options]'], |