2010-07-26 14:47:36 +00:00
|
|
|
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
|
|
|
|
Name: hwloc
|
2015-07-21 21:34:27 +00:00
|
|
|
Version: 1.11.0
|
|
|
|
Release: 1%{?dist}
|
2010-07-26 14:47:36 +00:00
|
|
|
License: BSD
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://www.open-mpi.org/projects/hwloc/
|
2015-07-21 21:34:27 +00:00
|
|
|
Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{version}.tar.bz2
|
2015-04-05 15:40:01 +00:00
|
|
|
# Updated test file for patch below
|
|
|
|
Source1: https://github.com/open-mpi/hwloc/raw/7a9b00834235ddd3c02699cbab7946edf6fc9030/tests/linux/32ppc-4n4c2c.tar.bz2
|
2014-04-01 09:25:48 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2013-12-19 16:40:17 +00:00
|
|
|
|
|
|
|
BuildRequires: cairo-devel
|
|
|
|
BuildRequires: libpciaccess-devel
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libXNVCtrl-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: transfig doxygen w3m
|
|
|
|
BuildRequires: texlive-latex texlive-makeindex
|
2014-02-14 00:23:22 +00:00
|
|
|
BuildRequires: autoconf automake libtool
|
2015-04-02 03:02:46 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2011-11-19 16:00:44 +00:00
|
|
|
%ifnarch s390 s390x
|
|
|
|
BuildRequires: libibverbs-devel
|
|
|
|
%endif
|
2013-12-19 16:40:17 +00:00
|
|
|
%ifnarch s390 s390x %{arm} aarch64
|
2011-01-03 14:03:05 +00:00
|
|
|
BuildRequires: numactl-devel
|
|
|
|
%endif
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Portable Hardware Locality (hwloc) software package provides
|
|
|
|
a portable abstraction (across OS, versions, architectures, ...)
|
|
|
|
of the hierarchical topology of modern architectures, including
|
|
|
|
NUMA memory nodes, shared caches, processor sockets, processor cores
|
|
|
|
and processing units (logical processors or "threads"). It also gathers
|
|
|
|
various system attributes such as cache and memory information. It primarily
|
|
|
|
aims at helping applications with gathering information about modern
|
|
|
|
computing hardware so as to exploit it accordingly and efficiently.
|
|
|
|
|
|
|
|
hwloc may display the topology in multiple convenient formats.
|
|
|
|
It also offers a powerful programming interface (C API) to gather information
|
|
|
|
about the hardware, bind processes, and much more.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers and shared development libraries for hwloc
|
|
|
|
Group: Development/Libraries
|
2014-04-01 09:25:48 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2015-07-21 21:34:27 +00:00
|
|
|
Requires: libibverbs-devel%{?_isa}
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Headers and shared object symbolic links for the hwloc.
|
|
|
|
|
2013-02-01 00:53:42 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Run time libraries for the hwloc
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
Run time libraries for the hwloc
|
|
|
|
|
2014-04-01 09:25:48 +00:00
|
|
|
%package gui
|
|
|
|
Summary: The gui-based hwloc program(s)
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description gui
|
|
|
|
GUI-based tool for displaying system topology information.
|
|
|
|
|
2014-09-27 20:25:59 +00:00
|
|
|
%package plugins
|
|
|
|
Summary: Plugins for hwloc
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description plugins
|
|
|
|
This package contains plugins for hwloc. This includes
|
|
|
|
- PCI support
|
|
|
|
- GL support
|
|
|
|
- libxml support
|
|
|
|
|
2010-07-26 14:47:36 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-04-05 15:40:01 +00:00
|
|
|
cp -a %SOURCE1 tests/linux/
|
2011-10-04 23:01:45 +00:00
|
|
|
|
2010-07-26 14:47:36 +00:00
|
|
|
%build
|
2015-07-21 21:34:27 +00:00
|
|
|
# Remove rpaths
|
2014-02-13 21:33:00 +00:00
|
|
|
autoreconf --force --install
|
2015-07-21 21:34:27 +00:00
|
|
|
%configure --enable-plugins --disable-silent-rules
|
|
|
|
make %{?_smp_mflags}
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%install
|
2013-12-19 16:40:17 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
# We don't ship .la files.
|
2013-12-19 16:40:17 +00:00
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
2011-01-01 22:45:33 +00:00
|
|
|
|
2014-01-04 04:22:30 +00:00
|
|
|
cp -p AUTHORS COPYING NEWS README VERSION %{buildroot}%{_defaultdocdir}/%{name}
|
2014-10-09 00:18:11 +00:00
|
|
|
cp -pr doc/examples %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
|
|
2015-04-02 03:02:46 +00:00
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/lstopo.desktop
|
2014-10-09 00:18:11 +00:00
|
|
|
|
2015-07-21 21:34:27 +00:00
|
|
|
# Avoid making hwloc-gui depend on hwloc
|
|
|
|
rm %{buildroot}%{_mandir}/man1/lstopo.1
|
|
|
|
ln %{buildroot}%{_mandir}/man1/lstopo-no-graphics.1 %{buildroot}%{_mandir}/man1/lstopo.1
|
2014-10-09 00:18:11 +00:00
|
|
|
|
2010-07-26 14:47:36 +00:00
|
|
|
%check
|
2013-12-19 16:40:17 +00:00
|
|
|
make check
|
2010-07-26 14:47:36 +00:00
|
|
|
|
2013-02-01 00:53:42 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
2010-07-26 14:47:36 +00:00
|
|
|
|
2013-02-01 00:53:42 +00:00
|
|
|
%postun libs -p /sbin/ldconfig
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}*
|
2012-08-15 14:47:19 +00:00
|
|
|
%{_bindir}/lstopo-no-graphics
|
2010-07-26 14:47:36 +00:00
|
|
|
%{_mandir}/man1/%{name}*
|
2014-04-01 09:25:48 +00:00
|
|
|
%{_mandir}/man1/lstopo-no-graphics*
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/*
|
|
|
|
%{_includedir}/%{name}.h
|
2014-10-09 00:18:11 +00:00
|
|
|
%{_defaultdocdir}/%{name}/examples
|
2011-10-07 00:13:44 +00:00
|
|
|
%{_libdir}/*.so
|
2010-07-26 14:47:36 +00:00
|
|
|
|
2013-02-01 00:53:42 +00:00
|
|
|
%files libs
|
|
|
|
%{_mandir}/man7/%{name}*
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/%{name}.dtd
|
|
|
|
%{_datadir}/%{name}/%{name}-valgrind.supp
|
2014-01-04 04:22:30 +00:00
|
|
|
%dir %{_defaultdocdir}/%{name}
|
|
|
|
%{_defaultdocdir}/%{name}/*[^c]
|
2015-07-21 21:34:27 +00:00
|
|
|
%{_libdir}/libhwloc*so.5*
|
2013-02-01 00:53:42 +00:00
|
|
|
|
2014-04-01 09:25:48 +00:00
|
|
|
%files gui
|
|
|
|
%{_bindir}/lstopo
|
2014-10-09 00:18:11 +00:00
|
|
|
%{_mandir}/man1/lstopo.1*
|
2015-04-02 03:02:46 +00:00
|
|
|
%{_datadir}/applications/lstopo.desktop
|
2014-04-01 09:25:48 +00:00
|
|
|
|
2014-09-27 20:25:59 +00:00
|
|
|
%files plugins
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%{_libdir}/hwloc*
|
2010-07-26 14:47:36 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-07-21 21:34:27 +00:00
|
|
|
* Tue Jul 21 2015 Orion Poplwski <orion@cora.nwra.com> - 1.11.0-1
|
|
|
|
- Update to version 1.11.0 (fixes bug #1208279)
|
|
|
|
- Drop arm patch applied upstream
|
|
|
|
- Make hwloc-devel require libibverbs-devel (bug #1191770)
|
|
|
|
- Fix man page manipulation (bug #1235954)
|
|
|
|
|
2015-06-17 10:57:25 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-05 15:40:01 +00:00
|
|
|
* Sat Apr 4 2015 Orion Poplwski <orion@cora.nwra.com> - 1.10.1-2
|
|
|
|
- Fix hwloc issue on arm
|
|
|
|
|
2015-04-02 03:02:46 +00:00
|
|
|
* Wed Apr 1 2015 Orion Poplwski <orion@cora.nwra.com> - 1.10.1-1
|
|
|
|
- Update to version 1.10.1
|
|
|
|
|
2014-10-09 00:18:11 +00:00
|
|
|
* Tue Oct 07 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.10.0-1
|
|
|
|
- Update to version 1.10.0
|
|
|
|
|
2014-09-27 20:25:59 +00:00
|
|
|
* Fri Sep 26 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.9.1-1
|
|
|
|
- Update to version 1.9.1
|
|
|
|
- Added support for plugins
|
|
|
|
|
2014-08-16 20:51:08 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 21:20:40 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-01 09:25:48 +00:00
|
|
|
* Tue Apr 1 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.9-1
|
|
|
|
- Update to 1.9
|
|
|
|
- Split out lstopo into a -gui subpackage, so the hwloc base package
|
|
|
|
does not pull in all of X.
|
|
|
|
|
2014-02-14 00:23:22 +00:00
|
|
|
* Fri Feb 14 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.8.1-2
|
|
|
|
- Fixed BuildRequires
|
|
|
|
|
2014-02-13 21:33:00 +00:00
|
|
|
* Thu Feb 13 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.8.1-1
|
|
|
|
- Update to 1.8.1
|
|
|
|
|
2014-01-04 04:22:30 +00:00
|
|
|
* Sat Jan 04 2014 Jirka Hladky <hladky.jiri@gmail.com> - 1.8-2
|
|
|
|
- Unversioned docdir change, more info on
|
|
|
|
https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
|
|
|
|
|
2013-12-19 16:40:17 +00:00
|
|
|
* Thu Dec 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.8-1
|
|
|
|
- Update to 1.8
|
|
|
|
- No numa on aarch64
|
|
|
|
- Cleanup and modernise spec
|
|
|
|
|
2013-08-03 18:43:01 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-09 07:54:44 +00:00
|
|
|
* Thu May 9 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.7-1
|
|
|
|
- Minor issue with the man page fixed
|
|
|
|
|
|
|
|
* Tue Apr 23 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.7-0
|
2013-05-07 15:06:47 +00:00
|
|
|
- Update to version 1.7
|
|
|
|
|
2013-02-01 00:53:42 +00:00
|
|
|
* Thu Jan 31 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.6.1-1
|
|
|
|
- Created libs package with reduced dependencies
|
|
|
|
|
2013-01-20 00:48:37 +00:00
|
|
|
* Sat Jan 19 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.6.1-0
|
|
|
|
- Update to version 1.6.1
|
|
|
|
|
2012-11-05 22:39:05 +00:00
|
|
|
* Mon Nov 5 2012 Jirka Hladky <hladky.jiri@gmail.com> - 1.5.1-1
|
|
|
|
- Update to version 1.5.1
|
|
|
|
|
2012-08-15 14:47:19 +00:00
|
|
|
* Wed Aug 15 2012 Jirka Hladky <hladky.jiri@gmail.com> - 1.5-1
|
|
|
|
- Update to version 1.5
|
|
|
|
|
2012-07-19 14:05:43 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-15 15:54:34 +00:00
|
|
|
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 1.4.2-1
|
|
|
|
- Update to version 1.4.2
|
|
|
|
|
2012-04-18 22:12:06 +00:00
|
|
|
* Wed Apr 18 2012 Jirka Hladky <hladky.jiri@gmail.com> - 1.4.1-2
|
|
|
|
- Fixed build dependency for s390x
|
|
|
|
|
2012-04-16 22:56:47 +00:00
|
|
|
* Mon Apr 16 2012 Jirka Hladky <hladky.jiri@gmail.com> - 1.4.1-1
|
|
|
|
- Update to version 1.4.1
|
|
|
|
- BZ812622 - libnuma was splitted out of numactl package
|
|
|
|
|
2011-11-19 16:00:44 +00:00
|
|
|
* Thu Apr 12 2012 Dan Horák <dan[at]danny.cz> - 1.4-2
|
|
|
|
- no InfiniBand on s390(x)
|
|
|
|
|
2014-09-27 20:25:59 +00:00
|
|
|
* Tue Feb 14 2012 Jirka Hladky <hladky.jiri@gmail.com> - 1.4-1
|
2012-02-15 00:40:48 +00:00
|
|
|
- Update to 1.4 release
|
2011-11-19 16:00:44 +00:00
|
|
|
|
2011-11-14 23:42:38 +00:00
|
|
|
* Mon Nov 14 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.3-1
|
|
|
|
- Update build for ARM support
|
2011-11-19 16:00:44 +00:00
|
|
|
|
2011-10-15 23:01:37 +00:00
|
|
|
* Sat Oct 15 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.3-0
|
|
|
|
- 1.3 release
|
|
|
|
- added dependency on libibverbs-devel pciutils-devel
|
|
|
|
- cannot provide support for cuda (cuda_runtime_api.h).
|
2012-04-16 22:56:47 +00:00
|
|
|
- Nvidia CUDA is free but not open-source therefore not in Fedora.
|
2011-11-19 16:00:44 +00:00
|
|
|
|
2011-10-07 00:13:44 +00:00
|
|
|
* Fri Oct 07 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.2.2-1
|
|
|
|
- moved *.so to the devel package
|
|
|
|
- libhwloc*so* in the main package
|
2011-11-19 16:00:44 +00:00
|
|
|
|
2011-10-07 00:13:44 +00:00
|
|
|
* Wed Oct 05 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.2.2-0
|
2011-10-04 23:01:45 +00:00
|
|
|
- 1.2.2 release
|
|
|
|
- Fix for BZ https://bugzilla.redhat.com/show_bug.cgi?id=724937 for 32-bit PPC
|
|
|
|
|
2011-10-07 00:13:44 +00:00
|
|
|
* Sat Sep 17 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.2.1-0
|
2011-09-17 20:35:34 +00:00
|
|
|
- 1.2.1 release
|
|
|
|
- Moved libhwloc*.so* to the main package
|
|
|
|
|
2011-07-02 21:24:17 +00:00
|
|
|
* Mon Jun 27 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.2-0
|
|
|
|
- 1.2 release
|
|
|
|
|
2011-02-09 11:10:12 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-0.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-03 14:03:05 +00:00
|
|
|
* Mon Jan 3 2011 Dan Horák <dan[at]danny.cz> - 1.1-0.1
|
|
|
|
- fix build on s390(x) where numactl is missing
|
|
|
|
|
2011-01-01 22:45:33 +00:00
|
|
|
* Sat Jan 1 2011 Jirka Hladky <hladky.jiri@gmail.com> - 1.1-0
|
|
|
|
- 1.1 rel# Patch to the 1.1 fix 2967 http://www.open-mpi.org/software/hwloc/nightly/v1.1/hwloc-1.1rc6r2967.tar.bz2
|
|
|
|
- Fix hwloc_bitmap_to_ulong right after allocating the bitmap.
|
|
|
|
- Fix the minimum width of NUMA nodes, caches and the legend in the graphical lstopo output.
|
|
|
|
- Cleanup error management in hwloc-gather-topology.sh.
|
|
|
|
- Add a manpage and usage for hwloc-gather-topology.sh on Linux.
|
|
|
|
- Rename hwloc-gather-topology.sh to hwloc-gather-topology to be consistent with the upcoming version 1.2ease
|
|
|
|
|
2010-07-26 14:47:36 +00:00
|
|
|
* Mon Jul 19 2010 Jirka Hladky <jhladky@redhat.com> - 1.0.2-1
|
|
|
|
- 1.0.2 release
|
|
|
|
- added "check" section to the RPM SPEC file
|
|
|
|
|
|
|
|
* Mon Jul 19 2010 Jirka Hladky <jhladky@redhat.com> - 1.0.2-0.1.rc1r2330
|
|
|
|
- 1.0.2 release candidate
|
|
|
|
|
|
|
|
* Mon Jul 12 2010 Jirka Hladky <jhladky@redhat.com> - 1.0.1-19
|
|
|
|
- Fixed issues as described at https://bugzilla.redhat.com/show_bug.cgi?id=606498#c6
|
|
|
|
|
|
|
|
* Fri Jul 09 2010 Jirka Hladky <jhladky@redhat.com> - 1.0.1-18
|
|
|
|
- Fixed issues as described at https://bugzilla.redhat.com/show_bug.cgi?id=606498
|
|
|
|
|
|
|
|
* Fri Jun 18 2010 Jirka Hladky <jhladky@redhat.com> - 1.0.1-17
|
|
|
|
- Initial build
|