Skip to content

Commit

Permalink
MacOS remove 2to3, to fix brew link error
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Aug 29, 2024
1 parent d92a89d commit ba847ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ set -euo pipefail
arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi
arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi
# Risc-V prerequisites
echo "Listing local"
ls /usr/local/bin
rm /usr/local/bin/2to3*
rm /usr/local/bin/idle3*
rm /usr/local/bin/pip*
rm /usr/local/bin/py*
arch -x86_64 /usr/local/bin/brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock libslirp
arch -arm64 /opt/homebrew/bin/brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock libslirp

Expand Down

0 comments on commit ba847ae

Please sign in to comment.