public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/blender] rawhide: Fix OIDN HIP backend dependency and modernize CMake requirements
@ 2026-11-26 5:25 Luya Tshimbalanga
0 siblings, 0 replies; only message in thread
From: Luya Tshimbalanga @ 2026-11-26 5:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/blender
Branch : rawhide
Commit : 477a73f0538b9b91955774499b01fe4dee465608
Author : Luya Tshimbalanga <luya@fedoraproject.org>
Date : 2026-11-25T22:25:31-07:00
Stats : +3/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/blender/c/477a73f0538b9b91955774499b01fe4dee465608?branch=rawhide
Log:
Fix OIDN HIP backend dependency and modernize CMake requirements
Recommend the optional OIDN HIP backend when both OIDN and HIP
support are enabled.
Use default CMake generator through cmake-rpm-macros.
---
diff --git a/blender.spec b/blender.spec
index b2ce5ea..8b2e77f 100644
--- a/blender.spec
+++ b/blender.spec
@@ -127,6 +127,7 @@ BuildRequires: cmake(Jolt)
BuildRequires: cmake(Ktx) >= 4.4.2
%endif
BuildRequires: cmake >= 3.21
+BuildRequires: cmake-rpm-macros
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++ >= 14
@@ -141,7 +142,6 @@ BuildRequires: clang%{?llvm_compat}-devel >= 17
%if %{with llvm}
BuildRequires: llvm%{?llvm_compat}-devel
%endif
-BuildRequires: ninja-build
# System libraries
BuildRequires: mold
@@ -306,9 +306,6 @@ BuildRequires: pkgconfig(oslcomp) >= 1.13.4
%endif
%if %{with oidn}
BuildRequires: cmake(OpenImageDenoise) >= 2.5.1
-%if %{with hip}
-BuildRequires: oidn-libs-hip
-%endif
%endif
%if %{with opgl}
BuildRequires: openpgl-devel
@@ -411,9 +408,9 @@ BuildRequires: pkgconfig(vpl)
%endif
Requires: hicolor-icon-theme
-# HIP backend of OIDN
+# Optional HIP denoising backend, loaded at runtime by OIDN.
%if %{with oidn} && %{with hip}
-Requires: oidn-libs-hip%{?_isa}
+Recommends: (oidn-libs-hip%{?_isa} if rocm-hip%{?_isa})
%endif
%if %{with hip} && %{with hiprt}
# Cycles' Linux HIPRT availability check loads libamdhip64.so.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-26 5:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 5:25 [rpms/blender] rawhide: Fix OIDN HIP backend dependency and modernize CMake requirements Luya Tshimbalanga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox