diff options
author | Peter Marko <peter.marko@siemens.com> | 2024-05-22 21:46:03 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2024-06-24 07:37:16 -0400 |
commit | 842b563790ff295a6cd08b84219290573f615e3e (patch) | |
tree | b14816135a77ad897d017065f801fb88171b04d9 | |
parent | 18120281191d21727d726e4555666a5e89d2f937 (diff) | |
download | meta-openembedded-842b563790ff295a6cd08b84219290573f615e3e.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb index 7e0272f898..cc21c8beae 100644 --- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb +++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | |||
@@ -17,6 +17,8 @@ SRC_URI = "git://github.com/jemalloc/jemalloc.git;branch=dev;protocol=https \ | |||
17 | file://run-ptest \ | 17 | file://run-ptest \ |
18 | " | 18 | " |
19 | SRCREV = "630434bb0ac619f7beec927569782d924c459385" | 19 | SRCREV = "630434bb0ac619f7beec927569782d924c459385" |
20 | PV_LONG := "${PV}-171-g${SRCREV}" | ||
21 | PV .= "+git" | ||
20 | 22 | ||
21 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
22 | 24 | ||
@@ -27,7 +29,7 @@ EXTRA_AUTORECONF += "--exclude=autoheader" | |||
27 | EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_" | 29 | EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_" |
28 | # For some reason VERSION file populated only in tarball distribution. | 30 | # For some reason VERSION file populated only in tarball distribution. |
29 | # Adding jemalloc version since this recipe is using source code from git tag | 31 | # Adding jemalloc version since this recipe is using source code from git tag |
30 | EXTRA_OECONF:append = " --with-version=${PV}-0-g${SRCREV} --enable-xmalloc" | 32 | EXTRA_OECONF:append = " --with-version=${PV_LONG} --enable-xmalloc" |
31 | 33 | ||
32 | do_install:append() { | 34 | do_install:append() { |
33 | sed -i -e 's@${STAGING_DIR_HOST}@@g' \ | 35 | sed -i -e 's@${STAGING_DIR_HOST}@@g' \ |