# HG changeset patch # User Doug Simon # Date 1329487297 -3600 # Node ID 05a33fabcfe6f3aa688f4fc92ca05b66f3f86df9 # Parent ee87cfe2f8f9a19ae0660aae92a0486fd08d95a0 Added -g option to 'mx gate' to omit the server and client builds (i.e. -g == graal only). diff -r ee87cfe2f8f9 -r 05a33fabcfe6 mx/commands.py --- 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())