From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D5AF15802F for ; Fri, 31 Mar 2023 21:28:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64615E08A5; Fri, 31 Mar 2023 21:28:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C9C2E08A5 for ; Fri, 31 Mar 2023 21:28:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81A8B340F78 for ; Fri, 31 Mar 2023 21:28:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30207A19 for ; Fri, 31 Mar 2023 21:28:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1680298073.a1c7a401e511d9486877d7d5ef9fe3ab4d85b08b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mimalloc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/mimalloc/Manifest dev-libs/mimalloc/mimalloc-2.1.0.ebuild X-VCS-Directories: dev-libs/mimalloc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a1c7a401e511d9486877d7d5ef9fe3ab4d85b08b X-VCS-Branch: master Date: Fri, 31 Mar 2023 21:28:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9329b85c-d970-4504-a729-4fbd5e585fd6 X-Archives-Hash: 5ab34659cec3a3b0a0b857f704fd02bf commit: a1c7a401e511d9486877d7d5ef9fe3ab4d85b08b Author: Sam James gentoo org> AuthorDate: Fri Mar 31 21:27:19 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 31 21:27:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c7a401 dev-libs/mimalloc: add 2.1.0 Signed-off-by: Sam James gentoo.org> dev-libs/mimalloc/Manifest | 1 + dev-libs/mimalloc/mimalloc-2.1.0.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index 7e3c24864946..6c1b878e7934 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1 +1,2 @@ DIST mimalloc-2.0.9.tar.gz 1143452 BLAKE2B 55e91d8fc89ef5344078caa5e72efce8c0745e3aab7bfb682587abf806bda1903c1afeaa57660a4dbcf7c19c04c759caf69af9fb62d15ecbdf2ce5bcf6574625 SHA512 bf6945bfb600ade35dab34c7f570ee4f69a77612547ad874bbbd989a4e594a6a219c222a22c90c5e36f205aae4d5cd1a5e4651caed5433db275d414c6769bf49 +DIST mimalloc-2.1.0.tar.gz 1163080 BLAKE2B c452fc6b6f16ba8f207855bc560f11ebb6b7431b17331123ede59a49ebe2591bb81e91481a776a6cd24ab5c7f3ceabd59cf6ae41b05b558e883cf045b71628d6 SHA512 f766d6d9ad961cc129a561ed4824eb30e0857c2da4662e0c6fd095c7e193760a2c3238943efa7601099d3b44480b34f1755454d6172a91b6dd1e3fa3a19d4a9e diff --git a/dev-libs/mimalloc/mimalloc-2.1.0.ebuild b/dev-libs/mimalloc/mimalloc-2.1.0.ebuild new file mode 100644 index 000000000000..5c8b6056d6ae --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-2.1.0.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 +}