Skip to content

Commit

Permalink
Increase osx_cc_configure timeouts (#15942)
Browse files Browse the repository at this point in the history
People see a lot of timeouts on these calls, especially when using
github actions. Bumping them a bit shouldn't hurt the common case but
might help this issue.

Related: #14113

Closes #15877.

PiperOrigin-RevId: 462325991
Change-Id: I61819f558eed7964ac9fee1d9ff5171689e01aa5

Co-authored-by: Keith Smiley <[email protected]>
  • Loading branch information
ckolli5 and keith authored Jul 21, 2022
1 parent 63bc14b commit aaf19a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/cpp/osx_cc_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _compile_cc_file_single_arch(repository_ctx, src_name, out_name):
"-o",
out_name,
src_name,
], 30)
], 60)
if (xcrun_result.return_code != 0):
error_msg = (
"return code {code}, stderr: {err}, stdout: {out}"
Expand Down Expand Up @@ -107,7 +107,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
"-o",
out_name,
src_name,
], 30)
], 60)

if xcrun_result.return_code == 0:
xcrun_result = repository_ctx.execute([
Expand All @@ -120,7 +120,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
"--sign",
"-",
out_name,
], 30)
], 60)
if xcrun_result.return_code != 0:
error_msg = (
"codesign return code {code}, stderr: {err}, stdout: {out}"
Expand Down

0 comments on commit aaf19a8

Please sign in to comment.