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
parent
8a0487ebcd
commit
7b09b9594c
|
@ -28,6 +28,11 @@ class Libvpx < Formula
|
||||||
--enable-vp9-highbitdepth
|
--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
|
# https://bugs.chromium.org/p/webm/issues/detail?id=1475
|
||||||
args << "--disable-avx512" if MacOS.version <= :el_capitan
|
args << "--disable-avx512" if MacOS.version <= :el_capitan
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[
|
[
|
||||||
"apache-arrow",
|
"apache-arrow",
|
||||||
"fftw",
|
"fftw",
|
||||||
|
"libvpx",
|
||||||
"openblas"
|
"openblas"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue