mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
Disable vvenc due to hard avx2 requirement
This commit is contained in:
parent
dc38e41621
commit
93aace027a
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user