Mercurial > hg > truffle
changeset 16976:87fc600ec586
mx: skip downloading hsdis if not available.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 27 Aug 2014 15:36:16 +0200 |
parents | ccb4e2bd894f |
children | 69f213fa0814 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed Aug 27 15:54:00 2014 +0200 +++ b/mx/mx_graal.py Wed Aug 27 15:36:16 2014 +0200 @@ -1952,8 +1952,12 @@ 'intel/hsdis-amd64.dylib' : 'fdb13ef0d7d23d93dacaae9c98837bea0d4fc5a2', } + flavoredLib = flavor + "/" + lib + if flavoredLib not in sha1s: + mx.logv("hsdis not supported on this plattform or architecture") + return + if not exists(path): - flavoredLib = flavor + "/" + lib sha1 = sha1s[flavoredLib] sha1path = path + '.sha1' mx.download_file_with_sha1('hsdis', path, ['http://lafo.ssw.uni-linz.ac.at/hsdis/' + flavoredLib], sha1, sha1path, True, True, sources=False)