summaryrefslogtreecommitdiff
path: root/dev-libs/mimalloc
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-libs/mimalloc
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-libs/mimalloc')
-rw-r--r--dev-libs/mimalloc/Manifest4
-rw-r--r--dev-libs/mimalloc/metadata.xml12
-rw-r--r--dev-libs/mimalloc/mimalloc-2.1.9.ebuild35
-rw-r--r--dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild35
-rw-r--r--dev-libs/mimalloc/mimalloc-3.1.5.ebuild35
-rw-r--r--dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild35
6 files changed, 156 insertions, 0 deletions
diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest
new file mode 100644
index 000000000000..9fb7cc567d5f
--- /dev/null
+++ b/dev-libs/mimalloc/Manifest
@@ -0,0 +1,4 @@
+DIST mimalloc-2.1.9.tar.gz 1276218 BLAKE2B 183749c1bb98c92986da9d3cb636d465927dd5b4186072edbe6e4fae88b59fdbfe4a0dd711c4705d64287c8085a0059d891c07f6aba50747eb67e56937d2e3ad SHA512 404a7827aea6f39bb4b9d43b5c93d5ca39e84e29bf362d597744703f7a6d0c091f55b45a070e6d61ad7f68bf7c28f541668c75db16bae1423bd318f47bf06974
+DIST mimalloc-2.2.7.tar.gz 1298273 BLAKE2B c90e9da8db6b3a89376d8cb986b34931b8beed81302886bbcc860cb7d8efe84f791b74dc76a430cdab092883cf4f56ba073a719b3fa044cbe92a12874408dcf4 SHA512 19f5481c98822c6a279e2f2d26d6c54918e18bcafd515a76ca3a3845f3a5e599236ea042f9cadaf793dce0c1ede347d76cc2fc5503094288362a78034d4d8f71
+DIST mimalloc-3.1.5.tar.gz 1306337 BLAKE2B 14b2196cdc90915a0d444f0411eb5bf7a90342b03ef3c3cd1fb3b0b307499d8b3bfb991db32f6a97fa357f92f3659d34fe63dbea10f50e539223286988b5f373 SHA512 616351e549707318c1f8b164251141684a73d5bf8205b905736f48ab21fbb19bfaa4d52c4e63642fcb144345b6a5331944b6c8e0827925000553e46f2c2c31e9
+DIST mimalloc-3.2.8.tar.gz 1385082 BLAKE2B 1cd725555bf61a270114a9b7f39bb5610dfd8fb5efcf795641e64d575e1404502b4fd759d3fa51d452ba38d9d07c5cff60430854a28d485a03b3373c81c7e564 SHA512 5830ceb1bf0d02f50fe586caaad87624ba8eba1bb66e68e8201894221cf6f51854f5a9667fc98358c3b430dae6f9bf529bfcb74d42debe6f40a487265053371c
diff --git a/dev-libs/mimalloc/metadata.xml b/dev-libs/mimalloc/metadata.xml
new file mode 100644
index 000000000000..7588a058eb30
--- /dev/null
+++ b/dev-libs/mimalloc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <use>
+ <flag name="hardened">Enable exploit mitigations</flag>
+ </use>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-libs/mimalloc/mimalloc-2.1.9.ebuild b/dev-libs/mimalloc/mimalloc-2.1.9.ebuild
new file mode 100644
index 000000000000..aa43accd25bf
--- /dev/null
+++ b/dev-libs/mimalloc/mimalloc-2.1.9.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
+}
diff --git a/dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild b/dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild
new file mode 100644
index 000000000000..569cb1935896
--- /dev/null
+++ b/dev-libs/mimalloc/mimalloc-2.2.7-r1.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/2"
+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
+}
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..c0b62d2ac39a
--- /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/3"
+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
+}
diff --git a/dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild b/dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild
new file mode 100644
index 000000000000..6ce4d28cb06e
--- /dev/null
+++ b/dev-libs/mimalloc/mimalloc-3.2.8-r1.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
+}