forked from jengelh/SVT-AV1
Update SVT-AV1.spec
This commit is contained in:
parent
848503e4c9
commit
f52fc6a4a8
@ -30,7 +30,8 @@ BuildRequires: gcc-c++ >= 5.4.0
|
||||
BuildRequires: help2man
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: yasm >= 1.2.0
|
||||
BuildRequires: cpuinfo-devel
|
||||
# broken package
|
||||
# BuildRequires: cpuinfo-devel
|
||||
Provides: bundled(fastfeat)
|
||||
Provides: bundled(safestringlib)
|
||||
ExclusiveArch: aarch64 riscv64 x86_64
|
||||
@ -80,12 +81,10 @@ rm -rf third_party/googletest
|
||||
%build
|
||||
%cmake \
|
||||
-DNATIVE=OFF \
|
||||
-DUSE_EXTERNAL_CPUINFO=ON \
|
||||
-DSVT_AV1_LTO=ON \
|
||||
-DENABLE_AVX512=ON \
|
||||
-DSVT_AV1_PGO=ON \
|
||||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF \
|
||||
-Dcpuinfo_DIR=""
|
||||
-DSVT_AV1_PGO=ON
|
||||
# -DUSE_EXTERNAL_CPUINFO=ON \
|
||||
# cpuinfo cmake is broken, force fallback to pkg-config
|
||||
%cmake_build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user