mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
jemalloc: new package
This new package provides jemalloc, a malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. A host variant is added as it will be used by rust. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> [Thomas: - remove trailing slash (noticed by Romain Naour) - add !BR2_STATIC_LIBS dependency (noticed by Romain Naour).] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
16ec6a6c78
commit
e6cdb4dd3e
@ -1243,6 +1243,7 @@ menu "Other"
|
||||
source "package/gmp/Config.in"
|
||||
source "package/gsl/Config.in"
|
||||
source "package/gtest/Config.in"
|
||||
source "package/jemalloc/Config.in"
|
||||
source "package/libargtable2/Config.in"
|
||||
source "package/libatomic_ops/Config.in"
|
||||
source "package/libbsd/Config.in"
|
||||
|
11
package/jemalloc/Config.in
Normal file
11
package/jemalloc/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_JEMALLOC
|
||||
bool "jemalloc"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
This library providing a malloc(3) implementation that emphasizes
|
||||
fragmentation avoidance and scalable concurrency support.
|
||||
|
||||
http://www.canonware.com/jemalloc/
|
||||
|
||||
comment "jemalloc needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
2
package/jemalloc/jemalloc.hash
Normal file
2
package/jemalloc/jemalloc.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b216ddaeb901697fe38bd30ea02d7505a4b60e8979092009f95cfda860d46acb jemalloc-4.2.0.tar.bz2
|
15
package/jemalloc/jemalloc.mk
Normal file
15
package/jemalloc/jemalloc.mk
Normal file
@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# jemalloc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JEMALLOC_VERSION = 4.2.0
|
||||
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
||||
JEMALLOC_SITE = http://www.canonware.com/download/jemalloc
|
||||
JEMALLOC_LICENSE = BSD-2c
|
||||
JEMALLOC_LICENSE_FILES = COPYING
|
||||
JEMALLOC_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
Loading…
Reference in New Issue
Block a user