head 1.16; access; symbols pkgsrc-2026Q1:1.14.0.2 pkgsrc-2026Q1-base:1.14 pkgsrc-2025Q4:1.13.0.4 pkgsrc-2025Q4-base:1.13 pkgsrc-2025Q3:1.13.0.2 pkgsrc-2025Q3-base:1.13 pkgsrc-2025Q2:1.12.0.4 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.2 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.11.0.4 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.11.0.2 pkgsrc-2024Q3-base:1.11 pkgsrc-2024Q2:1.10.0.8 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.6 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.4 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.2 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.9.0.4 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.2 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.8.0.4 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.2 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.6.0.2 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.5.0.2 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.4.0.2 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3; locks; strict; comment @# @; 1.16 date 2026.04.30.12.22.57; author adam; state Exp; branches; next 1.15; commitid F4evApaERNfNOYDG; 1.15 date 2026.04.21.09.18.19; author adam; state Exp; branches; next 1.14; commitid P7FkOt97M40f5OCG; 1.14 date 2026.02.04.16.12.43; author adam; state Exp; branches; next 1.13; commitid nMnjYpBGr1TZO4tG; 1.13 date 2025.06.30.20.01.47; author adam; state Exp; branches; next 1.12; commitid kq8RNqeTjXj58X0G; 1.12 date 2025.01.13.10.35.58; author adam; state Exp; branches; next 1.11; commitid iosPbYMhmn1HojFF; 1.11 date 2024.08.25.06.18.36; author wiz; state Exp; branches; next 1.10; commitid BcrSL94SO85mvanF; 1.10 date 2023.07.21.08.25.51; author nia; state Exp; branches; next 1.9; commitid OZ13XX5fMG2o6ExE; 1.9 date 2023.01.09.17.13.43; author fcambus; state Exp; branches; next 1.8; commitid S0ApUbwDj0e6eT8E; 1.8 date 2022.09.18.14.54.39; author he; state Exp; branches; next 1.7; commitid 2KIyzncvrDew5mUD; 1.7 date 2022.06.27.15.29.14; author fcambus; state Exp; branches; next 1.6; commitid IQmQDlWLRNqyWGJD; 1.6 date 2022.04.15.13.50.56; author fcambus; state Exp; branches; next 1.5; commitid Y1WlQartLx1DKiAD; 1.5 date 2022.02.15.19.13.04; author fcambus; state Exp; branches; next 1.4; commitid InAnqpnkYtUGqKsD; 1.4 date 2021.11.21.08.56.07; author fcambus; state Exp; branches; next 1.3; commitid hzJGuAreRZHoMDhD; 1.3 date 2021.07.28.21.34.03; author fcambus; state Exp; branches; next 1.2; commitid MP1Yq9zcu4sAHN2D; 1.2 date 2021.07.28.14.23.13; author fcambus; state Exp; branches; next 1.1; commitid 1dszD16OkPJPjL2D; 1.1 date 2021.07.27.09.29.41; author fcambus; state Exp; branches; next ; commitid bCwQkciUIJyaJB2D; desc @@ 1.16 log @mimalloc: updated to 3.3.2 3.3.2 various bug and security fixes through LLM audit (by @@Zoxc). Only increase minimal purge size automatically if allow_thp is set to 2. Enable large OS alignment on all platforms (fixing OS large pages on Windows). Fix accounting of committed memory on Linux/macOS. Update MSVC atomics implementation when using C mode. Upstream Emscripten fixes. Proper atomic do-once implementation. @ text @# $NetBSD: Makefile,v 1.15 2026/04/21 09:18:19 adam Exp $ DISTNAME= mimalloc-3.3.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=microsoft/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/microsoft/mimalloc COMMENT= General-purpose allocator with excellent performance characteristics LICENSE= mit USE_CC_FEATURES= c11 USE_CXX_FEATURES= c++17 USE_LANGUAGES= c c++ TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR} # For Darwin TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR} TEST_TARGET= test # For building tests. LDFLAGS.NetBSD+= -lpthread CMAKE_CONFIGURE_ARGS+= -DMI_INSTALL_TOPLEVEL=ON INSTALLATION_DIRS+= lib/cmake/mimalloc post-install: ${RM} -f ${DESTDIR}${PREFIX}/lib/mimalloc.o .include "../../devel/cmake/build.mk" .include "../../mk/atomic64.mk" .include "../../mk/bsd.pkg.mk" @ 1.15 log @mimalloc: updated to 3.3.1 3.3.1 various bug and security fixes 3.3.0 initial support for github (binary) releases, fix visiting of full pages during collection (performance), fix THP alignment (performance), fix arm64 cross-compilation on Windows, enable guard pages in debug mode, always use uncommitted areas between arenas (security), enable static overloading of malloc etc. on Windows with the static CRT @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2026/02/04 16:12:43 adam Exp $ d3 1 a3 1 DISTNAME= mimalloc-3.3.1 @ 1.14 log @mimalloc: updated to 3.2.8 3.2.8 important bug fixes 3.2.7 various bug fixes and performance improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/06/30 20:01:47 adam Exp $ d3 1 a3 1 DISTNAME= mimalloc-3.2.8 @ 1.13 log @mimalloc: updated to 3.1.5 3.1.5 bug fix update 3.1.4 important bug fixes and performance improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/01/13 10:35:58 adam Exp $ d3 1 a3 1 DISTNAME= mimalloc-3.1.5 @ 1.12 log @mimalloc: updated to 3.0.1 3.0.1 minor update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/08/25 06:18:36 wiz Exp $ d3 1 a3 1 DISTNAME= mimalloc-3.0.1 d20 2 @ 1.11 log @*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/07/21 08:25:51 nia Exp $ d3 1 a3 1 DISTNAME= mimalloc-2.0.9 d9 1 a9 1 HOMEPAGE= https://github.com/microsoft/mimalloc/ d13 7 a19 2 USE_CMAKE= yes USE_LANGUAGES= c c++ a22 3 # Requires stdatomic support. USE_CC_FEATURES+= c11 d28 1 @ 1.10 log @mimalloc: Requires a C11 compiler. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/01/09 17:13:43 fcambus Exp $ d16 1 a16 1 CMAKE_ARGS+= -DMI_INSTALL_TOPLEVEL=ON @ 1.9 log @mimalloc: update to 2.0.9. ChangeLog: 2022-12-23 release with arbitrary aligment 2022-11-03 release with valgrind support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2022/09/18 14:54:39 he Exp $ d18 3 @ 1.8 log @devel/mimalloc: use mk/atomic64.mk since this uses 8-byte atomics. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2022/06/27 15:29:14 fcambus Exp $ d3 1 a3 1 DISTNAME= mimalloc-2.0.6 @ 1.7 log @*: drop maintainership for packages not related to toolchains and ELF. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2022/04/15 13:50:56 fcambus Exp $ d23 1 @ 1.6 log @mimalloc: update to 2.0.6. ChangeLog: - Fix macOS override @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2022/02/15 19:13:04 fcambus Exp $ d8 1 a8 1 MAINTAINER= fcambus@@NetBSD.org @ 1.5 log @mimalloc: update to 2.0.5. ChangeLog: - macOS fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2021/11/21 08:56:07 fcambus Exp $ d3 1 a3 1 DISTNAME= mimalloc-2.0.5 @ 1.4 log @mimalloc: update to 2.0.3. ChangeLog: - Increase segment size, fine-grained decommit @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2021/07/28 21:34:03 fcambus Exp $ d3 1 a3 1 DISTNAME= mimalloc-2.0.3 @ 1.3 log @mimalloc: install *.cmake files in ${PREFIX}/lib/cmake/mimalloc. Pointed out by jperkin@@, thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2021/07/27 09:29:41 fcambus Exp $ d3 1 a3 2 DISTNAME= mimalloc-2.0.2 PKGREVISION= 2 a21 1 ${MV} ${DESTDIR}${PREFIX}/cmake/*.cmake ${DESTDIR}${PREFIX}/lib/cmake/mimalloc @ 1.2 log @mimalloc: install directly into CMAKE_INSTALL_PREFIX. @ text @d4 1 a4 1 PKGREVISION= 1 d19 2 d22 2 a23 1 ${RM} -f ${DESTDIR}${PREFIX}/lib/mimalloc-2.0/mimalloc.o @ 1.1 log @devel/mimalloc: import mimalloc-2.0.2. mimalloc (pronounced "me-malloc") is a general purpose allocator with excellent performance characteristics. Initially developed by Daan Leijen for the run-time systems of the Koka and Lean languages. mimalloc is a drop-in replacement for malloc and can be used in other programs without code changes. @ text @d1 1 a1 1 # $NetBSD$ d4 1 d17 2 @