[packages/mimalloc] up to 2.0.7
atler
atler at pld-linux.org
Sun Nov 13 09:26:15 CET 2022
commit 6e447d2e22f9e3ddd91ddd3f649baa533e1d4a55
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Nov 13 09:26:00 2022 +0100
up to 2.0.7
mimalloc-build_type.patch | 4 ++--
mimalloc.spec | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/mimalloc.spec b/mimalloc.spec
index 5263d2a..1b9d6d3 100644
--- a/mimalloc.spec
+++ b/mimalloc.spec
@@ -4,12 +4,12 @@
Summary: Compact general purpose allocator with excellent performance
Name: mimalloc
-Version: 2.0.6
-Release: 3
+Version: 2.0.7
+Release: 1
License: MIT
Group: Development/Libraries
Source0: https://github.com/microsoft/mimalloc/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 064c69f146ba05d1e593dc8c5c0944a6
+# Source0-md5: 471a4b1e8aa3e788519f9025711e2004
Patch0: %{name}-build_type.patch
URL: https://github.com/microsoft/mimalloc
BuildRequires: cmake >= 3.0
@@ -117,6 +117,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/mimalloc-new-delete.h
%{_includedir}/mimalloc-override.h
%{_libdir}/cmake/mimalloc
+%{_pkgconfigdir}/mimalloc.pc
%files static
%defattr(644,root,root,755)
diff --git a/mimalloc-build_type.patch b/mimalloc-build_type.patch
index d918354..d095b48 100644
--- a/mimalloc-build_type.patch
+++ b/mimalloc-build_type.patch
@@ -1,12 +1,12 @@
--- mimalloc-1.7.3/CMakeLists.txt.orig 2021-11-15 01:47:50.000000000 +0100
+++ mimalloc-1.7.3/CMakeLists.txt 2021-12-15 20:11:18.521257503 +0100
@@ -247,9 +247,6 @@
+ set(mi_basename "${mi_basename}-valgrind")
endif()
-
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LC)
-if(NOT(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$"))
- set(mi_basename "${mi_basename}-${CMAKE_BUILD_TYPE_LC}") #append build type (e.g. -debug) if not a release version
-endif()
+
if(MI_BUILD_SHARED)
list(APPEND mi_build_targets "shared")
- endif()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mimalloc.git/commitdiff/6e447d2e22f9e3ddd91ddd3f649baa533e1d4a55
More information about the pld-cvs-commit
mailing list