Skip to content

Commit ffecf73

Browse files
authored
Increase timeouts for macOS toolchain setup (#203)
This switches all macOS toolchain setup compiles and executes to use the default timeout of 600s. This should help avoid issues on GitHub actions where these timeout and cause build failures. The common case shouldn't really be affected. bazelbuild/bazel#17437
1 parent 9475658 commit ffecf73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crosstool/osx_cc_configure.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _compile_cc_file_single_arch(repository_ctx, src_name, out_name):
6464
"-o",
6565
out_name,
6666
src_name,
67-
], 60)
67+
])
6868
if (xcrun_result.return_code != 0):
6969
error_msg = (
7070
"return code {code}, stderr: {err}, stdout: {out}"
@@ -100,7 +100,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
100100
"-o",
101101
out_name,
102102
src_name,
103-
], 60)
103+
])
104104

105105
if xcrun_result.return_code == 0:
106106
xcrun_result = repository_ctx.execute([
@@ -113,7 +113,7 @@ def _compile_cc_file(repository_ctx, src_name, out_name):
113113
"--sign",
114114
"-",
115115
out_name,
116-
], 60)
116+
])
117117
if xcrun_result.return_code != 0:
118118
error_msg = (
119119
"codesign return code {code}, stderr: {err}, stdout: {out}"

0 commit comments

Comments
 (0)