Skip to content

Commit 4df77f7

Browse files
keithcopybara-github
authored andcommitted
Increase osx_cc_configure timeouts
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
1 parent d1ba1b3 commit 4df77f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/cpp/osx_cc_configure.bzl

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _compile_cc_file_single_arch(repository_ctx, src_name, out_name):
7171
"-o",
7272
out_name,
7373
src_name,
74-
], 30)
74+
], 60)
7575
if (xcrun_result.return_code != 0):
7676
error_msg = (
7777
"return code {code}, stderr: {err}, stdout: {out}"
@@ -107,7 +107,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
107107
"-o",
108108
out_name,
109109
src_name,
110-
], 30)
110+
], 60)
111111

112112
if xcrun_result.return_code == 0:
113113
xcrun_result = repository_ctx.execute([
@@ -120,7 +120,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
120120
"--sign",
121121
"-",
122122
out_name,
123-
], 30)
123+
], 60)
124124
if xcrun_result.return_code != 0:
125125
error_msg = (
126126
"codesign return code {code}, stderr: {err}, stdout: {out}"

0 commit comments

Comments
 (0)