Skip to content

Commit b2bb1f5

Browse files
committed
fix(Mac): build portaudio from specific commit
1 parent 6c2bc01 commit b2bb1f5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/install-macos.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ pip3 install .
1111
python3 setup.py build_ext --inplace
1212

1313
# for Macos Big Sur, the stable portaudio (19.6.0) makes Friture freeze on startup
14-
# install from latest master instead
14+
# install from a newer master commit instead
1515
# see: https://github.com/tlecomte/friture/issues/154
16-
brew install portaudio --HEAD
16+
PORTAUDIO_COMMIT=aa7a7902f1b79502633aeb88919657af46c84193
17+
rm -rf build/portaudio
18+
git clone https://github.com/PortAudio/portaudio.git build/portaudio
19+
cd build/portaudio
20+
git checkout $PORTAUDIO_COMMIT
21+
./configure --enable-mac-universal=no --enable-cxx
22+
make
23+
sudo make install
24+
cd -
1725

1826
pyinstaller friture.spec -y
1927

0 commit comments

Comments
 (0)