Skip to content

Commit ba847ae

Browse files
committed
MacOS remove 2to3, to fix brew link error
1 parent d92a89d commit ba847ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build_macos.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ set -euo pipefail
66
arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi
77
arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi
88
# Risc-V prerequisites
9+
echo "Listing local"
10+
ls /usr/local/bin
11+
rm /usr/local/bin/2to3*
12+
rm /usr/local/bin/idle3*
13+
rm /usr/local/bin/pip*
14+
rm /usr/local/bin/py*
915
arch -x86_64 /usr/local/bin/brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock libslirp
1016
arch -arm64 /opt/homebrew/bin/brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock libslirp
1117

0 commit comments

Comments
 (0)