v0.8.6 fails to build on non-Windows/macOS/Linux
Regressed by #1600. Fixing upstream is non-trivial due tons of platform-specific code.
$ cc --version
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
$ cmake -B /tmp/SVT-AV1_build -G Ninja
$ cmake --build /tmp/SVT-AV1_build
[...]
FAILED: SVT-AV1/Bin/Release/SvtAv1DecApp
: && /usr/bin/cc -Wall -Wextra -Wformat -Wformat-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -pie -z noexecstack -z relro -z now Source/App/DecApp/CMakeFiles/SvtAv1DecApp.dir/EbDecAppMain.c.o Source/App/DecApp/CMakeFiles/SvtAv1DecApp.dir/EbDecParamParser.c.o Source/App/DecApp/CMakeFiles/SvtAv1DecApp.dir/EbDecTime.c.o Source/App/DecApp/CMakeFiles/SvtAv1DecApp.dir/EbFileUtils.c.o Source/App/DecApp/CMakeFiles/SvtAv1DecApp.dir/EbMD5Utility.c.o -o SVT-AV1/Bin/Release/SvtAv1DecApp -Wl,-rpath,SVT-AV1/Bin/Release: SVT-AV1/Bin/Release/libSvtAv1Dec.so.0.8.6 -lpthread -lm -lpthread && :
ld: error: SVT-AV1/Bin/Release/libSvtAv1Dec.so.0.8.6: undefined reference to cpuinfo_isa [--no-allow-shlib-undefined]
cc: error: linker command failed with exit code 1 (use -v to see invocation)
[267/270] Building C object Source/Lib/Encoder/ASM_AVX2/CMakeFiles/ENCODER_ASM_AVX2.dir/highbd_fwd_txfm_avx2.c.o
ninja: build stopped: subcommand failed.