Mercurial > hg > truffle
diff mx/commands.py @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | abbe4faaf0c1 |
children | c356cab093bc |
line wrap: on
line diff
--- a/mx/commands.py Wed Dec 12 15:46:11 2012 +0100 +++ b/mx/commands.py Wed Dec 12 21:36:40 2012 +0100 @@ -550,6 +550,8 @@ env.setdefault('LANG', 'C') env.setdefault('HOTSPOT_BUILD_JOBS', str(cpus)) env['ALT_BOOTDIR'] = jdk + if not env.has_key('OMIT_GRAAL'): + env['GRAAL'] = join(_graal_home, 'graal') # needed for TEST_IN_BUILD env.setdefault('INSTALL', 'y') if mx.get_os() == 'solaris' : # If using sparcWorks, setup flags to avoid make complaining about CC version