Mercurial > hg > graal-jvmci-8
changeset 4608:05a33fabcfe6
Added -g option to 'mx gate' to omit the server and client builds (i.e. -g == graal only).
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 17 Feb 2012 15:01:37 +0100 |
parents | ee87cfe2f8f9 |
children | 5b0a2334437d |
files | mx/commands.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/commands.py Fri Feb 17 14:07:32 2012 +0100 +++ b/mx/commands.py Fri Feb 17 15:01:37 2012 +0100 @@ -622,7 +622,8 @@ return self parser = ArgumentParser(prog='mx gate'); - parser.add_argument('--omit-native-build', action='store_false', dest='buildNative', help='omit cleaning and building native code') + parser.add_argument('-n', '--omit-native-build', action='store_false', dest='buildNative', help='omit cleaning and building native code') + parser.add_argument('-g', '--only-build-graalvm', action='store_false', dest='buildNonGraal', help='only build the Graal VM') args = parser.parse_args(args) @@ -654,7 +655,7 @@ tasks.append(t.stop()) # Prevent Graal modifications from breaking the standard builds - if args.buildNative: + if args.buildNative and args.buildNonGraal: t = Task('BuildHotSpotVarieties') buildvms(['--vms', 'client,server', '--builds', 'fastdebug,product']) tasks.append(t.stop())