Accepting request 265428 from home:ealin:varia

- Update to Version 1.10.0
   * v1.10.0 is the new feature release. There is no new major change
      in this release, just improvements everywhere.
      If you are buying new Intel Xeon E5 with 10 cores or more, this
      release is required for proper Socket/NUMA detection until the
      Linux kernel gets fixed.
   * API
     + Add hwloc_topology_export_synthetic() to export a topology to a
       synthetic string without using lstopo. See the Synthetic topologies
       section in the documentation.
     + Add hwloc_topology_set/get_userdata() to let the application save
       a private pointer in the topology whenever it needs a way to find
       its own object corresponding to a topology.
     + Add hwloc_get_numanode_obj_by_os_index() and document that this function
       as well as hwloc_get_pu_obj_by_os_index() are good at converting
       nodesets and cpusets into objects.
     + hwloc_distrib() does not ignore any objects anymore when there are
       too many of them. They get merged with others instead.
       Thanks to Tim Creech for reporting the issue.
   * Tools
     + hwloc-bind --get <command-line> now executes the command after displaying
       the binding instead of ignoring the command entirely.
       Thanks to John Donners for the suggestion.
     + Clarify that memory sizes shown in lstopo are local by default
       unless specified (total memory added in the root object).
   * Synthetic topologies
     + Synthetic topology descriptions may now specify attributes such as
       memory sizes and OS indexes. See the Synthetic topologies section
       in the documentation.
     + lstopo now exports in this fully-detailed format by default.

OBS-URL: https://build.opensuse.org/request/show/265428
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=8
This commit is contained in:
Marcus Meissner 2014-12-18 14:00:33 +00:00 committed by Git OBS Bridge
parent 38e0cb53b3
commit 99b8fdd9ac
4 changed files with 73 additions and 8 deletions

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

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

BIN
hwloc-1.9.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,66 @@
-------------------------------------------------------------------
Tue Dec 16 09:22:26 UTC 2014 - alinm.elena@gmail.com
- Update to Version 1.10.0
* v1.10.0 is the new feature release. There is no new major change
in this release, just improvements everywhere.
If you are buying new Intel Xeon E5 with 10 cores or more, this
release is required for proper Socket/NUMA detection until the
Linux kernel gets fixed.
* API
+ Add hwloc_topology_export_synthetic() to export a topology to a
synthetic string without using lstopo. See the Synthetic topologies
section in the documentation.
+ Add hwloc_topology_set/get_userdata() to let the application save
a private pointer in the topology whenever it needs a way to find
its own object corresponding to a topology.
+ Add hwloc_get_numanode_obj_by_os_index() and document that this function
as well as hwloc_get_pu_obj_by_os_index() are good at converting
nodesets and cpusets into objects.
+ hwloc_distrib() does not ignore any objects anymore when there are
too many of them. They get merged with others instead.
Thanks to Tim Creech for reporting the issue.
* Tools
+ hwloc-bind --get <command-line> now executes the command after displaying
the binding instead of ignoring the command entirely.
Thanks to John Donners for the suggestion.
+ Clarify that memory sizes shown in lstopo are local by default
unless specified (total memory added in the root object).
* Synthetic topologies
+ Synthetic topology descriptions may now specify attributes such as
memory sizes and OS indexes. See the Synthetic topologies section
in the documentation.
+ lstopo now exports in this fully-detailed format by default.
The new option --export-synthetic-flags may be used to revert
back the old format.
* Documentation
+ Add the doc/examples/ subdirectory with several real-life examples,
including the already existing hwloc-hello.C for basics.
Thanks to Rob Aulwes for the suggestion.
+ Improve the documentation of CPU and memory binding in the API.
+ Add a FAQ entry about operating system errors, especially on AMD
platforms with buggy cache information.
+ Add a FAQ entry about loading many topologies in a single program.
* Misc
+ Work around buggy Linux kernels reporting 2 sockets instead
1 socket with 2 NUMA nodes for each Xeon E5 v3 (Haswell) processor.
+ pciutils/libpci support is now removed since libpciaccess works
well and there's also a Linux-specific PCI backend. For the record,
pciutils was GPL and therefore disabled by default since v1.6.2.
+ Add --disable-cpuid configure flag to work around buggy processor
simulators reporting invalid CPUID information.
Thanks for Andrew Friedley for reporting the issue.
+ Fix a racy use of libltdl when manipulating multiple topologies in
different threads.
Thanks to Andra Hugo for reporting the issue and testing patches.
+ Fix some build failures in private/misc.h.
Thanks to Pavan Balaji and Ralph Castain for the reports.
+ Fix failures to detect X11/Xutil.h on some Solaris platforms.
Thanks to Siegmar Gross for reporting the failure.
+ The plugin ABI has changed, this release will not load plugins
built against previous hwloc releases.
-------------------------------------------------------------------
Sun Aug 17 18:42:36 UTC 2014 - mardnh@gmx.de

View File

@ -17,15 +17,15 @@
%global lname libhwloc5
%define sversion 1.10
Name: hwloc
Version: 1.9
Version: 1.10.0
Release: 2%{?dist}
Summary: Portable Hardware Locality
License: BSD-3-Clause
Group: Productivity/Clustering/Computing
Url: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v%{version}/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
@ -49,6 +49,7 @@ BuildRequires: xorg-x11-libX11-devel
%endif
#BuildRequires: libXNVCtrl-devel
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
#BuildRequires: texlive-latex
%if 0%{?suse_version} <= 1220
BuildRequires: texlive-bin-latex
@ -127,6 +128,7 @@ Package contains documentation for %{name}.
sed -i 's/1.11 dist-bzip2 subdir-objects foreign tar-ustar parallel-tests -Wall -Werror/1.10 dist-bzip2 subdir-objects foreign tar-ustar -Wall -Werror/g' configure.ac
%endif
autoreconf --force --install
sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
%configure
##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
@ -134,10 +136,9 @@ autoreconf --force --install
%install
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
%suse_update_desktop_file -r hwloc-ls System Monitor
#Fix wrong permition on file hwloc-assembler-remote => I have reported this to upstream already
%{__chmod} 0755 %{buildroot}%{_bindir}/hwloc-assembler-remote
# We don't ship .la files.
%{__rm} -rf %{buildroot}%{_libdir}/libhwloc.la
@ -167,6 +168,7 @@ autoreconf --force --install
%files lstopo
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/lstopo*
%{_datadir}/applications/*.desktop
%doc %{_mandir}/man1/lstopo.1*
%doc %{_mandir}/man1/lstopo-no-graphics.1.*