Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 15432:62f455eba8c5
Merge
author | Miguel Garcia <miguel.m.garcia@oracle.com> |
---|---|
date | Tue, 29 Apr 2014 16:16:27 +0200 |
parents | 5947bb02474f |
children | f73fc9309f12 |
comparison
equal
deleted
inserted
replaced
15431:746c0bda7ba6 | 15432:62f455eba8c5 |
---|---|
161 rmIfExists(join(_graal_home, 'build-nograal')) | 161 rmIfExists(join(_graal_home, 'build-nograal')) |
162 rmIfExists(_jdksDir()) | 162 rmIfExists(_jdksDir()) |
163 rmIfExists(mx.distribution('GRAAL').path) | 163 rmIfExists(mx.distribution('GRAAL').path) |
164 | 164 |
165 def export(args): | 165 def export(args): |
166 """create archives of builds splitted by vmbuild and vm""" | 166 """create archives of builds split by vmbuild and vm""" |
167 | 167 |
168 parser = ArgumentParser(prog='mx export') | 168 parser = ArgumentParser(prog='mx export') |
169 args = parser.parse_args(args) | 169 args = parser.parse_args(args) |
170 | 170 |
171 # collect data about export | 171 # collect data about export |
172 infos = dict() | 172 infos = dict() |
173 infos['timestamp'] = time.time() | 173 infos['timestamp'] = time.time() |
174 | 174 |
175 hgcfg = mx.HgConfig() | 175 hgcfg = mx.HgConfig() |
176 hgcfg.check() | 176 hgcfg.check() |
177 infos['revision'] = hgcfg.tip('.') | 177 infos['revision'] = hgcfg.tip('.') + ('+' if hgcfg.isDirty('.') else '') |
178 infos['revision_dirty'] = hgcfg.isDirty('.') | |
179 # TODO: infos['repository'] | 178 # TODO: infos['repository'] |
180 | 179 |
181 infos['jdkversion'] = str(mx.java().version) | 180 infos['jdkversion'] = str(mx.java().version) |
182 | 181 |
183 infos['architecture'] = _arch() | 182 infos['architecture'] = _arch() |