File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ From 2ca0265cd11afa20431cb2c7f4dfe3bfa759e032 Mon Sep 17 00:00:00 2001
2+ From: Andrew Phelps <anphel@microsoft.com>
3+ Date: Sat, 7 Jun 2025 00:59:34 +0000
4+ Subject: [PATCH] disable dmi in test-gather-topology
5+
6+ test-gather-topology.sh test fails due to MemoryModule difference #719
7+ https://github.com/open-mpi/hwloc/issues/719
8+
9+ ---
10+ tests/hwloc/linux/gather/test-gather-topology.sh.in | 4 ++--
11+ 1 file changed, 2 insertions(+), 2 deletions(-)
12+
13+ diff --git a/tests/hwloc/linux/gather/test-gather-topology.sh.in b/tests/hwloc/linux/gather/test-gather-topology.sh.in
14+ index dbd6d5372..6d6e3033d 100644
15+ --- a/tests/hwloc/linux/gather/test-gather-topology.sh.in
16+ +++ b/tests/hwloc/linux/gather/test-gather-topology.sh.in
17+ @@ -58,7 +58,7 @@
18+ export HWLOC_FSROOT=//
19+
20+ echo "Saving current system topology to XML..."
21+ - if ! "$lstopo" --no-io "$tmpdir/save1.xml" ; then
22+ + if ! "$lstopo" --no-io --ignore misc "$tmpdir/save1.xml" ; then
23+ error "Failed"
24+ exit 1
25+ fi
26+ @@ -81,7 +81,7 @@
27+ rm -f "$tmpdir/save/proc/hwloc-nofile-info"
28+
29+ echo "Saving tarball topology to XML..."
30+ - if ! "$lstopo" --no-io "$tmpdir/save2.xml" ; then
31+ + if ! "$lstopo" --no-io --ignore misc "$tmpdir/save2.xml" ; then
32+ error "Failed"
33+ exit 1
34+ fi
35+
36+ - -
37+ 2.45.3
Original file line number Diff line number Diff line change 11Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
22Name: hwloc
33Version: 2.5.0
4- Release: 2 %{?dist }
4+ Release: 3 %{?dist }
55License: BSD-2-Clause
66Vendor: Microsoft Corporation
77Distribution: Mariner
88URL: https://www.open-mpi.org/projects/hwloc/
99Source0: http://www.open-mpi.org/software/hwloc/v2.5/downloads/%{name }-%{version }.tar.bz2
1010Patch0: CVE-2022-47022.patch
11+ Patch1: fix-test-gather-topology.patch
1112BuildRequires: gcc
1213# C++ only for hwloc-hello-cpp test:
1314BuildRequires: gcc-c++
@@ -168,6 +169,9 @@ LD_LIBRARY_PATH=$PWD/hwloc/.libs make check
168169%{_libdir }/%{name }/hwloc*
169170
170171%changelog
172+ * Fri Jun 06 2025 Andrew Phelps <anphel@microsoft.com> - 2.5.0-3
173+ - Add patch fix-test-gather-topology.patch
174+
171175* Wed Aug 30 2023 Henry Beberman <henry.beberman@microsoft.com> - 2.5.0-2
172176- Patch CVE-2022-47022
173177
You can’t perform that action at this time.
0 commit comments