Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures Name: hwloc Version: 1.11.9 Release: 1%{?dist} License: BSD Group: Applications/System URL: http://www.open-mpi.org/projects/hwloc/ Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{version}.tar.bz2 Source1: http://www.open-mpi.org/software/hwloc/v1.1/downloads/%{name}-1.1.tar.bz2 Source2: http://www.open-mpi.org/software/hwloc/v1.5/downloads/%{name}-1.5.2.tar.bz2 Requires: %{name}-libs%{?_isa} = %{version}-%{release} 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 BuildRequires: libudev-devel %if 0%{?fedora} BuildRequires: texlive-makeindex %else BuildRequires: texlive %endif BuildRequires: autoconf automake libtool %ifnarch s390 s390x BuildRequires: libibverbs-devel %endif %ifnarch s390 s390x %{arm} aarch64 BuildRequires: numactl-devel %endif BuildRequires: chrpath #BuildRequires: cuda-cudart-dev-7-5 %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 Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Headers and shared object symbolic links for the hwloc. %package libs Summary: Run time libraries for the hwloc Group: Development/Libraries %description libs Run time libraries for the hwloc %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. %prep %setup -q %if 0%{?el6} %setup -q -T -D -a 1 %setup -q -T -D -a 2 %endif %build autoreconf --force --install export LDFLAGS=-Wl,--as-needed %if 0%{?el6} for v in 1.1 1.5.2; do cd hwloc-$v %configure make %{?_smp_mflags} V=1 cd .. done %endif %configure --enable-netloc --enable-libudev # --enable-gl CPPFLAGS=-I/usr/local/cuda-7.5/include LDFLAGS=-L/usr/local/cuda-7.5/lib64 make %{?_smp_mflags} V=1 %install %if 0%{?el6} cd hwloc-1.1/src make install-libLTLIBRARIES DESTDIR=%{buildroot} INSTALL="%{__install} -p" cd ../.. cd hwloc-1.5.2/src make install-libLTLIBRARIES DESTDIR=%{buildroot} INSTALL="%{__install} -p" cd ../.. %endif make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" # We don't ship .la files. find %{buildroot} -name '*.la' -exec rm -f {} ';' cp -p AUTHORS COPYING NEWS README VERSION %{buildroot}%{_defaultdocdir}/%{name} chrpath -d %{buildroot}%{_bindir}/lstopo-no-graphics chrpath -d %{buildroot}%{_bindir}/hwloc-{bind,assembler,patch,distrib,calc,annotate,distances,info,diff,ps} %check make check %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %post gui update-desktop-database &> /dev/null || : %postun gui update-desktop-database &> /dev/null || : %files %{_bindir}/%{name}* %{_sbindir}/%{name}* %{_bindir}/lstopo-no-graphics %{_mandir}/man1/%{name}* %{_mandir}/man1/lstopo-no-graphics* %exclude %{_datadir}/%{name}/hwloc-dump-hwdata.service %files devel %{_libdir}/pkgconfig/* %{_mandir}/man3/* %dir %{_includedir}/%{name} %{_includedir}/%{name}/* %{_includedir}/%{name}.h #%{_defaultdocdir}/%{name}/*c %{_libdir}/*.so %files libs %{_mandir}/man7/%{name}* %dir %{_datadir}/%{name} %{_datadir}/%{name}/%{name}.dtd %{_datadir}/%{name}/%{name}-valgrind.supp %dir %{_defaultdocdir}/%{name} %{_defaultdocdir}/%{name}/* %{_libdir}/libhwloc*so.* %files gui %{_bindir}/lstopo %{_mandir}/man1/lstopo.* %{_datadir}/applications/lstopo.desktop %changelog * Mon Jan 22 2018 Dave Love - 1.11.9-1 - New version * Thu Nov 16 2017 Dave Love - 1.11.8-1 - New version - Fix Source0 * Thu Sep 8 2016 Dave Love - 1.11.4-2 - Don't inlucde service file (this is el6-specific) - Reinstate %%check * Thu Sep 1 2016 Dave Love - 1.11.4-1 - New version * Wed May 11 2016 Dave Love - 1.11.3-1 - New version - Add hwloc-dump-hwdata.service * Thu Mar 24 2016 Dave Love - 1.11.2-3 - Don't build against gl/cuda stuff * Fri Jan 22 2016 Dave Love - 1.11.2-2 - Build with cuda * Wed Dec 23 2015 Dave Love - 1.11.2-1 - New version * Thu Nov 5 2015 Dave Love - 1.11.1-2 - Use chrpath and link --as-needed * Fri Oct 30 2015 Dave Love - 1.11.1-1 - New version * Mon Oct 5 2015 Dave Love - 1.11.0-2 - Build against libudev * Thu Jul 2 2015 Dave Love - 1.11.0-1 - New version * Wed Mar 18 2015 Dave Love - 1.10.1-1 - New version - Install lstopo.desktop, not hwloc-ps.desktop * Thu Dec 4 2014 Dave Love - 1.10.0-2 - Include .1 and .5 shared libraries compatible with vanilla package * Fri Oct 24 2014 Dave Love - 1.10-1 - New version * Sat Aug 16 2014 Fedora Release Engineering - 1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 1 2014 Jirka Hladky - 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. * Fri Feb 14 2014 Jirka Hladky - 1.8.1-2 - Fixed BuildRequires * Thu Feb 13 2014 Jirka Hladky - 1.8.1-1 - Update to 1.8.1 * Sat Jan 04 2014 Jirka Hladky - 1.8-2 - Unversioned docdir change, more info on https://fedoraproject.org/wiki/Changes/UnversionedDocdirs * Thu Dec 19 2013 Peter Robinson 1.8-1 - Update to 1.8 - No numa on aarch64 - Cleanup and modernise spec * Sat Aug 03 2013 Fedora Release Engineering - 1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 9 2013 Jirka Hladky - 1.7-1 - Minor issue with the man page fixed * Tue Apr 23 2013 Jirka Hladky - 1.7-0 - Update to version 1.7 * Thu Jan 31 2013 Jirka Hladky - 1.6.1-1 - Created libs package with reduced dependencies * Sat Jan 19 2013 Jirka Hladky - 1.6.1-0 - Update to version 1.6.1 * Mon Nov 5 2012 Jirka Hladky - 1.5.1-1 - Update to version 1.5.1 * Wed Aug 15 2012 Jirka Hladky - 1.5-1 - Update to version 1.5 * Thu Jul 19 2012 Fedora Release Engineering - 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 15 2012 Orion Poplawski - 1.4.2-1 - Update to version 1.4.2 * Wed Apr 18 2012 Jirka Hladky - 1.4.1-2 - Fixed build dependency for s390x * Mon Apr 16 2012 Jirka Hladky - 1.4.1-1 - Update to version 1.4.1 - BZ812622 - libnuma was splitted out of numactl package * Thu Apr 12 2012 Dan Horák - 1.4-2 - no InfiniBand on s390(x) * Wed Feb 14 2012 Jirka Hladky - 1.4-1 - Update to 1.4 release * Mon Nov 14 2011 Peter Robinson - 1.3-1 - Update build for ARM support * Sat Oct 15 2011 Jirka Hladky - 1.3-0 - 1.3 release - added dependency on libibverbs-devel pciutils-devel - cannot provide support for cuda (cuda_runtime_api.h). - Nvidia CUDA is free but not open-source therefore not in Fedora. * Fri Oct 07 2011 Jirka Hladky - 1.2.2-1 - moved *.so to the devel package - libhwloc*so* in the main package * Wed Oct 05 2011 Jirka Hladky - 1.2.2-0 - 1.2.2 release - Fix for BZ https://bugzilla.redhat.com/show_bug.cgi?id=724937 for 32-bit PPC * Sat Sep 17 2011 Jirka Hladky - 1.2.1-0 - 1.2.1 release - Moved libhwloc*.so* to the main package * Mon Jun 27 2011 Jirka Hladky - 1.2-0 - 1.2 release * Wed Feb 09 2011 Fedora Release Engineering - 1.1-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 3 2011 Dan Horák - 1.1-0.1 - fix build on s390(x) where numactl is missing * Sat Jan 1 2011 Jirka Hladky - 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 * Mon Jul 19 2010 Jirka Hladky - 1.0.2-1 - 1.0.2 release - added "check" section to the RPM SPEC file * Mon Jul 19 2010 Jirka Hladky - 1.0.2-0.1.rc1r2330 - 1.0.2 release candidate * Mon Jul 12 2010 Jirka Hladky - 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 - 1.0.1-18 - Fixed issues as described at https://bugzilla.redhat.com/show_bug.cgi?id=606498 * Fri Jun 18 2010 Jirka Hladky - 1.0.1-17 - Initial build