Mercurial > hg > truffle
comparison pytools/commands.py @ 3628:61f10abeb25a
Removed more vestiges of JDK7G build support.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 09 Nov 2011 22:53:16 +0100 |
parents | c773cc740d4a |
children | b054dd61bfe1 |
comparison
equal
deleted
inserted
replaced
3627:c773cc740d4a | 3628:61f10abeb25a |
---|---|
31 from collections import Callable | 31 from collections import Callable |
32 | 32 |
33 def clean(env, args): | 33 def clean(env, args): |
34 """cleans the GraalVM source tree""" | 34 """cleans the GraalVM source tree""" |
35 os.environ.update(ARCH_DATA_MODEL='64', LANG='C', HOTSPOT_BUILD_JOBS='16') | 35 os.environ.update(ARCH_DATA_MODEL='64', LANG='C', HOTSPOT_BUILD_JOBS='16') |
36 env.run(['gmake', 'clean'], cwd=join(env.graal_home, 'make')) | 36 env.run([env.gmake_cmd(), 'clean'], cwd=join(env.graal_home, 'make')) |
37 | 37 |
38 def bootstrap(env, args): | 38 def bootstrap(env, args): |
39 return env.run_vm(args + ['-version']) | 39 return env.run_vm(args + ['-version']) |
40 | 40 |
41 def avrora(env, args): | 41 def avrora(env, args): |
152 if not exists(graalVmDir): | 152 if not exists(graalVmDir): |
153 env.log('Creating Graal directory in JDK7: ' + graalVmDir) | 153 env.log('Creating Graal directory in JDK7: ' + graalVmDir) |
154 os.makedirs(graalVmDir) | 154 os.makedirs(graalVmDir) |
155 | 155 |
156 os.environ.update(ARCH_DATA_MODEL='64', LANG='C', HOTSPOT_BUILD_JOBS='4', ALT_BOOTDIR=env.jdk7, INSTALL='y') | 156 os.environ.update(ARCH_DATA_MODEL='64', LANG='C', HOTSPOT_BUILD_JOBS='4', ALT_BOOTDIR=env.jdk7, INSTALL='y') |
157 env.run(['gmake', 'jvmggraal'], cwd=join(env.graal_home, 'make')) | 157 env.run([env.gmake_cmd(), 'productgraal'], cwd=join(env.graal_home, 'make')) |
158 | |
159 os.environ.update(ARCH_DATA_MODEL='64', LANG='C', HOTSPOT_BUILD_JOBS='4', ALT_BOOTDIR=env.jdk7, INSTALL='y') | |
160 env.run(['gmake', 'productgraal'], cwd=join(env.graal_home, 'make')) | |
161 | 158 |
162 def vm(env, args): | 159 def vm(env, args): |
163 return env.run_vm(args) | 160 return env.run_vm(args) |
164 | 161 |
165 # Table of commands in alphabetical order. | 162 # Table of commands in alphabetical order. |