Skip to content
Browse files

Add retries to Micro makefile downloads, so they're more robust to tr…

…ansient errors

PiperOrigin-RevId: 255984685
  • Loading branch information
petewarden authored and tensorflower-gardener committed Jul 1, 2019
1 parent 22385cc commit c75a8d0299af5a6910fd3d71e7ecd625a44576ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 tensorflow/lite/experimental/micro/tools/make/
@@ -81,7 +81,7 @@ download_and_extract() {

echo "downloading ${url}" >&2
mkdir -p "${dir}"
curl -Ls "${url}" > ${tempfile}
curl -Ls --retry 5 "${url}" > ${tempfile}

# Check that the file was downloaded correctly using a checksum.
DOWNLOADED_MD5=$(openssl dgst -md5 ${tempfile} | sed 's/.* //g')

0 comments on commit c75a8d0

Please sign in to comment.
You can’t perform that action at this time.