2024-01-05 23:46:27 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 23:46:27 +01:00
|
|
|
Name: hwloc
|
2024-09-28 03:25:06 +02:00
|
|
|
Version: 2.11.2
|
2024-01-05 23:46:27 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A portable abstraction of the hierarchical topology of modern architectures
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.open-mpi.org/projects/hwloc/
|
2024-01-05 23:46:27 +01:00
|
|
|
Source: https://download.open-mpi.org/release/hwloc/v%{majver}/hwloc-%{version}.tar.bz2
|
2024-01-05 23:46:27 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-06-30 21:19:22 +02:00
|
|
|
%ifarch x86_64
|
|
|
|
BuildRequires: cuda
|
|
|
|
%endif
|
2024-01-05 23:46:27 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-06-30 21:19:22 +02:00
|
|
|
BuildRequires: libXext-devel
|
2024-01-05 23:46:27 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libpciaccess-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-06-30 21:19:22 +02:00
|
|
|
BuildRequires: libxnvctrl-devel
|
2024-01-05 23:46:27 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Hardware Locality (hwloc) software project aims at easing the process of discovering hardware resources in parallel architectures. It offers command-line tools and a C API for consulting these resources, their locality, attributes, and interconnection. hwloc primarily aims at helping high-performance computing (HPC) applications, but is also applicable to any project seeking to exploit code and/or data locality on modern computing platforms.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-plugins
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/hwloc-*
|
|
|
|
%{_bindir}/lstopo
|
|
|
|
%{_bindir}/lstopo-no-graphics
|
|
|
|
%ifnarch arm aarch64
|
|
|
|
%{_sbindir}/hwloc-dump-hwdata
|
|
|
|
%endif
|
|
|
|
%{_datadir}/applications/lstopo.desktop
|
|
|
|
%{_datadir}/bash-completion/completions/hwloc
|
|
|
|
%dir %{_datadir}/hwloc
|
|
|
|
%{_datadir}/hwloc/*
|
|
|
|
%{_mandir}/man1/hwloc-*.1*
|
|
|
|
%{_mandir}/man1/lstopo-no-graphics.1*
|
|
|
|
%{_mandir}/man1/lstopo.1*
|
|
|
|
%{_mandir}/man7/hwloc.7*
|
|
|
|
%dir %{_docdir}/hwloc
|
|
|
|
%{_docdir}/hwloc/*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libhwloc.so.*
|
|
|
|
%dir %{_libdir}/hwloc
|
|
|
|
%{_libdir}/hwloc/hwloc_*.so
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/hwloc.h
|
|
|
|
%dir %{_includedir}/hwloc
|
|
|
|
%{_includedir}/hwloc/*
|
|
|
|
%{_libdir}/libhwloc.so
|
|
|
|
%{_libdir}/pkgconfig/hwloc.pc
|
|
|
|
%{_mandir}/man3/HWLOC_*.3*
|
|
|
|
%{_mandir}/man3/hwloc_*.3*
|
|
|
|
%{_mandir}/man3/hwlocality_*.3*
|
|
|
|
%doc NEWS README
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-09-28 03:25:06 +02:00
|
|
|
* Fri Sep 27 2024 Automatic Build System <autodist@openmamba.org> 2.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-05 14:40:33 +02:00
|
|
|
* Fri Jul 05 2024 Automatic Build System <autodist@openmamba.org> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-30 21:19:22 +02:00
|
|
|
* Wed Jun 26 2024 Automatic Build System <autodist@openmamba.org> 2.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:29 +01:00
|
|
|
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:29 +01:00
|
|
|
* Wed Sep 13 2023 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:28 +01:00
|
|
|
* Thu Jun 29 2023 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:28 +01:00
|
|
|
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Wed Dec 21 2022 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Thu Mar 24 2022 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Mon Dec 13 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- update to 2.4.1
|
|
|
|
|
2024-01-05 23:46:27 +01:00
|
|
|
* Sun Nov 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- package created using the webbuild interface
|