comparison mx/mx_graal.py @ 16699:6de97968e3ef

Truffle: build DSL processor before trying to install it.
author Chris Seaton <chris.seaton@oracle.com>
date Tue, 05 Aug 2014 22:20:06 +0100
parents b002c864e974
children 3d148f5e90b8
comparison
equal deleted inserted replaced
16693:b002c864e974 16699:6de97968e3ef
1543 1543
1544 def maven_install_truffle(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=build/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.archive(["@TRUFFLE-DSL-PROCESSOR"])
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 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 1550
1550 def c1visualizer(args): 1551 def c1visualizer(args):
1551 """run the Cl Compiler Visualizer""" 1552 """run the Cl Compiler Visualizer"""
1552 libpath = join(_graal_home, 'lib') 1553 libpath = join(_graal_home, 'lib')