libvpx: use `ENV.runtime_cpu_detection`

Closes #85539.

Signed-off-by: Nanda H Krishna <me@nandahkrishna.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Carlo Cabrera 2021-09-19 22:51:27 +08:00 committed by BrewTestBot
parent 8a0487ebcd
commit 7b09b9594c
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,11 @@ class Libvpx < Formula
--enable-vp9-highbitdepth
]
if Hardware::CPU.intel?
ENV.runtime_cpu_detection
args << "--enable-runtime-cpu-detect"
end
# https://bugs.chromium.org/p/webm/issues/detail?id=1475
args << "--disable-avx512" if MacOS.version <= :el_capitan

View File

@ -1,5 +1,6 @@
[
"apache-arrow",
"fftw",
"libvpx",
"openblas"
]