Accepting request 289778 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/289778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2015-03-11 08:57:06 +00:00 committed by Git OBS Bridge
commit f95a293302
4 changed files with 68 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b765f72507cf1cc98b398e0ec85b8f30e640bf1cd0a886c286d0b70d648d7be3
size 3765051

3
hwloc-1.10.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35ce13a9a0737d2de1c6facb5c3c0438f7c83b45d6ce652e05ba000f6f2e514a
size 3771665

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Thu Mar 5 15:32:07 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Update to 1.10.1
* Actually remove disallowed NUMA nodes from nodesets when the
whole-system flag isn't enabled.
* Fix the gathering of PCI domains. Thanks to James Custer for
reporting the issue and providing a patch.
* Fix the merging of identical parent and child in presence of
Misc objects. Thanks to Dave Love for reporting the issue.
* Fix some misordering of children when merging with
ignore_keep_structure() in partially allowed topologies.
* Fix an overzealous assertion in the debug code when running
on a single-PU host with I/O. Thanks to Thomas Van Doren for
reporting the issue.
* Don't forget to setup NUMA node object nodesets in x86 backend
(for BSDs) and OSF/Tru64 backend.
* Fix cpuid-x86 build error with gcc -O3 on x86-32. Thanks to
Thomas Van Doren for reporting the issue.
* Fix support for future very large caches in the x86 backend.
* Fix vendor/device names for SR-IOV PCI devices on Linux.
* Fix an unlikely crash in case of buggy hierarchical distance matrix.
* Fix PU os_index on some AIX releases. Thanks to Hendryk
Bockelmann and Erik Schnetter for helping debugging.
* Fix hwloc_bitmap_isincluded() in case of infinite sets.
* Change hwloc-ls.desktop into a lstopo.desktop and only install
it if lstopo is built with Cairo/X11 support. It cannot work
with a non-graphical lstopo or hwloc-ls.
* Add support for the renaming of Socket into Package in
future releases.
* Add support for the replacement of HWLOC_OBJ_NODE with
HWLOC_OBJ_NUMANODE in future releases.
* Clarify the documentation of distance matrices in hwloc.h and
in the manpage of the hwloc-distances. Thanks to Dave Love for
the suggestion.
* Improve some error messages by displaying more information
about the hwloc library in use.
* Document how to deal with the ABI break when upgrading to
the upcoming 2.0 See "How do I handle ABI breaks and API
upgrades ?" in the FAQ.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 30 10:34:40 UTC 2014 - mardnh@gmx.de Tue Dec 30 10:34:40 UTC 2014 - mardnh@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package hwloc # spec file for package hwloc
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -19,21 +19,26 @@
%global lname libhwloc5 %global lname libhwloc5
%define sversion 1.10 %define sversion 1.10
Name: hwloc Name: hwloc
Version: 1.10.0 Version: 1.10.1
Release: 2%{?dist} 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: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v%{sversion}/downloads/%{name}-%{version}.tar.bz2 Source0: http://www.open-mpi.org/software/hwloc/v%{sversion}/downloads/%{name}-%{version}.tar.bz2
Requires: %{lname} = %{version}-%{release}
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
#BuildRequires: libXNVCtrl-devel
BuildRequires: ncurses-devel
BuildRequires: transfig
BuildRequires: update-desktop-files
BuildRequires: w3m
Requires: %{lname} = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1220 && !0%{?suse_version} %if 0%{?suse_version} <= 1220 && !0%{?suse_version}
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
@ -47,37 +52,31 @@ BuildRequires: xorg-x11-libICE-devel
BuildRequires: xorg-x11-libSM-devel BuildRequires: xorg-x11-libSM-devel
BuildRequires: xorg-x11-libX11-devel BuildRequires: xorg-x11-libX11-devel
%endif %endif
#BuildRequires: libXNVCtrl-devel
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
#BuildRequires: texlive-latex #BuildRequires: texlive-latex
%if 0%{?suse_version} <= 1220 %if 0%{?suse_version} <= 1220
BuildRequires: texlive-bin-latex BuildRequires: texlive-bin-latex
%else %else
BuildRequires: texlive-makeindex-bin BuildRequires: texlive-makeindex-bin
%endif %endif
BuildRequires: transfig
BuildRequires: w3m
# % ifnarch s390 s390x # % ifnarch s390 s390x
# BuildRequires: libibverbs-devel # BuildRequires: libibverbs-devel
# % endif # % endif
%ifnarch s390 s390x i586 %{arm} %ifnarch s390 s390x i586 %arm
BuildRequires: libnuma-devel BuildRequires: libnuma-devel
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The Portable Hardware Locality (hwloc) software package provides The Portable Hardware Locality (hwloc) software package provides
a portable abstraction (across OS, versions, architectures, ...) a portable abstraction (across OS, versions, architectures, ...)
of the hierarchical topology of modern architectures, including of the hierarchical topology of modern architectures, including
NUMA memory nodes, shared caches, processor sockets, processor cores NUMA memory nodes, shared caches, processor sockets, processor cores
and processing units (logical processors or "threads"). It also gathers and processing units (logical processors or "threads"). It also gathers
various system attributes such as cache and memory information. It primarily various system attributes such as cache and memory information. It primarily
aims at helping applications with gathering information about modern aims at helping applications with gathering information about modern
computing hardware so as to exploit it accordingly and efficiently. computing hardware so as to exploit it accordingly and efficiently.
hwloc may display the topology in multiple convenient formats. hwloc may display the topology in multiple convenient formats.
It also offers a powerful programming interface (C API) to gather information It also offers a powerful programming interface (C API) to gather information
about the hardware, bind processes, and much more. about the hardware, bind processes, and much more.
%package lstopo %package lstopo
@ -87,7 +86,6 @@ Group: Productivity/Clustering/Computing
%description lstopo %description lstopo
Lstopo shows the topology of the system in various formats. Lstopo shows the topology of the system in various formats.
%package devel %package devel
Summary: Headers and shared development libraries for hwloc Summary: Headers and shared development libraries for hwloc
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -132,18 +130,18 @@ sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
%configure %configure
##sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool ##sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
##sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool ##sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%install %install
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p" make install DESTDIR=%{buildroot} INSTALL="install -p"
%suse_update_desktop_file -r hwloc-ls System Monitor %suse_update_desktop_file -r lstopo System Monitor
#Fix wrong permition on file hwloc-assembler-remote => I have reported this to upstream already #Fix wrong permition on file hwloc-assembler-remote => I have reported this to upstream already
%{__chmod} 0755 %{buildroot}%{_bindir}/hwloc-assembler-remote chmod 0755 %{buildroot}%{_bindir}/hwloc-assembler-remote
# We don't ship .la files. # We don't ship .la files.
%{__rm} -rf %{buildroot}%{_libdir}/libhwloc.la rm -rf %{buildroot}%{_libdir}/libhwloc.la
# documentation will be handled by % doc macro # documentation will be handled by % doc macro
%{__rm} -rf %{buildroot}%{_datadir}/doc/ rm -rf %{buildroot}%{_datadir}/doc/
%fdupes -s %{buildroot}/%{_mandir}/man1 %fdupes -s %{buildroot}/%{_mandir}/man1
%fdupes -s %{buildroot}/%{_mandir}/man3 %fdupes -s %{buildroot}/%{_mandir}/man3
%fdupes -s %{buildroot}/%{_mandir}/man7 %fdupes -s %{buildroot}/%{_mandir}/man7
@ -152,7 +150,7 @@ sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
%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} check || : make %{?_smp_mflags} check || :
%post -n %{lname} -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig