Mercurial > hg > graal-compiler
comparison mx/commands.py @ 4294:600cbdce9805
force ALT_BOOTDIR to the proper jdk to avoid installing non-product builds into the product build
author | Gilles Duboscq <gilles.m.duboscq@gmail.com> |
---|---|
date | Wed, 18 Jan 2012 18:21:52 +0100 |
parents | d4906ea4255b |
children | b0aa4a52b89c 4aacce9c9cb9 |
comparison
equal
deleted
inserted
replaced
4293:d4906ea4255b | 4294:600cbdce9805 |
---|---|
359 else: | 359 else: |
360 env = os.environ | 360 env = os.environ |
361 env.setdefault('ARCH_DATA_MODEL', '64') | 361 env.setdefault('ARCH_DATA_MODEL', '64') |
362 env.setdefault('LANG', 'C') | 362 env.setdefault('LANG', 'C') |
363 env.setdefault('HOTSPOT_BUILD_JOBS', '3') | 363 env.setdefault('HOTSPOT_BUILD_JOBS', '3') |
364 env.setdefault('ALT_BOOTDIR', jdk) | 364 env['ALT_BOOTDIR'] = jdk |
365 env.setdefault('INSTALL', 'y') | 365 env.setdefault('INSTALL', 'y') |
366 mx.run([mx.gmake_cmd(), build + 'graal'], cwd=join(_graal_home, 'make'), err=filterXusage) | 366 mx.run([mx.gmake_cmd(), build + 'graal'], cwd=join(_graal_home, 'make'), err=filterXusage) |
367 | 367 |
368 def vm(args, vm='-graal', nonZeroIsFatal=True, out=None, err=None, cwd=None, timeout=None, vmbuild=None): | 368 def vm(args, vm='-graal', nonZeroIsFatal=True, out=None, err=None, cwd=None, timeout=None, vmbuild=None): |
369 """run the GraalVM""" | 369 """run the GraalVM""" |