|
|
22af3a |
Name: numactl
|
|
|
22af3a |
Summary: Library for tuning for Non Uniform Memory Access machines
|
|
|
6a98cd |
Version: 2.0.12
|
|
|
25194a |
Release: 5%{?dist}
|
|
|
22af3a |
# libnuma is LGPLv2 and GPLv2
|
|
|
22af3a |
# numactl binaries are GPLv2 only
|
|
|
22af3a |
License: GPLv2
|
|
|
22af3a |
Group: System Environment/Base
|
|
|
6a98cd |
URL: https://github.com/numactl/numactl
|
|
|
6a98cd |
Source0: https://github.com/numactl/numactl/releases/download/%{version}/numactl-%{version}.tar.gz
|
|
|
22af3a |
Buildroot: %{_tmppath}/%{name}-buildroot
|
|
|
6a98cd |
BuildRequires: libtool automake autoconf
|
|
|
22af3a |
|
|
|
22af3a |
ExcludeArch: s390 s390x %{arm}
|
|
|
22af3a |
|
|
|
6a98cd |
Patch1: numactl-2.0.12-numastat-when-reading-no-exist-pid-return-EXIT_FAILU.patch
|
|
|
25194a |
Patch2: numactl-2.0.12-libnuma-introduce-an-API-to-outdate-cpu-to-node-mapp.patch
|
|
|
25194a |
Patch3: numactl-2.0.12-Update-manpage-description-of-numa_node_to_cpu_updat.patch
|
|
|
25194a |
Patch4: numactl-2.0.12-Fix-crashes-when-using-the-touch-option.patch
|
|
|
22af3a |
|
|
|
22af3a |
%description
|
|
|
22af3a |
Simple NUMA policy support. It consists of a numactl program to run
|
|
|
22af3a |
other programs with a specific NUMA policy.
|
|
|
22af3a |
|
|
|
22af3a |
%package libs
|
|
|
22af3a |
Summary: libnuma libraries
|
|
|
22af3a |
# There is a tiny bit of GPLv2 code in libnuma.c
|
|
|
22af3a |
License: LGPLv2 and GPLv2
|
|
|
22af3a |
Group: System Environment/Libraries
|
|
|
22af3a |
|
|
|
22af3a |
%description libs
|
|
|
22af3a |
numactl-libs provides libnuma, a library to do allocations with
|
|
|
22af3a |
NUMA policy in applications.
|
|
|
22af3a |
|
|
|
22af3a |
%package devel
|
|
|
22af3a |
Summary: Development package for building Applications that use numa
|
|
|
22af3a |
Group: System Environment/Libraries
|
|
|
22af3a |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
22af3a |
License: LGPLv2 and GPLv2
|
|
|
22af3a |
|
|
|
22af3a |
%description devel
|
|
|
22af3a |
Provides development headers for numa library calls
|
|
|
22af3a |
|
|
|
22af3a |
%prep
|
|
|
22af3a |
%setup -q -n %{name}-%{version}
|
|
|
22af3a |
%patch1 -p1
|
|
|
48e674 |
%patch2 -p1
|
|
|
25194a |
%patch3 -p1
|
|
|
25194a |
%patch4 -p1
|
|
|
22af3a |
|
|
|
22af3a |
%build
|
|
|
6a98cd |
%configure --prefix=/usr --libdir=%{_libdir}
|
|
|
22af3a |
make clean
|
|
|
22af3a |
make CFLAGS="$RPM_OPT_FLAGS -I."
|
|
|
22af3a |
|
|
|
22af3a |
%install
|
|
|
22af3a |
rm -rf $RPM_BUILD_ROOT
|
|
|
22af3a |
|
|
|
6a98cd |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
22af3a |
|
|
|
22af3a |
%post -p /sbin/ldconfig
|
|
|
22af3a |
%post libs -p /sbin/ldconfig
|
|
|
22af3a |
|
|
|
22af3a |
%postun -p /sbin/ldconfig
|
|
|
22af3a |
%postun libs -p /sbin/ldconfig
|
|
|
22af3a |
|
|
|
22af3a |
%files
|
|
|
6a98cd |
%doc README.md
|
|
|
22af3a |
%{_bindir}/numactl
|
|
|
22af3a |
%{_bindir}/numademo
|
|
|
22af3a |
%{_bindir}/numastat
|
|
|
22af3a |
%{_bindir}/memhog
|
|
|
22af3a |
%{_bindir}/migspeed
|
|
|
22af3a |
%{_bindir}/migratepages
|
|
|
22af3a |
%{_mandir}/man8/*.8*
|
|
|
6a98cd |
%exclude %{_mandir}/man2/*.2*
|
|
|
22af3a |
|
|
|
22af3a |
%files libs
|
|
|
6a98cd |
%{_libdir}/libnuma.so.1.0.0
|
|
|
22af3a |
%{_libdir}/libnuma.so.1
|
|
|
22af3a |
|
|
|
22af3a |
%files devel
|
|
|
22af3a |
%{_libdir}/libnuma.so
|
|
|
6a98cd |
%{_libdir}/pkgconfig/numa.pc
|
|
|
22af3a |
%exclude %{_libdir}/libnuma.a
|
|
|
6a98cd |
%exclude %{_libdir}/libnuma.la
|
|
|
22af3a |
%{_includedir}/numa.h
|
|
|
22af3a |
%{_includedir}/numaif.h
|
|
|
22af3a |
%{_includedir}/numacompat1.h
|
|
|
22af3a |
%{_mandir}/man3/*.3*
|
|
|
22af3a |
|
|
|
22af3a |
%changelog
|
|
|
25194a |
* Fri Oct 18 2019 Pingfan Liu <piliu@redhat.com> - 2.0.12-5
|
|
|
48e674 |
- Fix crashes when using the "--touch" option
|
|
|
48e674 |
|
|
|
25194a |
* Wed Sep 18 2019 Pingfan Liu <piliu@redhat.com> - 2.0.12-4
|
|
|
25194a |
- libnuma: introduce an API to outdate cpu to node mapping
|
|
|
25194a |
|
|
|
6a98cd |
* Sat Jun 1 2019 Pingfan Liu <piliu@redhat.com> - 2.0.12-3
|
|
|
6a98cd |
- numastat: bail out if reading no-exist pid
|
|
|
6a98cd |
|
|
|
6a98cd |
* Fri May 31 2019 Pingfan Liu <piliu@redhat.com> - 2.0.12-2
|
|
|
6a98cd |
- numastat: when reading no-exist pid, return EXIT_FAILURE
|
|
|
6a98cd |
- Rebase to numactl-2.0.12
|
|
|
6a98cd |
|
|
|
1fb63c |
* Tue Aug 8 2017 Petr Oros <poros@redhat.com> - 2.0.9-7
|
|
|
1fb63c |
- Segment fault when numa nodes not sequential or contiguous
|
|
|
1fb63c |
- Resolves: #1219445
|
|
|
1fb63c |
|
|
|
d02900 |
* Mon Dec 14 2015 Petr Holasek <pholasek@redhat.com> - 2.0.9-6
|
|
|
d02900 |
- confusing warning supressed (bz1270734)
|
|
|
d02900 |
|
|
|
20c42d |
* Wed Jul 01 2015 Petr Holasek <pholasek@redhat.com> - 2.0.9-5
|
|
|
d02900 |
- numa_node_to_cpu skips over non-existing nodes (bz1180415)
|
|
|
20c42d |
|
|
|
02ddd2 |
* Mon Nov 10 2014 Petr Holasek <pholasek@redhat.com> - 2.0.9-4
|
|
|
02ddd2 |
- Fixed missing question mark in dist macro
|
|
|
02ddd2 |
|
|
|
02ddd2 |
* Thu Jul 31 2014 Petr Holasek <pholasek@redhat.com> - 2.0.9-3
|
|
|
02ddd2 |
- Fixed hw detect segfault (bz1061874)
|
|
|
02ddd2 |
- Fixed printing of preferred node for MPOL_BIND (bz1119887)
|
|
|
02ddd2 |
|
|
|
2396b3 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.9-2
|
|
|
2396b3 |
- Mass rebuild 2013-12-27
|
|
|
2396b3 |
|
|
|
22af3a |
* Fri Oct 25 2013 Petr Holasek <pholasek@redhat.com> - 2.0.9-1
|
|
|
22af3a |
- rebased to version 2.0.9 (bz1017053)
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Aug 19 2013 Petr Holasek <pholasek@redhat.com> - 2.0.8-6
|
|
|
22af3a |
- localalloc manpage option is more verbose (bz881779)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Jul 30 2013 Petr Holasek <pholasek@redhat.com> - 2.0.8-5
|
|
|
22af3a |
- numastat minor bugfixes
|
|
|
22af3a |
- manpage and usage fixes (bz948377)
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-4
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Jan 22 2013 Petr Holasek <pholasek@redhat.com> - 2.0.8-3
|
|
|
22af3a |
- deleted empty numastat file
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Nov 1 2012 Tom Callaway <spot@fedoraproject.org> - 2.0.8-2
|
|
|
22af3a |
- fix license issues
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Oct 26 2012 Petr Holasek <pholasek@redhat.com> - 2.0.8-1
|
|
|
22af3a |
- Rebased to version 2.0.8
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-7
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Sat May 19 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-6
|
|
|
22af3a |
- numademo segfault fix (bz823125, bz823127)
|
|
|
22af3a |
|
|
|
22af3a |
* Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
|
|
|
22af3a |
- Library splitted out of numactl package to numactl-libs
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
22af3a |
|
|
|
02ddd2 |
* Sun Jan 01 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
|
|
|
22af3a |
- Include missing manpages
|
|
|
22af3a |
|
|
|
22af3a |
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
|
|
|
22af3a |
- Exclude ARM platforms
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
|
|
|
22af3a |
- Update to latest upstream stable version (bz 696703)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
|
|
|
22af3a |
- Better manpages (bz 673613)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
|
|
|
22af3a |
- Update to latest upstream stable version (bz 666379)
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
|
|
|
22af3a |
- Update to latest stable upstream source
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
|
|
|
22af3a |
- Remove static libs from numactl (bz 556088)
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
|
|
|
22af3a |
- Add destructor to libnuma.so to free allocated memory (bz 516227)
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
|
|
|
22af3a |
- Fix obo in nodes_allowed_list strncpy (bz 516223)
|
|
|
22af3a |
|
|
|
22af3a |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
|
|
|
22af3a |
- Update to full 2.0.3 version (bz 506795)
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
|
|
|
22af3a |
- Fix silly libnuma warnings again (bz 499633)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri May 08 2009 Neil Horman <nhorman@redhat.com>
|
|
|
22af3a |
- Update to 2.0.3-rc3 (bz 499633)
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
|
|
|
22af3a |
- Remove warning from libnuma (bz 484552)
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
|
|
|
22af3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
|
|
|
22af3a |
- Fix build break due to register selection in asm
|
|
|
22af3a |
|
|
|
22af3a |
* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
|
|
|
22af3a |
- Update rawhide to version 2.0.2 of numactl
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
|
|
|
22af3a |
- Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
|
|
|
22af3a |
- Fixing spec file to actually apply alpha patch :)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
|
|
|
22af3a |
- Add alpha syscalls (bz 396361)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
|
|
|
22af3a |
- Autorebuild for GCC 4.3
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Dec 20 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
|
|
|
22af3a |
- Update numactl to fix get_mempolicy signature (bz 418551)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Dec 14 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
|
|
|
22af3a |
- Update numactl to latest version (bz 425281)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Aug 07 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-4
|
|
|
22af3a |
- Fixing some remaining merge review issues (bz 226207)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Aug 03 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-3
|
|
|
22af3a |
- fixing up merge review (bz 226207)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
|
|
|
22af3a |
- Properly fixed bz 221982
|
|
|
22af3a |
- Updated revision string to include %{dist}
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
|
|
|
22af3a |
- Fixed -devel to depend on base package so libnuma.so resolves
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
|
|
|
22af3a |
- adding nodebind patch for bz 207404
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
|
|
|
22af3a |
- moving over libnuma.so to -devel package as well
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.34
|
|
|
22af3a |
- split out headers/devel man pages to a devel subpackage
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.32
|
|
|
22af3a |
- add patch for broken cpu/nodebind output (bz 201906)
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.8-1.31
|
|
|
22af3a |
- rebuild
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Jun 13 2006 Neil Horman <nhorman@redhat.com>
|
|
|
22af3a |
- Rebased numactl to version 0.9.8 for FC6/RHEL5
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Apr 26 2006 Neil Horman <nhorman@redhat.com>
|
|
|
22af3a |
- Added patches for 64 bit overflows and cpu mask problem
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com>
|
|
|
22af3a |
- rebuild for ppc TLS issue (#184446)
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.4-1.25.2
|
|
|
22af3a |
- bump again for double-long bug on ppc(64)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com>
|
|
|
22af3a |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
22af3a |
|
|
|
22af3a |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
22af3a |
- rebuilt
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Jul 7 2005 Dave Jones <davej@redhat.com>
|
|
|
22af3a |
- numactl doesn't own the manpage dirs. (#161547)
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
|
|
|
22af3a |
- Rebuild for gcc4
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
|
|
|
22af3a |
- rebuild with -D_FORTIFY_SOURCE=2
|
|
|
22af3a |
|
|
|
22af3a |
* Wed Nov 10 2004 David Woodhouse <dwmw2@redhat.com>
|
|
|
22af3a |
- Fix build on x86_64
|
|
|
22af3a |
|
|
|
22af3a |
* Thu Oct 21 2004 David Woodhouse <dwmw2@redhat.com>
|
|
|
22af3a |
- Add PPC support
|
|
|
22af3a |
|
|
|
22af3a |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
22af3a |
- rebuilt
|
|
|
22af3a |
|
|
|
22af3a |
* Sat Jun 05 2004 Warren Togami <wtogami@redhat.com>
|
|
|
22af3a |
- spec cleanup
|
|
|
22af3a |
|
|
|
22af3a |
* Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
|
|
|
22af3a |
- initial packaging
|
|
|
22af3a |
|