Add files via upload

the build commands in one bash file
pull/10/head
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
1 changed files with 20 additions and 0 deletions

20
compile_codec2.sh 100644
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