# HG changeset patch # User Josef Eisl # Date 1409146576 -7200 # Node ID 87fc600ec586bda25c0cd96abd6643dce41069a6 # Parent ccb4e2bd894f9e5ea07289ac5feca77921d53c35 mx: skip downloading hsdis if not available. diff -r ccb4e2bd894f -r 87fc600ec586 mx/mx_graal.py --- 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)