initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
||||
bool
|
||||
# see include/jemalloc/internal/quantum.h
|
||||
default y if BR2_arm || BR2_armeb
|
||||
default y if BR2_aarch64 || BR2_aarch64_be
|
||||
default y if BR2_i386 || BR2_x86_64
|
||||
default y if BR2_m68k
|
||||
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default y if BR2_nios2
|
||||
default y if BR2_or1k
|
||||
default y if BR2_powerpc
|
||||
default y if BR2_riscv
|
||||
default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
|
||||
default y if BR2_sparc64
|
||||
|
||||
config BR2_PACKAGE_JEMALLOC
|
||||
bool "jemalloc"
|
||||
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
This library providing a malloc(3) implementation that
|
||||
emphasizes fragmentation avoidance and scalable concurrency
|
||||
support.
|
||||
|
||||
http://jemalloc.net/
|
||||
|
||||
comment "jemalloc needs a toolchain w/ threads"
|
||||
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6 jemalloc-5.2.1.tar.bz2
|
||||
sha256 94aa2caa98c25d942f58b956c71dba6a99ff98fc3a31cbc669fe2a4cd0268b53 COPYING
|
||||
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# jemalloc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JEMALLOC_VERSION = 5.2.1
|
||||
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
||||
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
|
||||
JEMALLOC_LICENSE = BSD-2-Clause
|
||||
JEMALLOC_LICENSE_FILES = COPYING
|
||||
JEMALLOC_INSTALL_STAGING = YES
|
||||
JEMALLOC_CONFIG_SCRIPTS = jemalloc-config
|
||||
|
||||
# gcc bug internal compiler error: in merge_overlapping_regs, at
|
||||
# regrename.c:304. This bug is fixed since gcc 6.
|
||||
ifeq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
|
||||
JEMALLOC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user