Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/mx/commands.py Fri Oct 05 09:12:55 2012 +0200 +++ b/mx/commands.py Fri Oct 05 09:48:01 2012 +0200 @@ -275,8 +275,8 @@ mx.abort('Scala DaCapo failures: ' + str(failed)) def _arch(): - machine = os.uname()[4] - if machine in ['amd64', 'x86_64']: + machine = platform.uname()[4] + if machine in ['amd64', 'AMD64', 'x86_64']: return 'amd64' mx.abort('unsupported or unknown machine type: ' + machine)