Accepting request 828324 from devel:libraries:c_c++
- update to 2.2.0: * API + Add hwloc_bitmap_singlify_by_core() to remove SMT from a given cpuset, thanks to Florian Reynier for the suggestion. + Add --enable-32bits-pci-domain to stop ignoring PCI devices with domain >16bits (e.g. 10000:02:03.4). Enabling this option breaks the library ABI. Thanks to Dylan Simon for the help. * Backends + Add support for Linux cgroups v2. + Add NUMA support for FreeBSD. + Add get_last_cpu_location support for FreeBSD. + Remove support for Intel Xeon Phi (MIC, Knights Corner) co-processors. * Tools + Add --uid to filter the hwloc-ps output by uid on Linux. + Add a GRAPHICAL OUTPUT section in the manpage of lstopo. * Misc + Use the native dlopen instead of libltdl, unless --disable-plugin-dlopen is passed at configure time. - install systemd files using systemd macros and register it on install with systemd - build against libnuma on all architectures OBS-URL: https://build.opensuse.org/request/show/828324 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=15
This commit is contained in:
commit
e0c4d39670
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:19429752f772cf68321196970ffb10dafd7e02ab38d2b3382b157c78efd10862
|
|
||||||
size 6272755
|
|
3
hwloc-2.2.0.tar.bz2
Normal file
3
hwloc-2.2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ae70b893df272b84afd7068d351aae5c8c4fd79d40ca783b3e67554b873a2252
|
||||||
|
size 6249788
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 15:37:56 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.2.0:
|
||||||
|
* API
|
||||||
|
+ Add hwloc_bitmap_singlify_by_core() to remove SMT from a given cpuset,
|
||||||
|
thanks to Florian Reynier for the suggestion.
|
||||||
|
+ Add --enable-32bits-pci-domain to stop ignoring PCI devices with domain
|
||||||
|
>16bits (e.g. 10000:02:03.4). Enabling this option breaks the library ABI.
|
||||||
|
Thanks to Dylan Simon for the help.
|
||||||
|
* Backends
|
||||||
|
+ Add support for Linux cgroups v2.
|
||||||
|
+ Add NUMA support for FreeBSD.
|
||||||
|
+ Add get_last_cpu_location support for FreeBSD.
|
||||||
|
+ Remove support for Intel Xeon Phi (MIC, Knights Corner) co-processors.
|
||||||
|
* Tools
|
||||||
|
+ Add --uid to filter the hwloc-ps output by uid on Linux.
|
||||||
|
+ Add a GRAPHICAL OUTPUT section in the manpage of lstopo.
|
||||||
|
* Misc
|
||||||
|
+ Use the native dlopen instead of libltdl,
|
||||||
|
unless --disable-plugin-dlopen is passed at configure time.
|
||||||
|
- install systemd files using systemd macros and register it on install
|
||||||
|
with systemd
|
||||||
|
- build against libnuma on all architectures
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 15 08:40:07 UTC 2019 - Thomas Blume <thomas.blume@suse.com>
|
Tue Oct 15 08:40:07 UTC 2019 - Thomas Blume <thomas.blume@suse.com>
|
||||||
|
|
||||||
|
58
hwloc.spec
58
hwloc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hwloc
|
# spec file for package hwloc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,22 +18,24 @@
|
|||||||
|
|
||||||
%global lname libhwloc15
|
%global lname libhwloc15
|
||||||
Name: hwloc
|
Name: hwloc
|
||||||
Version: 2.1.0
|
Version: 2.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Portable Hardware Locality
|
Summary: Portable Hardware Locality
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Clustering/Computing
|
Group: Productivity/Clustering/Computing
|
||||||
Url: http://www.open-mpi.org/projects/hwloc/
|
URL: https://www.open-mpi.org/projects/hwloc/
|
||||||
Source0: https://download.open-mpi.org/release/hwloc/v2.1/%{name}-%{version}.tar.bz2
|
Source0: https://download.open-mpi.org/release/hwloc/v2.2/hwloc-%{version}.tar.bz2
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
@ -44,10 +46,7 @@ Requires: perl-JSON
|
|||||||
Requires: perl-base >= 5.18.2
|
Requires: perl-base >= 5.18.2
|
||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Requires(postun): desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%{?systemd_ordering}
|
||||||
%ifnarch s390 s390x i586 aarch64 %{arm}
|
|
||||||
BuildRequires: libnuma-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Portable Hardware Locality (hwloc) software package provides
|
The Portable Hardware Locality (hwloc) software package provides
|
||||||
@ -86,9 +85,7 @@ This package contains the run time libraries for hwloc.
|
|||||||
%package data
|
%package data
|
||||||
Summary: Run time data for hwloc
|
Summary: Run time data for hwloc
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description data
|
%description data
|
||||||
This package contains the run time data for the hwloc.
|
This package contains the run time data for the hwloc.
|
||||||
@ -96,22 +93,20 @@ This package contains the run time data for the hwloc.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for hwloc
|
Summary: Documentation for hwloc
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains the documentation for hwloc.
|
This package contains the documentation for hwloc.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -124,11 +119,9 @@ rm -rf %{buildroot}%{_datadir}/doc/
|
|||||||
|
|
||||||
# This binary is built only for intel architectures
|
# This binary is built only for intel architectures
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
mkdir -p %{buildroot}%{_libexecdir}/systemd/system
|
install -D -m 644 %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service %{buildroot}%{_unitdir}/hwloc-dump-hwdata.service
|
||||||
mv %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service %{buildroot}%{_libexecdir}/systemd/system/hwloc-dump-hwdata.service
|
|
||||||
%else
|
|
||||||
rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
|
|
||||||
%endif
|
%endif
|
||||||
|
rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
|
||||||
|
|
||||||
%fdupes -s %{buildroot}/%{_mandir}/man1
|
%fdupes -s %{buildroot}/%{_mandir}/man1
|
||||||
%fdupes -s %{buildroot}/%{_mandir}/man7
|
%fdupes -s %{buildroot}/%{_mandir}/man7
|
||||||
@ -136,20 +129,37 @@ rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
|
|||||||
%check
|
%check
|
||||||
#XXX: this is weird, but make check got broken by removing doxygen-doc/man above
|
#XXX: this is weird, but make check got broken by removing doxygen-doc/man above
|
||||||
# the only one fix is to install documentation by hand, or to ignore check error
|
# the only one fix is to install documentation by hand, or to ignore check error
|
||||||
make %{?_smp_mflags} check || :
|
%make_build check || :
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
%pre
|
||||||
|
%service_add_pre hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
%service_add_post hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
%preun
|
||||||
|
%service_del_preun hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
%service_del_postun hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING NEWS README VERSION
|
%doc NEWS README VERSION
|
||||||
%{_mandir}/man1/hwloc*
|
%{_mandir}/man1/hwloc*
|
||||||
%{_mandir}/man1/lstopo*
|
%{_mandir}/man1/lstopo*
|
||||||
%{_bindir}/hwloc*
|
%{_bindir}/hwloc*
|
||||||
@ -158,11 +168,10 @@ make %{?_smp_mflags} check || :
|
|||||||
%{_sysconfdir}/bash_completion.d/hwloc-completion.bash
|
%{_sysconfdir}/bash_completion.d/hwloc-completion.bash
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%attr(0755,root,root) %{_sbindir}/hwloc-dump-hwdata
|
%attr(0755,root,root) %{_sbindir}/hwloc-dump-hwdata
|
||||||
%{_libexecdir}/systemd/system/hwloc-dump-hwdata.service
|
%{_unitdir}/hwloc-dump-hwdata.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%{_mandir}/man7/hwloc*
|
%{_mandir}/man7/hwloc*
|
||||||
%{_includedir}/hwloc
|
%{_includedir}/hwloc
|
||||||
%{_includedir}/hwloc.h
|
%{_includedir}/hwloc.h
|
||||||
@ -170,11 +179,9 @@ make %{?_smp_mflags} check || :
|
|||||||
%{_libdir}/pkgconfig/hwloc.pc
|
%{_libdir}/pkgconfig/hwloc.pc
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%{_libdir}/libhwloc*so.*
|
%{_libdir}/libhwloc*so.*
|
||||||
|
|
||||||
%files data
|
%files data
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%dir %{_datadir}/hwloc
|
%dir %{_datadir}/hwloc
|
||||||
%dir %{_datadir}/hwloc/hwloc-ps.www
|
%dir %{_datadir}/hwloc/hwloc-ps.www
|
||||||
%{_datadir}/hwloc/hwloc.dtd
|
%{_datadir}/hwloc/hwloc.dtd
|
||||||
@ -184,7 +191,6 @@ make %{?_smp_mflags} check || :
|
|||||||
%{_datadir}/hwloc/hwloc-ps.www/*
|
%{_datadir}/hwloc/hwloc-ps.www/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%doc ./doc/doxygen-doc/html/*
|
%doc ./doc/doxygen-doc/html/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user