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 158c48b commit 470609f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,17 @@ done

# Ensure LLVM and Vulkan are installed.
if [ "$(uname)" = 'Darwin' ]; then
# echo 'Updating XCode Command Line Tools...'
# sudo softwareupdate --all --install --force --agree-to-license -aR
echo 'Installing dependencies...'
tee -a "${HOME}/.bash_profile" << EOT
export PATH="/usr/local/bin:\${PATH}"
EOT
source "${HOME}/.bash_profile"
# remove existing Homebrew Python installs.
sudo rm -rf '/usr/local/bin/2to3'
sudo rm -rf '/usr/local/bin/2to3-3.11'
brew update
# brew upgrade
brew_install curl wget coreutils
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"
source "${HOME}/.bash_profile"
brew_install wget coreutils lscpu
brew_install azure-cli
brew_install "llvm@${CLANG_VERSION}"
else
Expand Down

0 comments on commit 470609f

Please sign in to comment.