Mercurial > hg > graal-compiler
comparison mxtool/mx.py @ 5189:6fbf12b8e572
automated download of hsdis lib if PrintAssembly option is used; added support for hsdis on the Mac
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Apr 2012 21:31:32 +0200 |
parents | 99ad84da5f99 |
children | a6eceb5efb0e |
comparison
equal
deleted
inserted
replaced
5188:c49f9f0b9aad | 5189:6fbf12b8e572 |
---|---|
726 Gets the platform specific suffix for a library | 726 Gets the platform specific suffix for a library |
727 """ | 727 """ |
728 os = get_os(); | 728 os = get_os(); |
729 if os == 'windows': | 729 if os == 'windows': |
730 return name + '.dll' | 730 return name + '.dll' |
731 if os == 'linux': | 731 if os == 'linux' or os == 'solaris': |
732 return name + '.so' | 732 return name + '.so' |
733 if os == 'darwin': | |
734 return name + '.dylib' | |
733 return name | 735 return name |
734 | 736 |
735 """ | 737 """ |
736 A JavaCompliance simplifies comparing Java compliance values extracted from a JDK version string. | 738 A JavaCompliance simplifies comparing Java compliance values extracted from a JDK version string. |
737 """ | 739 """ |