From b9b0cd1e96c40c80d0b990d4e6cd7a67436647c4 Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Wed, 19 Aug 2026 12:21:25 -0500 Subject: [PATCH] mimalloc: update to 3.5.0. --- ...001-ensure-libname-is-libmimalloc.so.patch | 23 ++++--------------- srcpkgs/mimalloc/template | 4 ++-- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/srcpkgs/mimalloc/patches/0001-ensure-libname-is-libmimalloc.so.patch b/srcpkgs/mimalloc/patches/0001-ensure-libname-is-libmimalloc.so.patch index f031c163e7f0c5..aea46bdf1e7284 100644 --- a/srcpkgs/mimalloc/patches/0001-ensure-libname-is-libmimalloc.so.patch +++ b/srcpkgs/mimalloc/patches/0001-ensure-libname-is-libmimalloc.so.patch @@ -1,33 +1,18 @@ -From ecd4245b0284056989cdb60b514159a99e5e2096 Mon Sep 17 00:00:00 2001 -From: Andy Weidenbaum -Date: Fri, 5 Sep 2025 02:38:24 +0000 -Subject: [PATCH] ensure libname is libmimalloc.so - -regardless of whether mimalloc built as secure or not ---- - CMakeLists.txt | 9 --------- - 1 file changed, 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5ce084f6..88aa5fd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -522,15 +522,6 @@ else() +@@ -693,15 +693,6 @@ else() + set(mi_install_cmakedir "${CMAKE_INSTALL_LIBDIR}/cmake/mimalloc-${mi_version}") # for cmake package info endif() - set(mi_libname "mimalloc") -if(MI_SECURE) - set(mi_libname "${mi_libname}-secure") -endif() --if(MI_TRACK_VALGRIND) +-if(MI_TRACK STREQUAL "VALGRIND") - set(mi_libname "${mi_libname}-valgrind") -endif() --if(MI_TRACK_ASAN) +-if(MI_TRACK STREQUAL "ASAN") - set(mi_libname "${mi_libname}-asan") -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 $ ? if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$") --- -2.51.0 - diff --git a/srcpkgs/mimalloc/template b/srcpkgs/mimalloc/template index c0b73b9b0bf996..9c1b0b7959cc21 100644 --- a/srcpkgs/mimalloc/template +++ b/srcpkgs/mimalloc/template @@ -1,6 +1,6 @@ # Template file for 'mimalloc' pkgname=mimalloc -version=3.4.5 +version=3.5.0 revision=1 build_style=cmake configure_args="-DCMAKE_BUILD_TYPE=Release -DMI_BUILD_OBJECT=OFF @@ -10,7 +10,7 @@ maintainer="Peter Wang " license="MIT" homepage="https://github.com/microsoft/mimalloc" distfiles="https://github.com/microsoft/mimalloc/archive/refs/tags/v${version}.tar.gz" -checksum=19a43af0645c57d348e729d5b31e23e912582911bb1047f795790834d3416221 +checksum=1e432f0559a4ab512143b9bff7a700541a2c8d4712b26a72de3e0222790da305 build_options="secure" build_options_default="secure"