commit: ba552321861030cfe2c558a3b4bdc0eb92fe13e9 Author: Michal Rostecki <vadorovsky <AT> disroot <DOT> org> AuthorDate: Tue Jul 1 18:21:53 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 5 04:51:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba552321
dev-libs/mimalloc: add 3.1.5 Closes: https://bugs.gentoo.org/957471 Signed-off-by: Michal Rostecki <vadorovsky <AT> disroot.org> Part-of: https://github.com/gentoo/gentoo/pull/42830 Closes: https://github.com/gentoo/gentoo/pull/42830 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/mimalloc/Manifest | 1 + dev-libs/mimalloc/mimalloc-3.1.5.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index ac192b1a250f..941ecdbc0e63 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1 +1,2 @@ DIST mimalloc-2.1.9.tar.gz 1276218 BLAKE2B 183749c1bb98c92986da9d3cb636d465927dd5b4186072edbe6e4fae88b59fdbfe4a0dd711c4705d64287c8085a0059d891c07f6aba50747eb67e56937d2e3ad SHA512 404a7827aea6f39bb4b9d43b5c93d5ca39e84e29bf362d597744703f7a6d0c091f55b45a070e6d61ad7f68bf7c28f541668c75db16bae1423bd318f47bf06974 +DIST mimalloc-3.1.5.tar.gz 1306337 BLAKE2B 14b2196cdc90915a0d444f0411eb5bf7a90342b03ef3c3cd1fb3b0b307499d8b3bfb991db32f6a97fa357f92f3659d34fe63dbea10f50e539223286988b5f373 SHA512 616351e549707318c1f8b164251141684a73d5bf8205b905736f48ab21fbb19bfaa4d52c4e63642fcb144345b6a5331944b6c8e0827925000553e46f2c2c31e9 diff --git a/dev-libs/mimalloc/mimalloc-3.1.5.ebuild b/dev-libs/mimalloc/mimalloc-3.1.5.ebuild new file mode 100644 index 000000000000..49b88d5cd215 --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-3.1.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +DESCRIPTION="A compact general purpose allocator with excellent performance" +HOMEPAGE="https://github.com/microsoft/mimalloc" +SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened test valgrind" +RESTRICT="!test? ( test )" + +DEPEND="valgrind? ( dev-debug/valgrind )" + +src_configure() { + local mycmakeargs=( + -DMI_DEBUG_FULL=$(usex debug) + -DMI_SECURE=$(usex hardened) + -DMI_INSTALL_TOPLEVEL=ON + -DMI_BUILD_TESTS=$(usex test) + -DMI_BUILD_OBJECT=OFF + -DMI_BUILD_STATIC=OFF + -DMI_TRACK_VALGRIND=$(usex valgrind) + -DMI_LIBC_MUSL=$(usex elibc_musl) + # Don't inject -march=XXX + -DMI_OPT_ARCH=OFF + ) + + cmake-multilib_src_configure +}
