Skip to contentSkip to conversation

jemalloc: improve reproducibility

PATCH New Yu, Mingli 1 participant 1 message Aug 24, 2021

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 jemalloc: improve reproducibility

From: Mingli Yu <[email protected]>

Remove build host info from config file to improve reproducibility.

---
 meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-oe/recipes-devtools/jemalloc/jemalloc_5.2.1.bb +6 -0
index b5d53bb11..d4fed864d 100644
@@ -28,6 +28,12 @@ EXTRA_AUTORECONF += "--exclude=autoheader"
 
 EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"
 
+do_install:append() {
+	sed -i -e 's@${STAGING_DIR_HOST}@@g' \
+               -e 's@${STAGING_DIR_NATIVE}@@g' \
+               -e 's@${WORKDIR}@@g' ${D}${bindir}/jemalloc-config
+}
+
 do_compile_ptest() {
 	oe_runmake tests
 }
Signature · 1 line
2.29.2