comparison mx/mx_graal.py @ 15401:27fa615f5a1c

mx export: fix VM() usage
author Bernhard Urban <bernhard.urban@jku.at>
date Fri, 25 Apr 2014 15:47:00 +0200
parents 3b56c9bbf60c
children 5dcf0ae606f3
comparison
equal deleted inserted replaced
15400:619e823d69c4 15401:27fa615f5a1c
173 args = parser.parse_args(args) 173 args = parser.parse_args(args)
174 174
175 tmp = tempfile.mkdtemp(prefix='tmp', dir=_graal_home) 175 tmp = tempfile.mkdtemp(prefix='tmp', dir=_graal_home)
176 if args.vmbuild: 176 if args.vmbuild:
177 # Make sure the product VM binary is up to date 177 # Make sure the product VM binary is up to date
178 with VM(vmbuild='product'): 178 with VM(build='product'):
179 build([]) 179 build([])
180 180
181 mx.log('Copying Java sources and mx files...') 181 mx.log('Copying Java sources and mx files...')
182 mx.run(('hg archive -I graal -I mx -I mxtool -I mx.sh ' + tmp).split()) 182 mx.run(('hg archive -I graal -I mx -I mxtool -I mx.sh ' + tmp).split())
183 183