Do a shutdown and rebuild

This commit is contained in:
Kovid Goyal 2022-02-28 07:21:46 +05:30
parent 2619db0e58
commit 7e8c96896f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -68,7 +68,9 @@ def run_build(args: Any) -> None:
if not needs_retry: if not needs_retry:
raise raise
print('Build failed, retrying in a few seconds...', file=sys.stderr) print('Build failed, retrying in a few seconds...', file=sys.stderr)
time.sleep(15) if 'macos' in cmd:
call('python ../bypy macos shutdown')
time.sleep(25)
call(cmd, echo=True) call(cmd, echo=True)
for x in ('64', '32', 'arm64'): for x in ('64', '32', 'arm64'):