Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 15275:0c9406f9338f
Update c1visualizer to version compatible with Java 8
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 22 Apr 2014 16:41:46 -0700 |
parents | 9ff9f6643986 |
children | dc2dd913c47e |
comparison
equal
deleted
inserted
replaced
15274:1ea79f17ab95 | 15275:0c9406f9338f |
---|---|
1303 if mx.get_os() == 'windows': | 1303 if mx.get_os() == 'windows': |
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.zip') | 1308 archive = join(libpath, 'c1visualizer_2014-04-22.zip') |
1309 if not exists(executable): | 1309 if not exists(executable): |
1310 if not exists(archive): | 1310 if not exists(archive): |
1311 mx.download(archive, ['https://java.net/downloads/c1visualizer/c1visualizer.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 |
1315 if not exists(executable): | 1315 if not exists(executable): |
1316 mx.abort('C1Visualizer binary does not exist: ' + executable) | 1316 mx.abort('C1Visualizer binary does not exist: ' + executable) |