Skip to content

Commit 54a0ac8

Browse files
authored
[runtime] Retry downloading coreclrhost.h if it fails. (#24069)
I sometimes get a ssl handshake failure, which is usually fixed by trying again.
1 parent ade8322 commit 54a0ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ IOS_SIMULATOR_ARCHITECTURES+=x86_64
3535
IOS_DEVICE_ARCHITECTURES+=arm64
3636

3737
coreclrhost.h: Makefile
38-
$(Q_CURL) curl -L --fail --output "$@.tmp" https://raw.githubusercontent.com/dotnet/runtime/f1b8d5a4448d072c9d390744777a87921e45bf2f/src/coreclr/hosts/inc/coreclrhost.h
38+
$(Q_CURL) curl -L --retry 3 --retry-all-errors --fail --output "$@.tmp" https://raw.githubusercontent.com/dotnet/runtime/f1b8d5a4448d072c9d390744777a87921e45bf2f/src/coreclr/hosts/inc/coreclrhost.h
3939
$(Q) mv "$@.tmp" "$@"
4040

4141
coreclr-bridge.m: coreclrhost.h

0 commit comments

Comments
 (0)