public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocfft] epel10: Build on rhel 9
@ 2026-06-11 13:36 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-11 13:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocfft
            Branch : epel10
            Commit : 1afcec7919d2901614e6309f4f9a01e8a02bbda7
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-04-08T16:52:17-07:00
            Stats  : +13/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocfft/c/1afcec7919d2901614e6309f4f9a01e8a02bbda7?branch=epel10

            Log:
            Build on rhel 9

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocfft.spec b/rocfft.spec
index 0ee8f49..5e8d3b8 100644
--- a/rocfft.spec
+++ b/rocfft.spec
@@ -102,6 +102,14 @@
 %global cmake_generator %{nil}
 %endif
 
+%if 0%{?rhel} < 10
+# rhel 9's sqlite is too old, fetch whatever rocfft bundles
+# assumes --enable-network
+%global system_sqlite OFF
+%else
+%global system_sqlite ON
+%endif
+
 %global cmake_config \\\
   -DBUILD_CLIENTS_TESTS_OPENMP=OFF \\\
   -DBUILD_CLIENTS_TESTS=%{build_test} \\\
@@ -118,7 +126,7 @@
   -DROCFFT_BUILD_OFFLINE_TUNER=OFF \\\
   -DROCFFT_KERNEL_CACHE_ENABLE=OFF \\\
   -DROCM_SYMLINK_LIBS=OFF \\\
-  -DSQLITE_USE_SYSTEM_PACKAGE=ON
+  -DSQLITE_USE_SYSTEM_PACKAGE=%{system_sqlite}
 
 %global gpu_list %{rocm_gpu_list_default}
 %global _gpu_list gfx1100
@@ -128,7 +136,7 @@ Version:        %{rocm_version}
 %if %{with preview}
 Release:        0%{?dist}
 %else
-Release:        3%{?dist}
+Release:        4%{?dist}
 %endif
 Summary:        ROCm Fast Fourier Transforms (FFT) library
 License:        (MIT AND BSD-3-Clause) AND 0BSD
@@ -281,6 +289,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocfft/LICENSE.md
 %endif
 
 %changelog
+* Wed Apr 8 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
+- Build on rhel 9
+
 * Fri Mar 6 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-3
 - Change --with gitcommit to preview
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 13:36 [rpms/rocfft] epel10: Build on rhel 9 Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox