Accepting request 26185 from Base:System

Copy from Base:System/numactl based on submit request 26185 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/numactl?expand=0&rev=19
This commit is contained in:
OBS User autobuild 2009-12-11 16:28:14 +00:00 committed by Git OBS Bridge
parent 786162cecc
commit 5521e1394d
3 changed files with 30 additions and 193 deletions

19
numactl-fixasneeded.patch Normal file
View File

@ -0,0 +1,19 @@
Index: numactl-2.0.3-rc1/Makefile
===================================================================
--- numactl-2.0.3-rc1.orig/Makefile
+++ numactl-2.0.3-rc1/Makefile
@@ -57,13 +57,13 @@ memhog: util.o memhog.o libnuma.so
numactl.o: numactl.c
-numademo: override LDFLAGS += -lm
# GNU make 3.80 appends BENCH_CFLAGS twice. Bug? It's harmless though.
numademo: CFLAGS += -DHAVE_STREAM_LIB -DHAVE_MT -DHAVE_CLEAR_CACHE ${BENCH_CFLAGS}
stream_lib.o: CFLAGS += ${BENCH_CFLAGS}
mt.o: CFLAGS += ${BENCH_CFLAGS}
mt.o: mt.c
numademo: numademo.o stream_lib.o mt.o libnuma.so clearcache.o
+ ${CC} ${LDFLAGS} -o $@ $^ -L. -lm -lnuma
test_numademo: numademo
LD_LIBRARY_PATH=$$(pwd) ./numademo -t -e 10M

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 10 13:36:45 CET 2009 - meissner@suse.de
- fixed build with asneeded on platforms with non-builtin sqrt()
-------------------------------------------------------------------
Wed Feb 4 12:21:09 CET 2009 - cthiel@suse.de

View File

