From aca394c6c67c66519d28db9113fb02d369f733e3 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Fri, 25 Dec 2020 17:31:48 +0100 Subject: [PATCH] Add files via upload the build commands in one bash file --- compile_codec2.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 compile_codec2.sh diff --git a/compile_codec2.sh b/compile_codec2.sh new file mode 100644 index 00000000..af895848 --- /dev/null +++ b/compile_codec2.sh @@ -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