mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/mimalloc: add 3.1.5
Closes: https://bugs.gentoo.org/957471 Signed-off-by: Michal Rostecki <vadorovsky@disroot.org> Part-of: https://github.com/gentoo/gentoo/pull/42830 Closes: https://github.com/gentoo/gentoo/pull/42830 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
22b2122ebf
commit
ba55232186
@@ -1 +1,2 @@
|
||||
DIST mimalloc-2.1.9.tar.gz 1276218 BLAKE2B 183749c1bb98c92986da9d3cb636d465927dd5b4186072edbe6e4fae88b59fdbfe4a0dd711c4705d64287c8085a0059d891c07f6aba50747eb67e56937d2e3ad SHA512 404a7827aea6f39bb4b9d43b5c93d5ca39e84e29bf362d597744703f7a6d0c091f55b45a070e6d61ad7f68bf7c28f541668c75db16bae1423bd318f47bf06974
|
||||
DIST mimalloc-3.1.5.tar.gz 1306337 BLAKE2B 14b2196cdc90915a0d444f0411eb5bf7a90342b03ef3c3cd1fb3b0b307499d8b3bfb991db32f6a97fa357f92f3659d34fe63dbea10f50e539223286988b5f373 SHA512 616351e549707318c1f8b164251141684a73d5bf8205b905736f48ab21fbb19bfaa4d52c4e63642fcb144345b6a5331944b6c8e0827925000553e46f2c2c31e9
|
||||
|
||||
35
dev-libs/mimalloc/mimalloc-3.1.5.ebuild
Normal file
35
dev-libs/mimalloc/mimalloc-3.1.5.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2022-2025 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 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="debug hardened test valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="valgrind? ( dev-debug/valgrind )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMI_DEBUG_FULL=$(usex debug)
|
||||
-DMI_SECURE=$(usex hardened)
|
||||
-DMI_INSTALL_TOPLEVEL=ON
|
||||
-DMI_BUILD_TESTS=$(usex test)
|
||||
-DMI_BUILD_OBJECT=OFF
|
||||
-DMI_BUILD_STATIC=OFF
|
||||
-DMI_TRACK_VALGRIND=$(usex valgrind)
|
||||
-DMI_LIBC_MUSL=$(usex elibc_musl)
|
||||
# Don't inject -march=XXX
|
||||
-DMI_OPT_ARCH=OFF
|
||||
)
|
||||
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user