diff options
author | Sam James <sam@gentoo.org> | 2023-04-25 02:53:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-25 02:57:18 +0100 |
commit | d6a5d3b553c3222298a67a5de4cc08d86f959dc9 (patch) | |
tree | e597f0fba34e20ead25d3076bb6f3b0835f80b58 /dev-libs/mimalloc | |
parent | app-forensics/volatility3: fix subslot dependency (diff) | |
download | gentoo-d6a5d3b553c3222298a67a5de4cc08d86f959dc9.tar.gz gentoo-d6a5d3b553c3222298a67a5de4cc08d86f959dc9.tar.bz2 gentoo-d6a5d3b553c3222298a67a5de4cc08d86f959dc9.zip |
dev-libs/mimalloc: add 2.1.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/mimalloc')
-rw-r--r-- | dev-libs/mimalloc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/mimalloc/mimalloc-2.1.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index 8909d37b1fde..ca3c41a24448 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1,2 +1,3 @@ DIST mimalloc-2.0.9.tar.gz 1143452 BLAKE2B 55e91d8fc89ef5344078caa5e72efce8c0745e3aab7bfb682587abf806bda1903c1afeaa57660a4dbcf7c19c04c759caf69af9fb62d15ecbdf2ce5bcf6574625 SHA512 bf6945bfb600ade35dab34c7f570ee4f69a77612547ad874bbbd989a4e594a6a219c222a22c90c5e36f205aae4d5cd1a5e4651caed5433db275d414c6769bf49 DIST mimalloc-2.1.1.tar.gz 1163057 BLAKE2B 2f4f06b755f4083b0dc75e08004c38a65f7a855e0455dd8f6e3833578d10d55150c8dc02a8d1448cec5dd02375729ee7fc4ef1ab215ac527f9c52a98f752d8de SHA512 01c7bdfd001ebc34bb0918fe4ecff42a4ec316fbbd73d4dda52c93c31e5712595758a595ae7ea436f445ecc0ebbf7f9c63d9c572f1c1c5a9e96f51fc524a4875 +DIST mimalloc-2.1.2.tar.gz 1163868 BLAKE2B bba29671fdca81b682edeefe16a1239640ea28fee4e44c97d0422ae81e0b3e7141c733459ccafc6672780157af67ff7d2a10cf4157180e003b458332a79d8481 SHA512 927b046e67783b325a6e41e3a9a6d3d78306fa1c82255defd1f3a7a60a27fd809a601f65b1b27fa38f2064e124f29856d7c0e5ccc33c54c2e4b6ebb9816d74b1 diff --git a/dev-libs/mimalloc/mimalloc-2.1.2.ebuild b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild new file mode 100644 index 000000000000..5c8b6056d6ae --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2023 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 ~loong ~ppc64 ~riscv ~x86" +IUSE="hardened test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DMI_SECURE=$(usex hardened) + -DMI_INSTALL_TOPLEVEL=ON + -DMI_BUILD_TESTS=$(usex test) + + -DMI_BUILD_OBJECT=OFF + -DMI_BUILD_STATIC=OFF + ) + + cmake-multilib_src_configure +} |