commit: 2dac5a36cbcc1df757ba2b17baa8eb68bc958517 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 15 05:41:55 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 15 05:41:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dac5a36
dev-libs/mimalloc: add 1.7.3 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/mimalloc/Manifest | 1 + dev-libs/mimalloc/mimalloc-1.7.3.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index 327db3621b93..a15a6b0e7fda 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1 +1,2 @@ DIST mimalloc-1.7.2.tar.gz 903317 BLAKE2B 6983a575c8e3a9ee92acc0042bc229805b7090794de6e693ff1cc344cd50e333d46f23663fbd16647ae4442b28f24bdc2043b46ed2bc16e13c3f8def08b155bb SHA512 5d78c5cc00dfff3dd7eb4bb59e8eff32397f5110d1183b4656cb56c40b88e2e648e3b18338119412b95ba9526937b16fce3aa4732f241a61a546e2bcea1efc9d +DIST mimalloc-1.7.3.tar.gz 908042 BLAKE2B 6a96fc33148261e3f69a55196725bb2cf2e45f08a668b3d74fd6e06f808c1ce40fbb4783c5df50abe58dbae8b9c1dd264e6fcc6cce0a259b2cbec397d4667736 SHA512 e5a17b98d77a27d2a544869c2e0302a7e3bf77b5b494b2ee8ddc7af18bf9da152fea41702a8a17eb7e128238259fba6f96fa5bac549f5927453dc9a0bc06d013 diff --git a/dev-libs/mimalloc/mimalloc-1.7.3.ebuild b/dev-libs/mimalloc/mimalloc-1.7.3.ebuild new file mode 100644 index 000000000000..40b252a87e40 --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-1.7.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="mimalloc is 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/1" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( +# "${FILESDIR}"/${PN}-1.7.2-GNUInstallDirs.patch +) + +src_configure() { + local mycmakeargs=( + # TODO: build hardened variant? + #-DMI_SECURE=$(usex hardened) + + -DMI_INSTALL_TOPLEVEL=ON + -DMI_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +}