Hello community,
here is the log from the commit of package numactl
checked in at Wed Aug 6 01:54:12 CEST 2008.
--------
--- arch/x86_64/numactl/numactl.changes 2008-06-25 10:39:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/numactl/numactl.changes 2008-08-05 16:59:28.000000000 +0200
@@ -1,0 +2,30 @@
+Tue Aug 05 15:50:11 CEST 2008 - bwalle@suse.de
+
+- update to 2.0.2
+ o Various numademo improvements:
+ * Fix random benchmark to use all specified memory
+ * Rename to random2 to signify it's different
+ * Optimize random benchmark by inlining random number generator
+ fast path.
+ * Clear caches between runs for more stable results
+ * Add new random pointer chaser benchmark
+ * Compile benchmarks with gcc vectorization if available
+ * run numademo in regression test
+ o Add numa_exit_on_warn
+ o Fix no cpuset fallback in libnuma.c
+ o Install symlinks for the manpages of all new functions
+ o Make internal libnuma functions static
+ o Add copy_bitmask_to_bitmask() to numa.h
+ o Some cleanups
+ o Fix line reading in proc
+ o Add versions.ldscript to libnuma.so dependencies
+ o Remove the non-"numa_" functions from numacompat1.h and numa.h
+ o Add ia64 clearcache() to numademo
+ o Add -t to numademo for regression testing
+ o Remove "numa_all_cpus" from numa.h
+ o Changed VERSION1_COMPATIBILITY to NUMA_VERSION1_COMPATIBILITY
+ o Defined LIBNUMA_API_VERSION 2 in numa.h
+ o Fix numaif.h and numaint.h (migrate_pages)
+ o Fixes to numademo (min/max, and array index)
+
+-------------------------------------------------------------------
Old:
----
numactl-2.0.2-rc1.tar.bz2
New:
----
numactl-2.0.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ numactl.spec ++++++
--- /var/tmp/diff_new_pack.o27852/_old 2008-08-06 01:53:43.000000000 +0200
+++ /var/tmp/diff_new_pack.o27852/_new 2008-08-06 01:53:43.000000000 +0200
@@ -1,10 +1,17 @@
#
-# spec file for package numactl (Version 2.0.1+2.0.2_rc1)
+# spec file for package numactl (Version 2.0.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -13,13 +20,12 @@
Url: http://oss.sgi.com/projects/libnuma/
Name: numactl
-License: GPL v2 or later
+License: GPL v2 only; GPL v2 or later
Summary: NUMA Policy Control
-Version: 2.0.1+2.0.2_rc1
+Version: 2.0.2
Release: 1
-%define tarversion 2.0.2-rc1
AutoReqProv: on
-Source: numactl-%{tarversion}.tar.bz2
+Source: numactl-%{version}.tar.bz2
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 x86_64 ppc64 ppc
@@ -39,7 +45,7 @@
%package -n libnuma1
License: GPL v2 or later
Summary: NUMA Policy Control
-Group: System/Management
+Group: Development/Languages/C and C++
AutoReqProv: on
%description -n libnuma1
@@ -56,7 +62,7 @@
%package -n libnuma-devel
License: GPL v2 or later
Summary: NUMA Policy Control
-Group: System/Management
+Group: Development/Languages/C and C++
AutoReqProv: on
Requires: libnuma1 = %{version}
@@ -72,7 +78,7 @@
Cliff Wickman (cpw@sgi.com)
%prep
-%setup -n %{name}-%{tarversion}
+%setup
%build
make CFLAGS="${RPM_OPT_FLAGS}"
@@ -112,6 +118,33 @@
%{_libdir}/lib*so
%changelog
+* Tue Aug 05 2008 bwalle@suse.de
+- update to 2.0.2
+ o Various numademo improvements:
+ * Fix random benchmark to use all specified memory
+ * Rename to random2 to signify it's different
+ * Optimize random benchmark by inlining random number generator
+ fast path.
+ * Clear caches between runs for more stable results
+ * Add new random pointer chaser benchmark
+ * Compile benchmarks with gcc vectorization if available
+ * run numademo in regression test
+ o Add numa_exit_on_warn
+ o Fix no cpuset fallback in libnuma.c
+ o Install symlinks for the manpages of all new functions
+ o Make internal libnuma functions static
+ o Add copy_bitmask_to_bitmask() to numa.h
+ o Some cleanups
+ o Fix line reading in proc
+ o Add versions.ldscript to libnuma.so dependencies
+ o Remove the non-"numa_" functions from numacompat1.h and numa.h
+ o Add ia64 clearcache() to numademo
+ o Add -t to numademo for regression testing
+ o Remove "numa_all_cpus" from numa.h
+ o Changed VERSION1_COMPATIBILITY to NUMA_VERSION1_COMPATIBILITY
+ o Defined LIBNUMA_API_VERSION 2 in numa.h
+ o Fix numaif.h and numaint.h (migrate_pages)
+ o Fixes to numademo (min/max, and array index)
* Wed Jun 25 2008 bwalle@suse.de
- change RPM version to '2.0.1+2.0.2_rc1' for a clean update path
- don't package the static library
++++++ numactl-2.0.2-rc1.tar.bz2 -> numactl-2.0.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/numactl-2.0.2-rc1/CHANGES new/numactl-2.0.2/CHANGES
--- old/numactl-2.0.2-rc1/CHANGES 2008-06-17 20:31:17.000000000 +0200
+++ new/numactl-2.0.2/CHANGES 2008-08-05 16:36:58.000000000 +0200
@@ -180,7 +180,7 @@
- Fix target command argument parsing for numactl (no -- needed again anymore)
- Clarify numa_node_to_cpus() manpage
-1.0.3[-rc1]
+1.0.3
- Add the migspeed test program to test the speed of migrating pages from
one node to another
@@ -263,4 +263,9 @@
- Remove the non-"numa_" functions from numacompat1.h and numa.h
- Add ia64 clearcache() to numademo
- Add -t to numademo for regression testing
-
+- Remove "numa_all_cpus" from numa.h
+- Changed VERSION1_COMPATIBILITY to NUMA_VERSION1_COMPATIBILITY
+- Defined LIBNUMA_API_VERSION 2 in numa.h
+- Fix numaif.h and numaint.h (migrate_pages; from Masatake Yamato)
+- Fixes to numademo (min/max, and array index; from Kent Liu)
+- Fixes to Makefile and permissions; from Berhard Walle
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/numactl-2.0.2-rc1/Makefile new/numactl-2.0.2/Makefile
--- old/numactl-2.0.2-rc1/Makefile 2008-06-17 20:31:17.000000000 +0200
+++ new/numactl-2.0.2/Makefile 2008-08-05 16:36:58.000000000 +0200
@@ -125,26 +125,26 @@
install: numactl migratepages migspeed numademo.c numamon memhog libnuma.so.1 numa.h numaif.h numacompat1.h numastat ${MANPAGES}
mkdir -p ${prefix}/bin
- cp numactl ${prefix}/bin
- cp migratepages ${prefix}/bin
- cp migspeed ${prefix}/bin
- cp numademo ${prefix}/bin
- cp memhog ${prefix}/bin
+ install -m 0755 numactl ${prefix}/bin
+ install -m 0755 migratepages ${prefix}/bin
+ install -m 0755 migspeed ${prefix}/bin
+ install -m 0755 numademo ${prefix}/bin
+ install -m 0755 memhog ${prefix}/bin
mkdir -p ${prefix}/share/man/man2 ${prefix}/share/man/man8 ${prefix}/share/man/man3
- cp numactl.8 ${prefix}/share/man/man8
- cp numa.3 ${prefix}/share/man/man3
+ install -m 0644 numactl.8 ${prefix}/share/man/man8
+ install -m 0644 numa.3 ${prefix}/share/man/man3
( cd ${prefix}/share/man/man3 ; for i in $$(./manlinks) ; do ln -sf numa.3 $$i.3 ; done )
- cp numa_maps.5 ${prefix}/share/man/man5
+ install -m 0644 numa_maps.5 ${prefix}/share/man/man5
mkdir -p ${libdir}
- cp libnuma.so.1 ${libdir}
+ install -m 0755 libnuma.so.1 ${libdir}
cd ${libdir} ; ln -sf libnuma.so.1 libnuma.so
- cp libnuma.a ${libdir}
+ install -m 0644 libnuma.a ${libdir}
mkdir -p ${prefix}/include
- cp numa.h numaif.h numacompat1.h ${prefix}/include
- cp numastat ${prefix}/bin
+ install -m 0644 numa.h numaif.h numacompat1.h ${prefix}/include
+ install -m 0755 numastat ${prefix}/bin
if [ -d ${docdir} ] ; then \
mkdir -p ${docdir}/numactl/examples ; \
- cp numademo.c ${docdir}/numactl/examples ; \
+ install -m 0644 numademo.c ${docdir}/numactl/examples ; \
fi
HTML := html/numactl.html html/numa.html
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/numactl-2.0.2-rc1/numa.3 new/numactl-2.0.2/numa.3
--- old/numactl-2.0.2-rc1/numa.3 2008-06-17 20:31:17.000000000 +0200
+++ new/numactl-2.0.2/numa.3 2008-08-05 16:36:58.000000000 +0200
@@ -953,7 +953,7 @@
.br
Source codes written for libnuma version 1 may be re-compiled without
change with version 2 installed. To do so, in the code's Makefile add
-this option to CFLAGS: -DVERSION1_COMPATIBILITY
+this option to CFLAGS: -DNUMA_VERSION1_COMPATIBILITY
.SH THREAD SAFETY
.I numa_set_bind_policy
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/numactl-2.0.2-rc1/numademo.c new/numactl-2.0.2/numademo.c
--- old/numactl-2.0.2-rc1/numademo.c 2008-06-17 20:31:17.000000000 +0200
+++ new/numactl-2.0.2/numademo.c 2008-08-05 16:36:58.000000000 +0200
@@ -249,7 +249,7 @@
sprintf(title, "%s%s%s", name, delim, testname[thistest]);
#define H(t) (((double)msize) / ((double)t))
#define D3 delim,delim,delim
- sprintf(result, "Avg%s%.2f%sMB/s%sMin%s%.2f%sMB/s%sMax%s%.2f%sMB/s",
+ sprintf(result, "Avg%s%.2f%sMB/s%sMax%s%.2f%sMB/s%sMin%s%.2f%sMB/s",
delim,
H(sum/LOOPS),
D3,
@@ -448,6 +448,7 @@
int simple_tests = 0;
while (av[1] && av[1][0] == '-') {
+ ac--;
switch (av[1][1]) {
case 'c':
delim = ",";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/numactl-2.0.2-rc1/numa.h new/numactl-2.0.2/numa.h
--- old/numactl-2.0.2-rc1/numa.h 2008-06-17 20:31:17.000000000 +0200
+++ new/numactl-2.0.2/numa.h 2008-08-05 16:36:58.000000000 +0200
@@ -17,7 +17,10 @@
#ifndef _NUMA_H
#define _NUMA_H 1
-/* Simple NUMA poliy library */
+/* allow an application to test for the current programming interface: */
+#define LIBNUMA_API_VERSION 2
+
+/* Simple NUMA policy library */
#include