Skip to contentSkip to conversation

jemalloc: add +git to version

PATCH In review Peter Marko 1 participant 2 messages May 22, 2024 – Jun 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 jemalloc: add +git to version

From: Peter Marko <[email protected]>

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

---
 meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb +3 -1
index 7e0272f89..cc21c8bea 100644
@@ -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' \
Signature · 1 line
2.30.2
#1 lore raw

Gentle ping for scarthgap

-----Original Message-----
From: Marko, Peter (ADV D EU SK BFS1) <[email protected]>
Sent: Wednesday, May 22, 2024 21:46
To: [email protected]
Cc: Marko, Peter (ADV D EU SK BFS1) <[email protected]>
Subject: [meta-oe][master][scarthgap][PATCH v2] jemalloc: add +git to version

Quoted 35 lines

From: Peter Marko <[email protected]>

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

---
 meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb +3 -1
index 7e0272f89..cc21c8bea 100644
@@ -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' \
Signature · 1 line
2.30.2