Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,33 +1,18 @@
From ecd4245b0284056989cdb60b514159a99e5e2096 Mon Sep 17 00:00:00 2001
From: Andy Weidenbaum <atweiden@ioiojo.com>
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 $<CONFIG> ?
if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$")
--
2.51.0

4 changes: 2 additions & 2 deletions srcpkgs/mimalloc/template
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,7 +10,7 @@ maintainer="Peter Wang <novalazy@gmail.com>"
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"
Expand Down