@ -20,10 +20,10 @@
Url: http://oss.sgi.com/projects/libnuma/
Name: numactl
License: GPL v2 only; GPL v2 or later
License: GPLv2 ; GPLv2+
Summary: NUMA Policy Control
Version: 2.0.2_2.0.3rc1
Release: 4
Release: 5
%define origversion 2.0.3-rc1
AutoReqProv: on
# bug437293
@ -33,6 +33,7 @@ Obsoletes: numactl-64bit
#
Source: numactl-%{origversion}.tar.bz2
Patch0: numactl-hardware-bits_per_long_cpus.diff
Patch1: numactl-fixasneeded.patch
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 x86_64 ppc64 ppc
@ -50,7 +51,7 @@ Authors:
Cliff Wickman (cpw@sgi.com)
%package -n libnuma1
License: GPL v2 or later
License: GPLv2+
Summary: NUMA Policy Control
Group: Development/Languages/C and C++
AutoReqProv: on
@ -67,7 +68,7 @@ Authors:
Cliff Wickman (cpw@sgi.com)
%package -n libnuma-devel
License: GPL v2 or later
License: GPLv2+
Summary: NUMA Policy Control
Group: Development/Languages/C and C++
AutoReqProv: on
@ -87,6 +88,7 @@ Authors:
%prep
%setup -n %{name}-%{origversion}
%patch0 -p1
%patch1 -p1
%build
make CFLAGS="${RPM_OPT_FLAGS}"
@ -124,192 +126,3 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*so
%changelog
* Wed Feb 04 2009 cthiel@suse.de
- fix baselibs.conf syntax
* Wed Jan 28 2009 bwalle@suse.de
- Fixes the function to print all available CPUs.
* Mon Jan 26 2009 cthiel@suse.de
- fix baselibs.conf, to require libnuma1-32bit on ppc
* Thu Jan 15 2009 bwalle@suse.de
- Update to 2.0.3-rc1
o Fixes to libnuma.c numa.h numacompat1.h by Daniel Gollub to fix
v1 compatiblity
o Fixes for 64-bit big-endian systems
o Restore nodemask_zero() and nodemask_equal()
o Fixes to read_mask()
o Drops a warning message about this not being a NUMA system
o Remove the numa_maps.5 man page (it's in Linux now)
o Fix makefiles in tests
o Fix off-by-ones in test mbind_mig_pages
- Drop numactl-compat.diff: Mainline.
- Drop numactl-fix-for-ppc64.patch: Mainline.
* Wed Jan 14 2009 ro@suse.de
- baselibs.conf: really create libnuma-devel-32bit only on ppc
* Wed Jan 14 2009 bwalle@suse.de
- Don't include the numa_maps(5) manpage since it's in man-pages
for some time (bnc #456823).
- Add libnuma-devel to baselibs.conf to get a libnuma-devel-32bit
on PPC (bnc #456823)
* Tue Jan 13 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Tue Jan 13 2009 bwalle@suse.de
- Fix "memset fails with 'mbind: Invalid argument'" on PPC64
(bnc #455977).
* Mon Dec 08 2008 kukuk@suse.de
- Fix baselibs.conf
* Fri Dec 05 2008 bwalle@suse.de
- Revert last change, it breaks other architectures.
* Fri Dec 05 2008 bwalle@suse.de
- Fix numademo memset fails with 'mbind: Invalid argument'
(bnc #455977).
* Thu Nov 20 2008 bwalle@suse.de
- Fixes to libnuma.c numa.h numacompat1.h by Daniel Gollub to fix
v1 compatiblity (bnc#441440).
* 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
- update baselibs.conf to reflect the package split
- remove Provides/Obsoletes since the 'numactl' package still
exists and provides the numactl binary
- move Changelog from 'libnuma1' package to 'numactl' package
* Tue Jun 17 2008 bwalle@suse.de
- update to 2.0.2-rc1
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 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
* Wed Jun 11 2008 bwalle@suse.de
- update to 2.0.1 (see CHANGES file for a changelog)
- follow shared library packaging policy
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Mar 17 2008 jeffm@suse.com
- Update to 1.0.2
* Fix parallel Makefile build (Andreas Herrmann)
* Fix target command argument parsing for numactl
* Clarify numa_node_to_cpus() manpage
* Thu Aug 16 2007 ak@suse.de
- Update to 1.0.1
* Only bug fixes since the previous version, no
new functionality.
* Thu Jun 08 2006 ak@suse.de
- Save/restore errno correctly (#182158)
* Thu Jun 08 2006 ak@suse.de
- Fix cpu buffer sizing for affinity syscalls (#182145)
* Tue May 23 2006 ak@suse.de
- Fix cpumap parsing again (#177749)
* Thu Mar 30 2006 ak@suse.de
- Fix the cpumap parsing fix to not corrupt memory (still #161089)
* Tue Mar 28 2006 ak@suse.de
- Update to 0.9.6: (#161089)
* consolidates earlier changes
* fix migrate pages error handling
* add numa_maps manpage
* fix cpumap parsing on large systems
* some build fixes
* Thu Mar 23 2006 ak@suse.de
- Don't install syscall manpages which are in the normal
manpages now (#158550)
* Sun Feb 12 2006 ak@suse.de
- Install migratepages manpage (followon for #143825)
* Wed Feb 08 2006 ak@suse.de
- Add support for page migration (#143825)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 ak@suse.de
- Update to numactl 0.9.1 to fix ppc32 build.
* Tue Jan 03 2006 ak@suse.de
- Update to numactl 0.9
* Mon Dec 19 2005 ak@suse.de
- Update to numactl 0.8
* Fri Dec 16 2005 ro@suse.de
- do not build as root
* Mon Oct 10 2005 ak@suse.de
- use RPM_OPT_FLAGS
- fix build on ia64 with debuginfo package
* Mon Oct 10 2005 ak@suse.de
- Fix includes in manpages (#72853)
- Fix buffer length calculation (#118980)
* Wed Apr 27 2005 jplack@suse.de
- override broken calculation of libdir in Makefile by using
%%{_libdir} rpm macro (#75249). Now it builds on ppc also.
* Mon Apr 25 2005 jplack@suse.de
- added numactl-LDPS1255-ppc (#75249 - LTC14536)
* Tue Apr 05 2005 ak@suse.de
- Fix manpages (#72835, #65944)
- Fix thread handling with NPTL (#64496)
* Mon Nov 22 2004 ak@suse.de
- Fix C++ compilation (#45796)
* Tue Sep 07 2004 ak@suse.de
- Fix numa_node_to_cpus on big machines (#44433)
* Wed Jun 16 2004 ak@suse.de
- Fix --cpubind on kernels with large NR_CPUS (#42041)
* Sat Jun 05 2004 ak@suse.de
- update to 0.6.4:
* add copyright headers for GPL and LGPL (#41685)
- Add requires to perl for numastat
* Thu May 20 2004 ak@suse.de
- update to 0.6.3:
* fix cpu map parsing with large number of CPUs (#40820)
* Tue May 11 2004 ak@suse.de
- update to 0.6.2:
* fix numademo to use STREAM
* make headers C++ clean
* some other bug fixes.
* add preliminary i386 syscalls
* Sun Apr 04 2004 ak@suse.de
- compile on ia64 too
* Thu Apr 01 2004 ak@suse.de
- update to 0.6 final. fix a few bugs in numactl and libnuma and
work on IA64 too
* Mon Mar 22 2004 ak@suse.de
- update to 0.6pre.
* Mon May 19 2003 ak@suse.de
- update to numactl-0.3. add libnuma and new manpages. add numademo.
* Wed May 07 2003 ak@suse.de
- package written and created