Initial API to create new GGUF files.

Also added a few libraries that will be needed soon.
The CLI was renamed with the final name of gguf-tools.
This commit is contained in:
antirez
2023-12-25 22:09:29 +01:00
parent 3eb30c1872
commit 53fb176b3b
8 changed files with 1865 additions and 50 deletions

View File

@@ -1,7 +1,8 @@
all: gguf-show
all: gguf-tools
gguf-show: gguf-show.c gguflib.c gguflib.h
$(CC) gguf-show.c gguflib.c -g -ggdb -Wall -W -pedantic -O2 -o gguf-show
gguf-tools: gguf-tools.c gguflib.c gguflib.h sds.c sds.h sdsalloc.h
$(CC) gguf-tools.c gguflib.c sds.c \
-g -ggdb -Wall -W -pedantic -O2 -o gguf-tools
clean:
rm -rf gguf-show
rm -rf gguf-tools