mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 05:21:31 +00:00
redis: upgrade 8.8.1 -> 8.10.0
8.10.0's default "all"/"build" goal also builds the bundled modules (redisbloom, redisearch, redisjson, redistimeseries), which pull in their own vendored build systems and a python3 interpreter this recipe has never needed. Restrict do_compile to the core server only, the way scripts/build.sh does it internally (oe_runmake -C src all). Rebase 0004-src-Do-not-reset-FINAL_LIBS.patch for the shifted context. Build-verified for qemux86-64 (do_package_qa green). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
+9
-6
@@ -15,20 +15,23 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Reworked for 8.0.0
|
||||
Signed-off-by: Eric Meyers <eric.meyers@arthrex.com>
|
||||
|
||||
Rebased on 8.10.0: context shifted by 1 line (offset only).
|
||||
|
||||
---
|
||||
src/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 5dbbefc..15fbe09 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -152,7 +152,7 @@ endif
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
|
||||
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
||||
FINAL_LDFLAGS=$(LDFLAGS) $(OPT) $(REDIS_LDFLAGS) $(DEBUG)
|
||||
-FINAL_LIBS=-lm
|
||||
+FINAL_LIBS+=-lm
|
||||
DEBUG=-g -ggdb
|
||||
|
||||
# Linux ARM32 needs -latomic at linking time
|
||||
|
||||
# Replication compression (opt-in via BUILD_COMPRESSION=yes). When enabled the
|
||||
# replication stream can be compressed with libzstd; when disabled libzstd is
|
||||
--
|
||||
2.34.1
|
||||
+9
-1
@@ -16,7 +16,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
|
||||
file://0004-src-Do-not-reset-FINAL_LIBS.patch \
|
||||
file://0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "1d1e423c9c808de3cb01dd3300d2b8d305b7691382e31a847ec17b66d3157477"
|
||||
SRC_URI[sha256sum] = "f1baa4b28befd417aa6577ebeedde9e9fc7814cfcc299b2a6d2fd99ef7420a6c"
|
||||
|
||||
RPROVIDES:${PN} = "virtual-redis"
|
||||
|
||||
@@ -47,6 +47,14 @@ do_compile:prepend() {
|
||||
oe_runmake -C deps hdr_histogram fpconv hiredis lua linenoise
|
||||
}
|
||||
|
||||
# 8.10.0's default "all"/"build" goal also builds the bundled modules
|
||||
# (redisbloom, redisearch, redisjson, redistimeseries), which pull in their own
|
||||
# vendored build systems and a python3 interpreter this recipe has never needed.
|
||||
# Build the core server only, the way scripts/build.sh does it internally.
|
||||
do_compile() {
|
||||
oe_runmake -C src all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
export PREFIX=${D}/${prefix}
|
||||
oe_runmake install
|
||||
Reference in New Issue
Block a user