Add files via upload

the build commands in one bash file
This commit is contained in:
DJ2LS 2020-12-25 17:31:48 +01:00 committed by GitHub
parent f59e9f785a
commit aca394c6c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
compile_codec2.sh Normal file
View file

@ -0,0 +1,20 @@
#/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