1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-28 06:14:38 +00:00
Lakka-LibreELEC/packages/devel/mimalloc/package.mk
2023-04-05 12:11:02 +00:00

28 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mimalloc"
PKG_VERSION="2.1.1"
PKG_SHA256="38b9660d0d1b8a732160191609b64057d8ccc3811ab18b7607bc93ca63a6010f"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/microsoft/mimalloc"
PKG_URL="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="cmake:host ninja:host"
PKG_LONGDESC="mimalloc (pronounced "me-malloc") is a general purpose allocator with excellent performance characteristics"
PKG_CMAKE_OPTS_HOST="-DMI_SECURE=OFF \
-DMI_DEBUG_FULL=OFF \
-DMI_OVERRIDE=ON \
-DMI_XMALLOC=OFF \
-DMI_SHOW_ERRORS=OFF \
-DMI_USE_CXX=OFF \
-DMI_SEE_ASM=OFF \
-DMI_LOCAL_DYNAMIC_TLS=OFF \
-DMI_BUILD_SHARED=ON \
-DMI_BUILD_STATIC=OFF \
-DMI_BUILD_OBJECT=OFF \
-DMI_BUILD_TESTS=OFF \
-DMI_DEBUG_TSAN=OFF \
-DMI_DEBUG_UBSAN=OFF \
-DMI_SKIP_COLLECT_ON_EXIT=OFF"