27 lines
1.2 KiB
Makefile
27 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.0.9"
|
|
PKG_SHA256="4a29edae32a914a706715e2ac8e7e4109e25353212edeed0888f4e3e15db5850"
|
|
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"
|