Mercurial > hg > graal-jvmci-8
comparison mx/commands.py @ 3736:d3ec27ea1b20
Work with GRAAL environment variable instead of MAXINE environment variable.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 20:48:46 +0100 |
parents | 3e2e8b8abdaf |
children | 34527a24bcf8 |
comparison
equal
deleted
inserted
replaced
3735:61369a06f03c | 3736:d3ec27ea1b20 |
---|---|
242 """run the GraalVM""" | 242 """run the GraalVM""" |
243 | 243 |
244 build = env.vmbuild | 244 build = env.vmbuild |
245 if env.java_dbg: | 245 if env.java_dbg: |
246 args = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000'] + args | 246 args = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000'] + args |
247 os.environ['MAXINE'] = env.check_get_env('GRAAL_HOME') | 247 os.environ['GRAAL'] = join(env.check_get_env('GRAAL_HOME'), 'graal') |
248 exe = join(_jdk7(env, build), 'bin', env.exe_suffix('java')) | 248 exe = join(_jdk7(env, build), 'bin', env.exe_suffix('java')) |
249 return env.run([exe, vm] + args) | 249 return env.run([exe, vm] + args) |
250 | 250 |
251 def eclipseprojects(env, args): | 251 def eclipseprojects(env, args): |
252 """(re)generate Eclipse project configurations | 252 """(re)generate Eclipse project configurations |