forked from pool/numactl
Accepting request 764182 from Base:System
- Update to version 2.0.13: * Release numactl 2.0.13 * Skip `test/move_pages` if we don't have at least two nodes available * Add license files: GPLv2 + LGPLv2.1 * Handle cpu-less node for bind_range test * Convert numastat.c to standard numactl coding style * Disable clang travis targets for now * numastat.8: clarify that information relates to resident pages * Fix all declarations to be C prototypes * numatopology: Add check for cpu-less nodes * Update INSTALL.md * numastat: when reading no-exist pid, return EXIT_FAILURE * numastat: Add KReclaimable to list of known fields in meminfo * numastat: Better diagnostic when find unknown string in meminfo * Enable building on s390x * Correct sysconf constants * Removed unnecessary exit from memhog.c Solves issue #50 * Synchronized usage function with man page * Added memhog.8 to Makefile.am * memhog: add man page * Allow linking with lld by deduplicating symbols * numademo: free the node_to_use on the way out * numademo: free test nodemask * libnuma: cleanup node cpu mask in destructor * numactl: add va_end to usage function * travis: add build matrix * remove kernel version check * add missing linux version header * make MPOL_ macros match linux kernel * add missing policy * Fix: Add ShmemHugePages and ShmemPmdMapped to system_meminfo[] * Fix: move_pages test for non-contiguous nodes * Correct calculation of nr_nodes and re-enable move_pages test * Fix: regress test numastat function and few test fixes * Fix: distance test to include all existing nodes * numademo: fix wrong node input * Fix: node_list with memory-less nodes - Drop autoconf/libtool BuildRequires and autoreconf invocation, bundled configure is up-to-date. - Drop obsolete revert_date_in_numastat.patch, gcc sets __DATE__ based on SOURCE_DATE_EPOCH now. - Correct License for devel subpackage, same as for the library (LGPL-2.1-or-later). OBS-URL: https://build.opensuse.org/request/show/764182 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/numactl?expand=0&rev=61
This commit is contained in:
commit
c7e8ec3926
4
_service
4
_service
@ -4,9 +4,9 @@
|
||||
<param name="url">https://github.com/numactl/numactl</param>
|
||||
<param name="subdir"></param>
|
||||
<param name="filename">numactl</param>
|
||||
<param name="versionformat">2.0.12</param>
|
||||
<param name="versionformat">2.0.13</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">841253d1313b01a968c380cae4f498f20c46e5aa</param>
|
||||
<param name="revision">v2.0.13</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">numactl*.tar</param>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/numactl/numactl</param>
|
||||
<param name="changesrevision">841253d1313b01a968c380cae4f498f20c46e5aa</param></service></servicedata>
|
||||
<param name="changesrevision">5d9f16722e3df49dc618a9f361bd482559695db7</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44c88648910f9c310fc3d8c717f43fff83ff194a3812daf72cc524ca30de5a38
|
||||
size 94384
|
3
numactl-2.0.13.tar.gz
Normal file
3
numactl-2.0.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:991e254b867eb5951a44d2ae0bf1996a8ef0209e026911ef6c3ef4caf6f58c9a
|
||||
size 438096
|
@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 11 17:09:25 UTC 2020 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
- Update to version 2.0.13:
|
||||
* Release numactl 2.0.13
|
||||
* Skip `test/move_pages` if we don't have at least two nodes available
|
||||
* Add license files: GPLv2 + LGPLv2.1
|
||||
* Handle cpu-less node for bind_range test
|
||||
* Convert numastat.c to standard numactl coding style
|
||||
* Disable clang travis targets for now
|
||||
* numastat.8: clarify that information relates to resident pages
|
||||
* Fix all declarations to be C prototypes
|
||||
* numatopology: Add check for cpu-less nodes
|
||||
* Update INSTALL.md
|
||||
* numastat: when reading no-exist pid, return EXIT_FAILURE
|
||||
* numastat: Add KReclaimable to list of known fields in meminfo
|
||||
* numastat: Better diagnostic when find unknown string in meminfo
|
||||
* Enable building on s390x
|
||||
* Correct sysconf constants
|
||||
* Removed unnecessary exit from memhog.c Solves issue #50
|
||||
* Synchronized usage function with man page
|
||||
* Added memhog.8 to Makefile.am
|
||||
* memhog: add man page
|
||||
* Allow linking with lld by deduplicating symbols
|
||||
* numademo: free the node_to_use on the way out
|
||||
* numademo: free test nodemask
|
||||
* libnuma: cleanup node cpu mask in destructor
|
||||
* numactl: add va_end to usage function
|
||||
* travis: add build matrix
|
||||
* remove kernel version check
|
||||
* add missing linux version header
|
||||
* make MPOL_ macros match linux kernel
|
||||
* add missing policy
|
||||
* Fix: Add ShmemHugePages and ShmemPmdMapped to system_meminfo[]
|
||||
* Fix: move_pages test for non-contiguous nodes
|
||||
* Correct calculation of nr_nodes and re-enable move_pages test
|
||||
* Fix: regress test numastat function and few test fixes
|
||||
* Fix: distance test to include all existing nodes
|
||||
* numademo: fix wrong node input
|
||||
* Fix: node_list with memory-less nodes
|
||||
- Drop autoconf/libtool BuildRequires and autoreconf invocation,
|
||||
bundled configure is up-to-date.
|
||||
- Drop obsolete revert_date_in_numastat.patch, gcc sets __DATE__
|
||||
based on SOURCE_DATE_EPOCH now.
|
||||
- Correct License for devel subpackage, same as for the library
|
||||
(LGPL-2.1-or-later).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 13:40:46 CEST 2019 - kukuk@suse.de
|
||||
|
||||
|
28
numactl.spec
28
numactl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package numactl
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,26 +17,17 @@
|
||||
|
||||
|
||||
Name: numactl
|
||||
Version: 2.0.12
|
||||
Version: 2.0.13
|
||||
Release: 0
|
||||
Summary: NUMA Policy Control
|
||||
License: GPL-2.0-only
|
||||
Group: System/Management
|
||||
Url: https://github.com/numactl/numactl/releases
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
URL: https://github.com/numactl/numactl/releases
|
||||
Source0: https://github.com/numactl/numactl/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch0: revert_date_in_numastat.patch
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch1: 0001-Fixed-segfault-when-no-node-could-be-found-in-sysfs-.patch
|
||||
Patch2: numactl-clearcache-pie.patch
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: autoconf >= 2.64
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: %arm
|
||||
|
||||
%description
|
||||
Control NUMA policy for individual processes. Offer libnuma for
|
||||
@ -53,7 +44,7 @@ individual NUMA policy in applications.
|
||||
|
||||
%package -n libnuma-devel
|
||||
Summary: NUMA Policy Control
|
||||
License: GPL-2.0-only
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libnuma1 = %{version}
|
||||
|
||||
@ -63,23 +54,19 @@ individual NUMA policy in applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
%if 0%{?suse_version} > 1110
|
||||
autoreconf -fiv
|
||||
%endif
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm %{buildroot}%{_mandir}/man2/move_pages.2*
|
||||
rm -f %{buildroot}/%{_libdir}/lib*a
|
||||
rm -f %{buildroot}/%{_libdir}/lib*.la
|
||||
|
||||
%post -n libnuma1 -p /sbin/ldconfig
|
||||
|
||||
@ -87,6 +74,7 @@ rm -f %{buildroot}/%{_libdir}/lib*a
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE.GPL2 LICENSE.LGPL2.1
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man8/*
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
numactl: Revert __DATE__ in numastat
|
||||
|
||||
or this will trigger unnecessary, constant rebuilds in build
|
||||
service environments.
|
||||
|
||||
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
||||
|
||||
---
|
||||
numastat.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: numactl-2.0.12/numastat.c
|
||||
===================================================================
|
||||
--- numactl-2.0.12.orig/numastat.c
|
||||
+++ numactl-2.0.12/numastat.c
|
||||
@@ -675,7 +675,7 @@ double huge_page_size_in_bytes = 0;
|
||||
|
||||
void display_version_and_exit() {
|
||||
char *version_string = "20130723";
|
||||
- printf("%s version: %s: %s\n", prog_name, version_string, __DATE__);
|
||||
+ printf("%s version: %s\n", prog_name, version_string);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user