From 55693a99512cc85d1e68caa8d97b48bcecc9af85 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Mon, 20 Jan 2025 06:40:19 -0800 Subject: [PATCH] multithread compress Signed-off-by: Tom Rix --- rocdecode.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rocdecode.spec b/rocdecode.spec index 64fda8d..ae29100 100644 --- a/rocdecode.spec +++ b/rocdecode.spec @@ -12,9 +12,14 @@ # Tests also have issues and possibly requires ffmpeg from rpmfusion to work %bcond_with test +# Compression type and level for source/binary package payloads. +# "w7T0.xzdio" xz level 7 using %%{getncpus} threads +%define _source_payload w7T0.xzdio +%define _binary_payload w7T0.xzdio + Name: rocdecode Version: %{rocm_version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: High-performance video decode SDK for AMD GPUs Url: https://github.com/ROCm/rocDecode @@ -95,6 +100,9 @@ sed -i "s|/opt/amdgpu/include NO_DEFAULT_PATH|/usr/include|" cmake/FindLibva.cma %exclude %{_datadir}/%{name}/samples %changelog +* Mon Jan 20 2025 Tom Rix - 6.3.0-3 +- multithread compress + * Wed Jan 15 2025 Tom Rix - 6.3.0-2 - build requires gcc-c++