comparison 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
comparison
equal deleted inserted replaced
7153:c421c19b7bf8 7154:5d0bb7d52783
548 env = os.environ 548 env = os.environ
549 env.setdefault('ARCH_DATA_MODEL', '64') 549 env.setdefault('ARCH_DATA_MODEL', '64')
550 env.setdefault('LANG', 'C') 550 env.setdefault('LANG', 'C')
551 env.setdefault('HOTSPOT_BUILD_JOBS', str(cpus)) 551 env.setdefault('HOTSPOT_BUILD_JOBS', str(cpus))
552 env['ALT_BOOTDIR'] = jdk 552 env['ALT_BOOTDIR'] = jdk
553 if not env.has_key('OMIT_GRAAL'):
554 env['GRAAL'] = join(_graal_home, 'graal') # needed for TEST_IN_BUILD
553 env.setdefault('INSTALL', 'y') 555 env.setdefault('INSTALL', 'y')
554 if mx.get_os() == 'solaris' : 556 if mx.get_os() == 'solaris' :
555 # If using sparcWorks, setup flags to avoid make complaining about CC version 557 # If using sparcWorks, setup flags to avoid make complaining about CC version
556 cCompilerVersion = subprocess.Popen('CC -V', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).stderr.readlines()[0] 558 cCompilerVersion = subprocess.Popen('CC -V', stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).stderr.readlines()[0]
557 if cCompilerVersion.startswith('CC: Sun C++') : 559 if cCompilerVersion.startswith('CC: Sun C++') :