repo/gentoo:master commit in: dev-libs/mimalloc/
"Sam James" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1787115554.6d17fda3d29752a4e7ee0302c90257a301639146.sam@gentoo> |
commit: 6d17fda3d29752a4e7ee0302c90257a301639146
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 04:59:14 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 04:59:14 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d17fda3
dev-libs/mimalloc: add 3.4.5
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/mimalloc/Manifest | 1 +
dev-libs/mimalloc/mimalloc-3.4.5.ebuild | 35 +++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest
index 9bd63174c851..efa13f3aa03c 100644
--- a/dev-libs/mimalloc/Manifest
+++ b/dev-libs/mimalloc/Manifest
@@ -1 +1,2 @@
DIST mimalloc-3.2.8.tar.gz 1385082 BLAKE2B 1cd725555bf61a270114a9b7f39bb5610dfd8fb5efcf795641e64d575e1404502b4fd759d3fa51d452ba38d9d07c5cff60430854a28d485a03b3373c81c7e564 SHA512 5830ceb1bf0d02f50fe586caaad87624ba8eba1bb66e68e8201894221cf6f51854f5a9667fc98358c3b430dae6f9bf529bfcb74d42debe6f40a487265053371c
+DIST mimalloc-3.4.5.tar.gz 1423876 BLAKE2B b32b6c626fc591d41c111cbb94fd5ed43b3810a45c4d9de14b031d9c04eb586cb683c6de059fe28d6a2ff17c5bcf6e9f3b05a82a60df70361312c870aabb46f9 SHA512 6cb7d1adc653a14abd209f98c141179393a2aaf78916d46c85f1dd71dc9c898b6a4f3b8b7bda54e008202dce824b7fc8852310b68821700641f8fac9482b4e3e
diff --git a/dev-libs/mimalloc/mimalloc-3.4.5.ebuild b/dev-libs/mimalloc/mimalloc-3.4.5.ebuild
new file mode 100644
index 000000000000..8852597db7cf
--- /dev/null
+++ b/dev-libs/mimalloc/mimalloc-3.4.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022-2026 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/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ # hardened + valgrind could be restored w/ multibuild.eclass. They
+ # install renamed libraries which break reverse dependencies.
+ local mycmakeargs=(
+ -DMI_DEBUG_FULL=$(usex debug)
+ -DMI_SECURE=OFF
+ -DMI_INSTALL_TOPLEVEL=ON
+ -DMI_BUILD_TESTS=$(usex test)
+ -DMI_BUILD_OBJECT=OFF
+ -DMI_BUILD_STATIC=OFF
+ -DMI_TRACK_VALGRIND=OFF
+ -DMI_LIBC_MUSL=$(usex elibc_musl)
+ # Don't inject -march=XXX
+ -DMI_OPT_ARCH=OFF
+ )
+
+ cmake-multilib_src_configure
+}