public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocwmma] epel10: Increase memory build requirements
Date: Sun, 14 Jun 2026 12:46:00 GMT	[thread overview]
Message-ID: <178144116025.1.17720036083910827280.rpms-rocwmma-f5bd03b9598c@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-06-14 12:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178144116025.1.17720036083910827280.rpms-rocwmma-f5bd03b9598c@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox