Skip to content

Commit

Permalink
Update setup_deb.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-grzybek-ampere committed Jun 26, 2024
1 parent ac8b545 commit 59aa090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ apt install -y autoconf autogen automake build-essential libasound2-dev \
libflac-dev libogg-dev libtool libvorbis-dev libopus-dev libmp3lame-dev \
libmpg123-dev pkg-config
apt remove -y libsndfile1
git clone https://github.com/libsndfile/libsndfile.git && cd libsndfile/ && autoreconf -vif && ./configure --enable-werror && make -j && make install && ldconfig && cd .. && rm -rf libsndfile
git clone -b 1.2.2 https://github.com/libsndfile/libsndfile.git && cd libsndfile/ && autoreconf -vif && ./configure --enable-werror && make -j && make install && ldconfig && cd .. && rm -rf libsndfile

if [ "$(PYTHONPATH=$SCRIPT_DIR python3 -c 'from cpuinfo import get_cpu_info; from benchmark import which_ampere_cpu; cpu = which_ampere_cpu(get_cpu_info()["flags"], 1); print("AmpereOne" in cpu)')" == "True" ]; then
# Only on AmpereOne family
Expand Down

0 comments on commit 59aa090

Please sign in to comment.