Mercurial > hg > truffle
diff mx/commands.py @ 9934:0f7ca53be929
CR-806: Changes to build Graal for SPARC
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Fri, 07 Jun 2013 15:43:00 -0400 |
parents | 6fa4b4933892 |
children | e2068bbf4c0d |
line wrap: on
line diff
--- a/mx/commands.py Fri Jun 07 16:10:07 2013 +0200 +++ b/mx/commands.py Fri Jun 07 15:43:00 2013 -0400 @@ -232,6 +232,8 @@ machine = platform.uname()[4] if machine in ['amd64', 'AMD64', 'x86_64', 'i86pc']: return 'amd64' + if machine in ['sun4v']: + return 'sparc' if machine == 'i386' and mx.get_os() == 'darwin': try: # Support for Snow Leopard and earlier version of MacOSX