Mercurial > hg > graal-jvmci-8
comparison mx/mx_graal.py @ 19691:84b85c43633b
[SPARC] Install hsdis-sparcv9.so into the jvm with mx
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 03 Mar 2015 16:10:07 +0100 |
parents | 9f037830060a |
children | 3f7cd3c36734 |
comparison
equal
deleted
inserted
replaced
19690:268f56a8ce55 | 19691:84b85c43633b |
---|---|
2105 This is needed to support HotSpot's assembly dumping features. | 2105 This is needed to support HotSpot's assembly dumping features. |
2106 By default it downloads the Intel syntax version, use the 'att' argument to install AT&T syntax.""" | 2106 By default it downloads the Intel syntax version, use the 'att' argument to install AT&T syntax.""" |
2107 flavor = 'intel' | 2107 flavor = 'intel' |
2108 if 'att' in args: | 2108 if 'att' in args: |
2109 flavor = 'att' | 2109 flavor = 'att' |
2110 if mx.get_arch() == "sparcv9": | |
2111 flavor = "sparcv9" | |
2110 lib = mx.add_lib_suffix('hsdis-' + mx.get_arch()) | 2112 lib = mx.add_lib_suffix('hsdis-' + mx.get_arch()) |
2111 path = join(_graal_home, 'lib', lib) | 2113 path = join(_graal_home, 'lib', lib) |
2112 | 2114 |
2113 sha1s = { | 2115 sha1s = { |
2114 'att/hsdis-amd64.dll' : 'bcbd535a9568b5075ab41e96205e26a2bac64f72', | 2116 'att/hsdis-amd64.dll' : 'bcbd535a9568b5075ab41e96205e26a2bac64f72', |
2115 'att/hsdis-amd64.so' : '58919ba085d4ef7a513f25bae75e7e54ee73c049', | 2117 'att/hsdis-amd64.so' : '58919ba085d4ef7a513f25bae75e7e54ee73c049', |
2116 'intel/hsdis-amd64.dll' : '6a388372cdd5fe905c1a26ced614334e405d1f30', | 2118 'intel/hsdis-amd64.dll' : '6a388372cdd5fe905c1a26ced614334e405d1f30', |
2117 'intel/hsdis-amd64.so' : '844ed9ffed64fe9599638f29a8450c50140e3192', | 2119 'intel/hsdis-amd64.so' : '844ed9ffed64fe9599638f29a8450c50140e3192', |
2118 'intel/hsdis-amd64.dylib' : 'fdb13ef0d7d23d93dacaae9c98837bea0d4fc5a2', | 2120 'intel/hsdis-amd64.dylib' : 'fdb13ef0d7d23d93dacaae9c98837bea0d4fc5a2', |
2121 'sparcv9/hsdis-sparcv9.so': '5f79c312b3dcc55bad551dbb710b11f0048a4ce7', | |
2119 } | 2122 } |
2120 | 2123 |
2121 flavoredLib = flavor + "/" + lib | 2124 flavoredLib = flavor + "/" + lib |
2122 if flavoredLib not in sha1s: | 2125 if flavoredLib not in sha1s: |
2123 mx.logv("hsdis not supported on this plattform or architecture") | 2126 mx.logv("hsdis not supported on this plattform or architecture") |