client-root/third_party/build_opus.sh

11 lines
311 B
Bash
Raw Normal View History

2019-07-01 16:32:56 -04:00
#!/usr/bin/env bash
source ../scripts/build_helper.sh
library_path="opus"
requires_rebuild ${library_path}
[[ $? -eq 0 ]] && exit 0
cmake_build ${library_path} -DOPUS_X86_PRESUME_AVX=OFF -DOPUS_X86_PRESUME_SSE4_1=OFF
check_err_exit ${library_path} "Failed to build opus!"
set_build_successful ${library_path}