Disable vvenc due to hard avx2 requirement

This commit is contained in:
BtbN 2024-12-15 17:54:08 +01:00
parent dc38e41621
commit 93aace027a

View File

@ -6,7 +6,10 @@ SCRIPT_COMMIT="7cf1e5ffc5aeb33b81fa9401df9fd53ef1dae6d1"
ffbuild_enabled() { ffbuild_enabled() {
[[ $TARGET != *32 ]] || return -1 [[ $TARGET != *32 ]] || return -1
(( $(ffbuild_ffver) > 700 )) || return -1 (( $(ffbuild_ffver) > 700 )) || return -1
return 0 # vvenc force-enabled avx2 and equivalent compiler options, and uses a static initializer that promptly
# runs such instructions. Making resulting binaries malfunction on any but the very latest CPUs.
# Until upstream fixes this behaviour, force-disable vvenc.
return -1
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {