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 2F24F15808B for ; Fri, 18 Feb 2022 00:40:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24D32E07D7; Fri, 18 Feb 2022 00:40:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC770E07D9 for ; Fri, 18 Feb 2022 00:40:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9BC5342F31 for ; Fri, 18 Feb 2022 00:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0062D2DD for ; Fri, 18 Feb 2022 00:40:10 +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: <1645144116.a0a82cdf9ff09257f218e646d1eaebb52211c57c.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.0.5.ebuild X-VCS-Directories: dev-libs/mimalloc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a0a82cdf9ff09257f218e646d1eaebb52211c57c X-VCS-Branch: master Date: Fri, 18 Feb 2022 00:40:10 +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: 643f6c72-2726-4544-a113-de0c616bd150 X-Archives-Hash: 758ebe2a2df57c2d13e8fe31787fd517 commit: a0a82cdf9ff09257f218e646d1eaebb52211c57c Author: Sam James gentoo org> AuthorDate: Fri Feb 18 00:28:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 18 00:28:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a82cdf dev-libs/mimalloc: add 2.0.5 Signed-off-by: Sam James gentoo.org> dev-libs/mimalloc/Manifest | 1 + dev-libs/mimalloc/mimalloc-2.0.5.ebuild | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index f2b9492792b2..6daffc6e9645 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1,3 +1,4 @@ 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 +DIST mimalloc-2.0.5.tar.gz 1125567 BLAKE2B 9148ba4af7620eec36e1dde0f6fd2d1e3e9937bd2286ac790a727052402c3286b55387236de3a77e4405983c080bb7acae8deb3334cf9103fcf3f90250080204 SHA512 d164392ace523a3fa0aa00fc58d8a9e8fbe913f07957e19ca977675b389e6d2a2eaf4772e72cae0d87aabb960f3fd6ea3923a066ece4ba4fdaa0c6860cfa414d diff --git a/dev-libs/mimalloc/mimalloc-2.0.5.ebuild b/dev-libs/mimalloc/mimalloc-2.0.5.ebuild new file mode 100644 index 000000000000..3f591c4f9c51 --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-2.0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 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/2" +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 +} + +src_install() { + cmake_src_install + + rm "${ED}/usr/$(get_libdir)/mimalloc.o" || die + + find "${ED}" -name '*.a' -delete || die +}