FreeDATA/compile_codec2.sh
DJ2LS aca394c6c6
Add files via upload
the build commands in one bash file
2020-12-25 17:31:48 +01:00

20 lines
404 B
Bash

#/bin/bash
cd ~
rm -rf codec2
git clone https://github.com/drowe67/codec2.git
cd codec2 && mkdir build_linux && cd build_linux
cmake ../
make
cd ~
rm -rf LPCNet
git clone https://github.com/drowe67/LPCNet
cd LPCNet && mkdir build_linux && cd build_linux
cmake -DCODEC2_BUILD_DIR=~/codec2/build_linux ../
make
cd ~/codec2/build_linux && rm -Rf *
cmake -DLPCNET_BUILD_DIR=~/LPCNet/build_linux ..
make