Mercurial > hg > graal-compiler
comparison mx/commands.py @ 6512:edea9ba7ac7b
Windows-specific fix for mx.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 05 Oct 2012 09:48:01 +0200 |
parents | 305b9166b455 |
children | 0a6d8857306d |
comparison
equal
deleted
inserted
replaced
6511:0b62a9d44c21 | 6512:edea9ba7ac7b |
---|---|
273 | 273 |
274 if len(failed) != 0: | 274 if len(failed) != 0: |
275 mx.abort('Scala DaCapo failures: ' + str(failed)) | 275 mx.abort('Scala DaCapo failures: ' + str(failed)) |
276 | 276 |
277 def _arch(): | 277 def _arch(): |
278 machine = os.uname()[4] | 278 machine = platform.uname()[4] |
279 if machine in ['amd64', 'x86_64']: | 279 if machine in ['amd64', 'AMD64', 'x86_64']: |
280 return 'amd64' | 280 return 'amd64' |
281 mx.abort('unsupported or unknown machine type: ' + machine) | 281 mx.abort('unsupported or unknown machine type: ' + machine) |
282 | 282 |
283 def _vmLibDirInJdk(jdk): | 283 def _vmLibDirInJdk(jdk): |
284 """ | 284 """ |