public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocwmma] epel10: Increase memory build requirements
@ 2026-06-14 12:46 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-14 12:46 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocwmma
            Branch : epel10
            Commit : f5bd03b9598c9bb9f88f882ea872d6d2e4b00193
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-02-26T15:54:20-08:00
            Stats  : +12/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocwmma/c/f5bd03b9598c9bb9f88f882ea872d6d2e4b00193?branch=epel10

            Log:
            Increase memory build requirements

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

---
diff --git a/rocwmma.spec b/rocwmma.spec
index c0afb96..aa45ffd 100644
--- a/rocwmma.spec
+++ b/rocwmma.spec
@@ -66,7 +66,7 @@
 # Only offically supported are called out here
 # library/include/rocwmma/internal/config.hpp
 # Adjust our list
-%global gpu_list "gfx908;gfx90a;gfx942;gfx950;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201"
+%global gpu_list "gfx908;gfx90a;gfx942;gfx950;gfx1100;gfx1101;gfx1102;gfx1151;gfx1150;gfx1200;gfx1201"
 %global _gpu_list gfx1100
 
 # Building the tests may run out of memory for both compile and link
@@ -76,7 +76,7 @@
 
 Name:           rocwmma%{pkg_suffix}
 Version:        %{rocm_version}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        ROCm Matrix Multiple and Accumulate library
 Url:            https://github.com/ROCm/%{upstreamname}
 License:        MIT
@@ -137,6 +137,10 @@ Summary:        Tests for %{name}
 %prep
 %autosetup -p1 -n %{upstreamname}-rocm-%{version}
 
+# Remove parallel-jobs, it interfers with ninja jobs and attempts to reduce memory usage
+# https://github.com/ROCm/rocm-libraries/issues/4949
+sed -i -e 's@-parallel-jobs=4@@' CMakeLists.txt
+
 %build
 cat /proc/cpuinfo
 cat /proc/meminfo
@@ -156,7 +160,7 @@ if [ ${COMPILE_JOBS} = 1 ]; then
 fi
 
 # Take into account memmory usage per core, do not thrash real memory
-BUILD_MEM=2
+BUILD_MEM=4
 MEM_KB=0
 MEM_KB=`cat /proc/meminfo | grep MemTotal | awk '{ print $2 }'`
 MEM_MB=`eval "expr ${MEM_KB} / 1024"`
@@ -218,9 +222,14 @@ rm -f %{buildroot}%{pkg_prefix}/bin/rocwmma/*.cmake
 %files test
 %{pkg_prefix}/bin/*_test
 %{pkg_prefix}/bin/*-validate
+%{pkg_prefix}/bin/rocwmma/
 %endif
 
 %changelog
+* Thu Feb 26 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-3
+- Increase build memory requirements
+- Fix --with test
+
 * Mon Feb 16 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
 - Change cmake install location
 

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

only message in thread, other threads:[~2026-06-14 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 12:46 [rpms/rocwmma] epel10: Increase memory build requirements Tom Rix

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