[packages/mimalloc] up to 3.4.5 (new soname)

atler atler at pld-linux.org
Sun Aug 16 15:42:28 CEST 2026


commit f277568c8d11ae16df38a38be9c0f74434bd387a
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Aug 16 15:42:10 2026 +0200

    up to 3.4.5 (new soname)

 mimalloc-build_type.patch | 18 +++++++++---------
 mimalloc.spec             |  7 +++----
 2 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/mimalloc.spec b/mimalloc.spec
index 4a862be..06ec84c 100644
--- a/mimalloc.spec
+++ b/mimalloc.spec
@@ -8,18 +8,17 @@
 Summary:	Compact general purpose allocator with excellent performance
 Summary(pl.UTF-8):	Mały alokator pamięci ogólnego przeznaczenia, o dobrej wydajności
 Name:		mimalloc
-Version:	2.3.2
+Version:	3.4.5
 Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	https://github.com/microsoft/mimalloc/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	e26476c97338ef7f48e1179c881d8ade
+# Source0-md5:	8db62fbf1fd1b8f51bbdd3c4c85fe5e2
 Patch0:		%{name}-build_type.patch
 Patch1:		arm-arch-pattern.patch
 URL:		https://github.com/microsoft/mimalloc
 BuildRequires:	cmake >= 3.18
 BuildRequires:	libatomic-devel
-BuildRequires:	libstdc++-devel >= 6:7
 BuildRequires:	rpmbuild(macros) >= 2.047
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -110,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmimalloc.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmimalloc.so.2
+%attr(755,root,root) %ghost %{_libdir}/libmimalloc.so.3
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/mimalloc-build_type.patch b/mimalloc-build_type.patch
index 3c9ad90..eb163ff 100644
--- a/mimalloc-build_type.patch
+++ b/mimalloc-build_type.patch
@@ -1,11 +1,11 @@
---- mimalloc-2.2.3/CMakeLists.txt.orig	2025-03-28 22:19:07.000000000 +0100
-+++ mimalloc-2.2.3/CMakeLists.txt	2025-04-27 08:27:46.785275340 +0200
-@@ -534,8 +534,6 @@ string(TOLOWER "${CMAKE_BUILD_TYPE}" CMA
+--- mimalloc-3.4.5/CMakeLists.txt.orig	2026-08-05 19:41:19.000000000 +0200
++++ mimalloc-3.4.5/CMakeLists.txt	2026-08-16 15:01:25.761064776 +0200
+@@ -665,7 +665,7 @@
+ endif()
+ string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LC)
  list(APPEND mi_defines "MI_CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE_LC}")  #todo: multi-config project needs $<CONFIG> ?
- if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$")
+-if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$")
++if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none|pld)$")
    list(APPEND mi_defines MI_BUILD_RELEASE)
--else()
--  set(mi_libname "${mi_libname}-${CMAKE_BUILD_TYPE_LC}") #append build type (e.g. -debug) if not a release version
- endif()
- 
- if(MI_BUILD_SHARED)
+ else()
+   set(mi_libname "${mi_libname}-${CMAKE_BUILD_TYPE_LC}") #append build type (e.g. -debug) if not a release version
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mimalloc.git/commitdiff/f277568c8d11ae16df38a38be9c0f74434bd387a



More information about the pld-cvs-commit mailing list