[packages/memkind] Up to 1.14.0
arekm
arekm at pld-linux.org
Fri May 8 20:28:12 CEST 2026
commit 92e16fcba88dfddee8c35fa4b0e78dca7f958155
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 20:28:02 2026 +0200
Up to 1.14.0
memkind-unused-var-ndebug.patch | 20 ++++++++++++++++++++
memkind.spec | 10 +++++-----
2 files changed, 25 insertions(+), 5 deletions(-)
---
diff --git a/memkind.spec b/memkind.spec
index 4ac9fda..d81161d 100644
--- a/memkind.spec
+++ b/memkind.spec
@@ -5,13 +5,13 @@
Summary: User Extensible Heap Manager
Summary(pl.UTF-8): Rozszerzalny zarządca sterty
Name: memkind
-Version: 1.10.0
+Version: 1.14.0
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/memkind/memkind/releases
Source0: https://github.com/memkind/memkind/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 30a59aec4c79a2504b6c0ec0ec5a070e
+# Source0-md5: 252ee2458d7830774ee0ac003f2140a1
URL: http://memkind.github.io/memkind
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
@@ -21,6 +21,7 @@ BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:2.2
BuildRequires: numactl-devel
BuildRequires: unzip
+Patch0: %{name}-unused-var-ndebug.patch
%{?with_ndctl:Requires: daxctl-libs >= 66}
ExclusiveArch: %{x8664} ppc64 ppc64le s390x aarch64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -81,6 +82,7 @@ Statyczne biblioteki Memkind.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__libtoolize}
@@ -94,9 +96,7 @@ Statyczne biblioteki Memkind.
--disable-silent-rules \
--enable-tls
-%{__make}
-
-%{__make} checkprogs
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/memkind-unused-var-ndebug.patch b/memkind-unused-var-ndebug.patch
new file mode 100644
index 0000000..1ca0c8d
--- /dev/null
+++ b/memkind-unused-var-ndebug.patch
@@ -0,0 +1,20 @@
+--- memkind-1.14.0/examples/memkind_cpp_allocator.cpp.orig 2023-01-01 00:00:00.000000000 +0000
++++ memkind-1.14.0/examples/memkind_cpp_allocator.cpp 2026-05-08 00:00:00.000000000 +0000
+@@ -37,6 +37,7 @@ int main(int argc, char *argv[])
+ for (auto &el : fwlist) {
+ i--;
+ assert(el == i);
++ (void)el;
+ }
+
+ fwlist.clear();
+--- memkind-1.14.0/examples/fixed_cpp_allocator.cpp.orig 2023-01-01 00:00:00.000000000 +0000
++++ memkind-1.14.0/examples/fixed_cpp_allocator.cpp 2026-05-08 00:00:00.000000000 +0000
+@@ -43,6 +43,7 @@ int main(int argc, char *argv[])
+ for (auto &el : fwlist) {
+ i--;
+ assert(el == i);
++ (void)el;
+ }
+
+ fwlist.clear();
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/memkind.git/commitdiff/92e16fcba88dfddee8c35fa4b0e78dca7f958155
More information about the pld-cvs-commit
mailing list