From 5547876b9dca62206df274004a0fbe4bd368cf9f Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Mon, 30 Sep 2024 10:04:11 -0700 Subject: [PATCH] setup: fetch gcc from px4 s3 bucket --- Tools/setup/ubuntu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/setup/ubuntu.sh b/Tools/setup/ubuntu.sh index 48e23709fb..b0ba8796f1 100755 --- a/Tools/setup/ubuntu.sh +++ b/Tools/setup/ubuntu.sh @@ -175,7 +175,10 @@ if [[ $INSTALL_NUTTX == "true" ]]; then else echo "Installing arm-none-eabi-gcc-${NUTTX_GCC_VERSION}"; - wget -O /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/${NUTTX_GCC_VERSION_SHORT}/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-${INSTALL_ARCH}-linux.tar.bz2 && \ + # downloading from PX4 S3 bucket instead of windows.net for greater download speed + # windows.net is throttling our runners and downloads can take anywhere between 5 to 10 mins + # significantly slowing down our CI + wget -O /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 https://px4-tools.s3.us-west-2.amazonaws.com/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-${INSTALL_ARCH}-linux.tar.bz2 && \ sudo tar -jxf /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 -C /opt/; # add arm-none-eabi-gcc to user's PATH