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: help2man
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: yasm >= 1.2.0
|
BuildRequires: yasm >= 1.2.0
|
||||||
BuildRequires: cpuinfo-devel
|
# broken package
|
||||||
|
# BuildRequires: cpuinfo-devel
|
||||||
Provides: bundled(fastfeat)
|
Provides: bundled(fastfeat)
|
||||||
Provides: bundled(safestringlib)
|
Provides: bundled(safestringlib)
|
||||||
ExclusiveArch: aarch64 riscv64 x86_64
|
ExclusiveArch: aarch64 riscv64 x86_64
|
||||||
@ -80,12 +81,10 @@ rm -rf third_party/googletest
|
|||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DNATIVE=OFF \
|
-DNATIVE=OFF \
|
||||||
-DUSE_EXTERNAL_CPUINFO=ON \
|
|
||||||
-DSVT_AV1_LTO=ON \
|
-DSVT_AV1_LTO=ON \
|
||||||
-DENABLE_AVX512=ON \
|
-DENABLE_AVX512=ON \
|
||||||
-DSVT_AV1_PGO=ON \
|
-DSVT_AV1_PGO=ON
|
||||||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF \
|
# -DUSE_EXTERNAL_CPUINFO=ON \
|
||||||
-Dcpuinfo_DIR=""
|
|
||||||
# cpuinfo cmake is broken, force fallback to pkg-config
|
# cpuinfo cmake is broken, force fallback to pkg-config
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user