forked from jengelh/SVT-AV1
Update SVT-AV1.spec
This commit is contained in:
parent
f7f6c3ada3
commit
4380f93bf1
18
SVT-AV1.spec
18
SVT-AV1.spec
@ -30,6 +30,7 @@ BuildRequires: gcc-c++ >= 5.4.0
|
||||
BuildRequires: help2man
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: yasm >= 1.2.0
|
||||
BuildRequires: cpuinfo-devel
|
||||
ExclusiveArch: aarch64 riscv64 x86_64
|
||||
|
||||
%description
|
||||
@ -63,8 +64,23 @@ This package contains the header files for svt-av1.
|
||||
%prep
|
||||
%autosetup -p1 -n %name-v%version
|
||||
|
||||
#mitigate name collisions
|
||||
mv third_party/safestringlib/LICENSE third_party/safestringlib/LICENSE.safestringlib
|
||||
mv third_party/fastfeat/LICENSE third_party/fastfeat/LICENSE.fastfeat
|
||||
|
||||
#sanitize third_party
|
||||
rm -rf third_party/cpuinfo
|
||||
rm -rf third_party/aom*
|
||||
rm -rf third_party/googletest
|
||||
|
||||
|
||||
%build
|
||||
%cmake -DNATIVE=OFF
|
||||
%cmake \
|
||||
-DNATIVE=OFF \
|
||||
-DUSE_EXTERNAL_CPUINFO=ON \
|
||||
-DSVT_AV1_LTO=ON \
|
||||
-DENABLE_AVX512=ON \
|
||||
-DSVT_AV1_PGO=ON \
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user