From ca058bcc8182de7dc70d4918f2def39e54ae9775 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 22 Feb 2026 21:52:11 -0800 Subject: [PATCH] bye bye brew (#37340) * bye bye brew * drop the nproc it's simpler --- .github/workflows/tests.yaml | 2 +- tools/mac_setup.sh | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 79520105a4..92cdd23768 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -81,7 +81,7 @@ jobs: scons-${{ runner.arch }}-macos-${{ env.CACHE_COMMIT_DATE }} scons-${{ runner.arch }}-macos - name: Building openpilot - run: . .venv/bin/activate && scons -j$(nproc) + run: . .venv/bin/activate && scons static_analysis: name: static analysis diff --git a/tools/mac_setup.sh b/tools/mac_setup.sh index 1a8a17bfeb..9607f70cf5 100755 --- a/tools/mac_setup.sh +++ b/tools/mac_setup.sh @@ -4,34 +4,12 @@ set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" ROOT="$(cd $DIR/../ && pwd)" -# homebrew update is slow -export HOMEBREW_NO_AUTO_UPDATE=1 - if [[ $SHELL == "/bin/zsh" ]]; then RC_FILE="$HOME/.zshrc" elif [[ $SHELL == "/bin/bash" ]]; then RC_FILE="$HOME/.bash_profile" fi -# Install brew if required -if [[ $(command -v brew) == "" ]]; then - echo "Installing Homebrew" - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - echo "[ ] installed brew t=$SECONDS" - - # make brew available now - echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $RC_FILE - eval "$(/opt/homebrew/bin/brew shellenv)" -else - brew up -fi - -brew bundle --file=- <<-EOS -brew "coreutils" -EOS - -echo "[ ] finished brew install t=$SECONDS" - # install python dependencies $DIR/install_python_dependencies.sh echo "[ ] installed python dependencies t=$SECONDS"