Skip to content

Commit

Permalink
Increase osx_cc_configure timeouts
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
  • Loading branch information
keith authored and Copybara-Service committed Jul 21, 2022
1 parent d1ba1b3 commit 4df77f7
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 4df77f7

Please sign in to comment.