Update macOS install script (#21854)

This commit is contained in:
Ryan 2023-09-01 09:26:48 +10:00 committed by GitHub
parent 9614c3adfa
commit d92ef59f24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -19,8 +19,13 @@ _qmk_install() {
# https://github.com/qmk/homebrew-qmk
brew install qmk/qmk/qmk
# Conflicts with new toolchain formulae
brew uninstall --ignore-dependencies arm-gcc-bin@8 >/dev/null 2>&1
# Keg-only, so need to be manually linked
brew link --force avr-gcc@8
brew link --force arm-gcc-bin@8
brew link --force arm-none-eabi-binutils
brew link --force arm-none-eabi-gcc@8
python3 -m pip install -r $QMK_FIRMWARE_DIR/requirements.txt
}