From b6233838eb6aa564c0fd13bf55bc3914ae7a7716 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 14 Dec 2024 23:10:04 -0800 Subject: [PATCH] macOS: disable brew auto update (#34247) --- tools/mac_setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/mac_setup.sh b/tools/mac_setup.sh index 062de6aabf..bfbdb0cc66 100755 --- a/tools/mac_setup.sh +++ b/tools/mac_setup.sh @@ -5,6 +5,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" ROOT="$(cd $DIR/../ && pwd)" ARCH=$(uname -m) +# homebrew update is slow +export HOMEBREW_NO_AUTO_UPDATE=1 + if [[ $SHELL == "/bin/zsh" ]]; then RC_FILE="$HOME/.zshrc" elif [[ $SHELL == "/bin/bash" ]]; then