Mercurial > hg > graal-compiler
comparison mx/commands.py @ 9306:2e12f1719a42
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 25 Apr 2013 19:44:58 +0200 |
parents | 90ee20fd2c05 |
children | cdc21fd3d389 |
comparison
equal
deleted
inserted
replaced
9305:e6251a86e8e3 | 9306:2e12f1719a42 |
---|---|
1359 mx.add_argument('--vm', action='store', dest='vm', default='graal', choices=_vmChoices, help='the VM to build/run (default: ' + _vmChoices[0] + ')') | 1359 mx.add_argument('--vm', action='store', dest='vm', default='graal', choices=_vmChoices, help='the VM to build/run (default: ' + _vmChoices[0] + ')') |
1360 for c in _vmbuildChoices: | 1360 for c in _vmbuildChoices: |
1361 mx.add_argument('--' + c, action='store_const', dest='vmbuild', const=c, help='select the ' + c + ' build of the VM') | 1361 mx.add_argument('--' + c, action='store_const', dest='vmbuild', const=c, help='select the ' + c + ' build of the VM') |
1362 mx.add_argument('--ecl', action='store_true', dest='make_eclipse_launch', help='create launch configuration for running VM execution(s) in Eclipse') | 1362 mx.add_argument('--ecl', action='store_true', dest='make_eclipse_launch', help='create launch configuration for running VM execution(s) in Eclipse') |
1363 mx.add_argument('--native-dbg', action='store', dest='native_dbg', help='Start the vm inside a debugger', metavar='<debugger>') | 1363 mx.add_argument('--native-dbg', action='store', dest='native_dbg', help='Start the vm inside a debugger', metavar='<debugger>') |
1364 mx.add_argument('--gdb', action='store_const', const='/usr/bin/gdb --args', dest='native_dbg', help='alias for --native-dbg /usr/bin/gdb -- args') | 1364 mx.add_argument('--gdb', action='store_const', const='/usr/bin/gdb --args', dest='native_dbg', help='alias for --native-dbg /usr/bin/gdb --args') |
1365 | 1365 |
1366 commands.update({ | 1366 commands.update({ |
1367 'export': [export, '[-options] [zipfile]'], | 1367 'export': [export, '[-options] [zipfile]'], |
1368 'build': [build, '[-options] [' + '|'.join(_vmbuildChoices) + ']...'] | 1368 'build': [build, '[-options] [' + '|'.join(_vmbuildChoices) + ']...'] |
1369 }) | 1369 }) |