emb2redis utility added.

This commit is contained in:
antirez
2025-08-28 16:35:01 +02:00
parent 8fa6eb6523
commit a3257ff3cb
4 changed files with 382 additions and 0 deletions

11
utils/Makefile Normal file
View File

@@ -0,0 +1,11 @@
all: emb2redis
hiredis/libhiredis.a:
@echo "Please, enter the hiredis directory and build it."
@exit 1
emb2redis: emb2redis.c hiredis/libhiredis.a
$(CC) emb2redis.c ../gguflib.c ../sds.c ../fp16.c hiredis/libhiredis.a -o emb2redis -O2 -Wall -W
clean:
rm -f emb2redis