jemalloc: add +git to version

jemalloc was switched from tag to development branch
171 commit ahead.
Adapt PV accordingly.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 53f608235a20793324ad9d0587392d26079f7cc6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Peter Marko 2024-05-22 21:46:03 +02:00 committed by Armin Kuster
parent 1812028119
commit 842b563790

View File

@ -17,6 +17,8 @@ SRC_URI = "git://github.com/jemalloc/jemalloc.git;branch=dev;protocol=https \
file://run-ptest \
"
SRCREV = "630434bb0ac619f7beec927569782d924c459385"
PV_LONG := "${PV}-171-g${SRCREV}"
PV .= "+git"
S = "${WORKDIR}/git"
@ -27,7 +29,7 @@ EXTRA_AUTORECONF += "--exclude=autoheader"
EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"
# For some reason VERSION file populated only in tarball distribution.
# Adding jemalloc version since this recipe is using source code from git tag
EXTRA_OECONF:append = " --with-version=${PV}-0-g${SRCREV} --enable-xmalloc"
EXTRA_OECONF:append = " --with-version=${PV_LONG} --enable-xmalloc"
do_install:append() {
sed -i -e 's@${STAGING_DIR_HOST}@@g' \