public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sun Haiyong <sunhaiyong@zdbr.net>
To: git-commits@fedoraproject.org
Subject: [rpms/memtest86+] rawhide: Add loongarch64 support.
Date: Thu, 02 Jul 2026 07:42:59 GMT [thread overview]
Message-ID: <178297817920.1.3589473823979982434.rpms-memtest86+-c327d6de96b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/memtest86+
Branch : rawhide
Commit : c327d6de96b2f6c108627162abbf3c95e4e5f92b
Author : Sun Haiyong <sunhaiyong@zdbr.net>
Date : 2026-07-02T10:41:22+08:00
Stats : +7/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/memtest86+/c/c327d6de96b2f6c108627162abbf3c95e4e5f92b?branch=rawhide
Log:
Add loongarch64 support.
Upstream memtest86+ supports loongarch64, add corresponding steps.
---
diff --git a/memtest86+.spec b/memtest86+.spec
index 0fedba1..abd7f0d 100644
--- a/memtest86+.spec
+++ b/memtest86+.spec
@@ -3,12 +3,15 @@
# Turn off debuginfo package
%global debug_package %{nil}
%global common_description %{expand:
-Memtest86+ is a thorough stand-alone memory test for x86 and x86-64
+Memtest86+ is a thorough stand-alone memory test for x86, x86-64 and loongarch64
architecture computers. BIOS based memory tests are only a quick
check and often miss many of the failures that are detected by
Memtest86+.
}
%global mt_isa x64
+%ifarch loongarch64
+%global mt_isa la64
+%endif
Name: memtest86+
Version: 8.10
@@ -21,7 +24,7 @@ Source1: memtest86+.kernel-install-plugin
BuildRequires: gcc, make, xorriso, dosfstools, mtools
Requires(pre): systemd-udev >= 252
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 loongarch64
%description
%wordwrap -v common_description
@@ -32,8 +35,7 @@ ExclusiveArch: x86_64
%build
-# only x86_64 now supported in fedora
-pushd build/x86_64
+pushd build/%{_arch}
make
make iso
popd
@@ -43,7 +45,7 @@ popd
mkdir -p %{buildroot}%{_libdir}/%{name}
mkdir -p %{buildroot}%{_datarootdir}/%{name}
-pushd build/x86_64
+pushd build/%{_arch}
install -m 0644 mt86plus %{buildroot}%{_libdir}/%{name}/memtest86+%{mt_isa}.efi
install -m 0644 mt86plus %{buildroot}%{_libdir}/%{name}/memtest86+%{mt_isa}.bin
install -m 0644 memtest.iso %{buildroot}%{_datarootdir}/%{name}/memtest86+%{mt_isa}.iso
reply other threads:[~2026-07-02 7:42 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=178297817920.1.3589473823979982434.rpms-memtest86+-c327d6de96b2@fedoraproject.org \
--to=sunhaiyong@zdbr.net \
--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