Skip to content

Commit

Permalink
update macos builds
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Mar 7, 2024
1 parent 53c3281 commit 0ed4d2f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,14 @@ done
if [ "$(uname)" = 'Darwin' ]; then
echo 'Installing dependencies...'
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'export PATH="/usr/local/bin:\${PATH}"' | tee -a "${HOME}/.bash_profile"
# remove existing Homebrew Python installs.
sudo rm -rf '/usr/local/bin/2to3'
sudo rm -rf '/usr/local/bin/2to3-3.11'
sudo rm -rf '/usr/local/bin/2to3' '/usr/local/bin/2to3-3.11'
brew update
echo 'Installing latest cURL version and configuring Homebrew to use it...'
brew install curl
HOMEBREW_FORCE_BREWED_CURL=1 brew config
echo 'export PATH="/usr/local/opt/curl/bin:\${PATH}"' | tee -a "${HOME}/.bash_profile"
echo 'export PATH="/usr/local/bin:\${PATH}"' | tee -a "${HOME}/.bash_profile"
source "${HOME}/.bash_profile"
brew install wget coreutils lscpu azure-cli "llvm@${CLANG_VERSION}"
else
Expand Down

0 comments on commit 0ed4d2f

Please sign in to comment.