bye bye brew (#37340)

* bye bye brew

* drop the nproc it's simpler
This commit is contained in:
Adeeb Shihadeh
2026-02-22 21:52:11 -08:00
committed by GitHub
parent f96406b13f
commit ca058bcc81
2 changed files with 1 additions and 23 deletions

View File

@@ -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

View File

@@ -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"