dav1d: adapt build to upstream changes (#2791)

dav1d renamed the options build_asm and build_tools. build_asm=false
is no longer needed since the upstream fuzzer target disables the asm
code path when it runs under memory sanitizer.
Use enable_tools=false to skip building the dav1d CLI tools.
This commit is contained in:
Janne Grunau 2019-09-02 07:55:21 +02:00 committed by Abhishek Arya
parent ec331c1c6a
commit a1a80dd3c4
1 changed files with 1 additions and 8 deletions

View File

@ -23,15 +23,8 @@ rm -rf ${build}
mkdir -p ${build} mkdir -p ${build}
# build library # build library
BUILD_ASM="true"
# MemorySanitizer may report false positives if used with asm code. meson -Denable_tools=false -Dfuzzing_engine=oss-fuzz \
if [[ $CFLAGS = *sanitize=memory* ]]
then
BUILD_ASM="false"
fi
meson -Dbuild_asm=$BUILD_ASM -Dbuild_tools=false -Dfuzzing_engine=oss-fuzz \
-Db_lundef=false -Ddefault_library=static -Dbuildtype=debugoptimized \ -Db_lundef=false -Ddefault_library=static -Dbuildtype=debugoptimized \
-Dlogging=false -Dfuzzer_ldflags=$LIB_FUZZING_ENGINE \ -Dlogging=false -Dfuzzer_ldflags=$LIB_FUZZING_ENGINE \
${build} ${build}