Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 15310:dc2dd913c47e
mx: ensure newest version of c1visualizer is being used
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Apr 2014 12:36:11 +0200 |
parents | 0c9406f9338f |
children | 404d29e8cee6 |
comparison
equal
deleted
inserted
replaced
15309:4c224a49f792 | 15310:dc2dd913c47e |
---|---|
1304 executable = join(libpath, 'c1visualizer', 'bin', 'c1visualizer.exe') | 1304 executable = join(libpath, 'c1visualizer', 'bin', 'c1visualizer.exe') |
1305 else: | 1305 else: |
1306 executable = join(libpath, 'c1visualizer', 'bin', 'c1visualizer') | 1306 executable = join(libpath, 'c1visualizer', 'bin', 'c1visualizer') |
1307 | 1307 |
1308 archive = join(libpath, 'c1visualizer_2014-04-22.zip') | 1308 archive = join(libpath, 'c1visualizer_2014-04-22.zip') |
1309 if not exists(executable): | 1309 if not exists(executable) or not exists(archive): |
1310 if not exists(archive): | 1310 if not exists(archive): |
1311 mx.download(archive, ['https://java.net/downloads/c1visualizer/c1visualizer_2014-04-22.zip']) | 1311 mx.download(archive, ['https://java.net/downloads/c1visualizer/c1visualizer_2014-04-22.zip']) |
1312 zf = zipfile.ZipFile(archive, 'r') | 1312 zf = zipfile.ZipFile(archive, 'r') |
1313 zf.extractall(libpath) | 1313 zf.extractall(libpath) |
1314 | 1314 |