jemalloc: bump version to 4.5.0
PATCH 1/1 jemalloc: bump version to 4.5.0
Signed-off-by Eric Le Bihan <[email protected]>
--- package/jemalloc/0001-Disable-documentation.patch | 29 +++++++++++++++++++++ ...001-Fix-LG_QUANTUM-definition-for-sparc64.patch | 30 ---------------------- package/jemalloc/Config.in | 2 +- package/jemalloc/jemalloc.hash | 2 +- package/jemalloc/jemalloc.mk | 16 +++++++++--- 5 files changed, 44 insertions(+), 35 deletions(-) create mode 100644 package/jemalloc/0001-Disable-documentation.patch delete mode 100644 package/jemalloc/0001-Fix-LG_QUANTUM-definition-for-sparc64.patch
package/jemalloc/0001-Disable-documentation.patch new file +29 -0
@@ -0,0 +1,29 @@ +From b9113f8dc939dab775dbc64bae03b927f0679467 Mon Sep 17 00:00:00 2001 +From: Eric Le Bihan <[email protected]> +Date: Sun, 2 Apr 2017 19:26:04 +0200 +Subject: [PATCH] Disable documentation + +As there is no option to disable documentation, update Makefile.in to +skip it. + +Signed-off-by: Eric Le Bihan <[email protected]> +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index e49a871..74a7541 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -383,7 +383,7 @@ done + + install_doc: install_doc_html install_doc_man + +-install: install_bin install_include install_lib install_doc ++install: install_bin install_include install_lib + + tests_unit: $(TESTS_UNIT:$(srcroot)%.c=$(objroot)%$(EXE)) + tests_integration: $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%$(EXE)) +-- +2.9.3 +
package/jemalloc/0001-Fix-LG_QUANTUM-definition-for-sparc64.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From b3211bd6363ee6884c8db64008dc325a9c711bfb Mon Sep 17 00:00:00 2001 -From: Eric Le Bihan <[email protected]> -Date: Thu, 14 Jul 2016 22:44:01 +0200 -Subject: [PATCH] Fix LG_QUANTUM definition for sparc64 - -GCC 4.9.3 cross-compiled for sparc64 defines __sparc_v9__, not -__sparc64__ nor __sparcv9. This prevents LG_QUANTUM from being defined -properly. Adding this new value to the check solves the issue. - -Signed-off-by: Eric Le Bihan <[email protected]> ---- - include/jemalloc/internal/jemalloc_internal.h.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/jemalloc/internal/jemalloc_internal.h.in b/include/jemalloc/internal/jemalloc_internal.h.in -index 51bf897..ece15b2 100644 ---- a/include/jemalloc/internal/jemalloc_internal.h.in -+++ b/include/jemalloc/internal/jemalloc_internal.h.in -@@ -234,7 +234,7 @@ typedef unsigned szind_t; - # ifdef __alpha__ - # define LG_QUANTUM 4 - # endif --# if (defined(__sparc64__) || defined(__sparcv9)) -+# if (defined(__sparc64__) || defined(__sparcv9) || defined(__sparc_v9__)) - # define LG_QUANTUM 4 - # endif - # if (defined(__amd64__) || defined(__x86_64__) || defined(_M_X64)) --- -2.4.11 -
package/jemalloc/Config.in +1 -1
@@ -17,7 +17,7 @@ config BR2_PACKAGE_JEMALLOC This library providing a malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. - http://www.canonware.com/jemalloc/ + http://jemalloc.net/ comment "jemalloc needs a toolchain w/ dynamic library, threads" depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
package/jemalloc/jemalloc.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57 jemalloc-4.2.1.tar.bz2 +sha256 e885b65b95426945655ee91a30f563c9679770c92946bcdd0795f6b78c06c221 jemalloc-4.5.0.tar.gz
package/jemalloc/jemalloc.mk +13 -3
@@ -4,13 +4,21 @@ # ################################################################################ -JEMALLOC_VERSION = 4.2.1 -JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2 -JEMALLOC_SITE = http://www.canonware.com/download/jemalloc +JEMALLOC_VERSION = 4.5.0 +JEMALLOC_SITE = $(call github,jemalloc,jemalloc,$(JEMALLOC_VERSION)) JEMALLOC_LICENSE = BSD-2-Clause JEMALLOC_LICENSE_FILES = COPYING JEMALLOC_INSTALL_STAGING = YES +# configure is missing but gpm seems not compatible with our autoreconf +# mechanism so we have to do it manually instead of using +# JEMALLOC_AUTORECONF = YES +define JEMALLOC_RUN_AUTOGEN + cd $(@D) && PATH=$(BR_PATH) ./autogen.sh +endef + +JEMALLOC_PRE_CONFIGURE_HOOKS += JEMALLOC_RUN_AUTOGEN + ifeq ($(BR2_PACKAGE_VALGRIND),y) JEMALLOC_DEPENDENCIES += valgrind JEMALLOC_CONF_OPTS += --enable-valgrind
@@ -20,5 +28,7 @@ endif HOST_JEMALLOC_CONF_OPTS += --disable-valgrind +HOST_JEMALLOC_PRE_CONFIGURE_HOOKS += JEMALLOC_RUN_AUTOGEN + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
2.9.3
PATCH 1/1 jemalloc: bump version to 4.5.0
Hello,
package/jemalloc/jemalloc.mk line 20
Quoted 8 lines · Eric Le Bihan
package/jemalloc/jemalloc.mk +8
-0+# configure is missing but gpm seems not compatible with our autoreconf +# mechanism so we have to do it manually instead of using +# JEMALLOC_AUTORECONF = YES +define JEMALLOC_RUN_AUTOGEN + cd $(@D) && PATH=$(BR_PATH) ./autogen.sh +endef + +JEMALLOC_PRE_CONFIGURE_HOOKS += JEMALLOC_RUN_AUTOGEN
All this is not needed if you use the release tarball published by the project at
https://github.com/jemalloc/jemalloc/releases/download/4.5.0/jemalloc-4.5.0.tar.bz2.
It has the configure already generated.
So I've removed all the autoreconf related code you added, and used this tarball instead.
I've applied after changing this.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com