Mercurial > hg > truffle
diff mx/commands.py @ 5094:d3f547b08304
added mechanism for disabling automatic native builds from the IDE (set IDE_BUILD_TARGET="" in mx/env)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 16 Mar 2012 20:23:29 +0100 |
parents | 0a1e5b876667 |
children | 276e14614531 |
line wrap: on
line diff
--- a/mx/commands.py Fri Mar 16 20:03:11 2012 +0100 +++ b/mx/commands.py Fri Mar 16 20:23:29 2012 +0100 @@ -414,6 +414,12 @@ buildSuffix = 'graal' for build in builds: + if build == 'ide-build-target': + build = os.environ.get('IDE_BUILD_TARGET', 'product') + if len(build) == 0: + mx.log('[skipping build from IDE as IDE_BUILD_TARGET environment variable is ""]') + continue + jdk = _jdk(build, create=True) vmDir = join(_vmLibDirInJdk(jdk), vm)