# HG changeset patch # User Gilles Duboscq # Date 1329489100 -3600 # Node ID 5b0a2334437d05f00039b6ab80bbe1c24fed08bd # Parent b1b78a46b9079b55ea32953eec7971486dfecaa3# Parent 05a33fabcfe6f3aa688f4fc92ca05b66f3f86df9 Merge diff -r b1b78a46b907 -r 5b0a2334437d mx/commands.py --- a/mx/commands.py Fri Feb 17 14:47:57 2012 +0100 +++ b/mx/commands.py Fri Feb 17 15:31:40 2012 +0100 @@ -624,7 +624,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) @@ -656,7 +657,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())