From 824e7c677b7f67fe8bad3a86e27e93433bcaa292 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 31 Mar 2020 02:12:18 +0200 Subject: [PATCH] Removed not needed script --- asm/make_opus.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 asm/make_opus.sh diff --git a/asm/make_opus.sh b/asm/make_opus.sh deleted file mode 100755 index d2b64667..00000000 --- a/asm/make_opus.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -cd "$(dirname $0)/libraries/opus/" || { echo "Failed to enter the opus directory."; exit 1; } - -[[ -d build_ ]] && { - rm -r build_ || { echo "failed to remove old build directory"; exit 1; } -} -mkdir build_ || exit 1 -cd build_ || exit 1 - -# Native SIMD isn't supported yet by most browsers (only experimental) -# So there is no need to build with that, it will make stuff even worse -simd_flags="-DOPUS_X86_MAY_HAVE_AVX=OFF -DOPUS_X86_MAY_HAVE_SSE4_1=OFF -DOPUS_X86_MAY_HAVE_SSE2=OFF -DOPUS_X86_MAY_HAVE_SSE=OFF" -emcmake cmake .. -DCMAKE_INSTALL_PREFIX="$(pwd)/../out/" -DOPUS_STACK_PROTECTOR=OFF ${simd_flags} || { - echo "failed to execute cmake" - exit 1 -} - -emmake make || { - echo "failed to build opus" - exit 1 -} -emmake make install || { - echo "failed to \"install\" opus" - exit 1 -} - -# Old: -#git checkout v1.1.2 -#./autogen.sh -#emconfigure ./configure --disable-extra-programs --disable-doc --disable-rtcd -#emmake make \ No newline at end of file