chore: add rd build target and deepinfra api config with custom malloc tracking

This commit is contained in:
2025-03-28 20:38:50 +00:00
parent 7befee245d
commit 47aa1693ea
5 changed files with 59 additions and 3 deletions
+11 -2
View File
@@ -1,4 +1,4 @@
all: build build_free build_rpylib run_free
all: build build_rd build_free build_rpylib run_rd
# Variables for compiler and flags
CC = gcc
@@ -13,6 +13,12 @@ build_free:
$(CC) -DOLLAMA main.c $(CFLAGS) -o rf
publish rf
build_rd:
$(CC) -DRD main.c $(CFLAGS) -o rd
publish rd
build_rpylib:
$(CC) -shared -o rpylib.so -fPIC rpylib.c -lpython3.12 `python3-config --includes` -I/usr/include/CL -ljson-c -lcurl -lsqlite3
publish rpylib.so
@@ -21,4 +27,7 @@ run:
./r --verbose
run_free:
./rf --verbose
./rf --verbose
run_rd:
./rd --verbose