diff options
author | Sam James <sam@gentoo.org> | 2022-02-18 00:26:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-18 00:26:34 +0000 |
commit | 51afb34e9757a07358f9d39cb136174d1b0ab54a (patch) | |
tree | bd9271702b6192b6ccdba7eebab102f96999faad /dev-libs | |
parent | media-libs/libaom: add 3.3.0 (diff) | |
download | gentoo-51afb34e9757a07358f9d39cb136174d1b0ab54a.tar.gz gentoo-51afb34e9757a07358f9d39cb136174d1b0ab54a.tar.bz2 gentoo-51afb34e9757a07358f9d39cb136174d1b0ab54a.zip |
dev-libs/mimalloc: add 1.7.5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/mimalloc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/mimalloc/mimalloc-1.7.5.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index 5cb0dce7a530..f2b9492792b2 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1,2 +1,3 @@ DIST mimalloc-1.7.3.tar.gz 908042 BLAKE2B 6a96fc33148261e3f69a55196725bb2cf2e45f08a668b3d74fd6e06f808c1ce40fbb4783c5df50abe58dbae8b9c1dd264e6fcc6cce0a259b2cbec397d4667736 SHA512 e5a17b98d77a27d2a544869c2e0302a7e3bf77b5b494b2ee8ddc7af18bf9da152fea41702a8a17eb7e128238259fba6f96fa5bac549f5927453dc9a0bc06d013 +DIST mimalloc-1.7.5.tar.gz 1115414 BLAKE2B 2bd29cce80c0308409d14536533255f114f39edbadd7972eefc5ebb2d1e655c30340ffefadc572dad9ae5772a0bc6f105f346098520807a859b10230f3e3ec01 SHA512 76de3ffe8d935df55677cce2c68651516ed033f74bc3d1a1b8963cf5c6eb240b9464a5a00a820a88daf04fc7d8b9d2505f204d6365d5f49b5ababbb85a442b1e DIST mimalloc-2.0.3.tar.gz 917461 BLAKE2B 4b803881ab75afa358cb2dd251268c0934472074bf1983c3851a9d4f8c8ec0ea3907b52c40b0efe1cc09916cf4c5aa93f786a606e0b999536118b91bb5800310 SHA512 275a5249d09a57c9a039714fc6eef24ae778496954972419f3ac8e33f3d12e9837ba0691a3c08a4ab807c26b868aad3a5b2c28ee10ecaa60fe21ffe1d416f08f diff --git a/dev-libs/mimalloc/mimalloc-1.7.5.ebuild b/dev-libs/mimalloc/mimalloc-1.7.5.ebuild new file mode 100644 index 000000000000..b3ea5f3bc374 --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-1.7.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2022 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 )" + +src_configure() { + local mycmakeargs=( + # TODO: build hardened variant? + #-DMI_SECURE=$(usex hardened) + + -DMI_INSTALL_TOPLEVEL=ON + -DMI_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} |