Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mimalloc/
Date: Fri, 30 Dec 2022 07:32:33
Message-Id: 1672385514.8f30b56df603826086f996f80202137398c683e4.sam@gentoo
1 commit: 8f30b56df603826086f996f80202137398c683e4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 30 07:25:58 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 07:31:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f30b56d
7
8 dev-libs/mimalloc: add 2.0.9
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/mimalloc/Manifest | 1 +
13 dev-libs/mimalloc/mimalloc-2.0.9.ebuild | 30 ++++++++++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest
17 index 73116aa109bb..3521833c23aa 100644
18 --- a/dev-libs/mimalloc/Manifest
19 +++ b/dev-libs/mimalloc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mimalloc-2.0.6.tar.gz 1127052 BLAKE2B bd8a38cc0eab6ad950a63f494f24e6a91c50d2104335e9ce70963a7baadd26c7a2b7440b2fcabe502d9961549222873d017cb525bf5b32da967cf51aa167603c SHA512 f2fc0fbfb6384e85959897f129e5d5d9acc51bda536d5cabcd7d4177dbda9fb735b8a8c239b961f8bea31d37c9ae10f66da23aa91d497f95393253d4ac792bb3
22 DIST mimalloc-2.0.7.tar.gz 1137057 BLAKE2B dc7ca7443507b14967168e4899464d137da425bdbc3863d44faef7adfe62e983cec0a7950937f010d003ff4df3c4368ff2f9753c3fda19641ab12f91fc73055c SHA512 120f89eef50ba83130e8ceb974a6148c84a7f3d975d1efaa094142518afb4ff6d9e24f8e75e9aa0bb02dc80bf497eced4b8ae1f2f5914fdabd773317e1341ea1
23 +DIST mimalloc-2.0.9.tar.gz 1143452 BLAKE2B 55e91d8fc89ef5344078caa5e72efce8c0745e3aab7bfb682587abf806bda1903c1afeaa57660a4dbcf7c19c04c759caf69af9fb62d15ecbdf2ce5bcf6574625 SHA512 bf6945bfb600ade35dab34c7f570ee4f69a77612547ad874bbbd989a4e594a6a219c222a22c90c5e36f205aae4d5cd1a5e4651caed5433db275d414c6769bf49
24
25 diff --git a/dev-libs/mimalloc/mimalloc-2.0.9.ebuild b/dev-libs/mimalloc/mimalloc-2.0.9.ebuild
26 new file mode 100644
27 index 000000000000..313ecbb034c5
28 --- /dev/null
29 +++ b/dev-libs/mimalloc/mimalloc-2.0.9.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake-multilib
37 +
38 +DESCRIPTION="A compact general purpose allocator with excellent performance"
39 +HOMEPAGE="https://github.com/microsoft/mimalloc"
40 +SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0/2"
44 +KEYWORDS="~amd64 ~loong ~riscv ~x86"
45 +IUSE="hardened test"
46 +RESTRICT="!test? ( test )"
47 +
48 +src_configure() {
49 + local mycmakeargs=(
50 + -DMI_SECURE=$(usex hardened)
51 +
52 + -DMI_INSTALL_TOPLEVEL=ON
53 + -DMI_BUILD_TESTS=$(usex test)
54 +
55 + -DMI_BUILD_OBJECT=OFF
56 + -DMI_BUILD_STATIC=OFF
57 + )
58 +
59 + cmake-multilib_src_configure
60 +}