Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Make it easier to override CPPFLAGS
Justine Tunney9579b73c3e05
diff --git a/build/config.mk b/build/config.mkindex c59fffb6..40981a21 100644--- a/build/config.mk+++ b/build/config.mk@@ -14,8 +14,8 @@ INSTALL = installARFLAGS = rcsDCCFLAGS = -g -O3+CPPFLAGS_ = -iquote. -mcosmoTARGET_ARCH = -Xx86_64-mssse3-CPPFLAGS += -iquote. -mcosmoTMPDIR = o//tmpIGNORE := $(shell mkdir -p $(TMPDIR))diff --git a/build/rules.mk b/build/rules.mkindex 50e57caf..4ddfc212 100644--- a/build/rules.mk+++ b/build/rules.mk@@ -2,8 +2,8 @@#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘LINK.o = $(CXX) $(CCFLAGS) $(LDFLAGS)-COMPILE.c = $(CC) $(CCFLAGS) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c-COMPILE.cc = $(CXX) $(CCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c+COMPILE.c = $(CC) $(CCFLAGS) $(CFLAGS) $(CPPFLAGS_) $(CPPFLAGS) $(TARGET_ARCH) -c+COMPILE.cc = $(CXX) $(CCFLAGS) $(CXXFLAGS) $(CPPFLAGS_) $(CPPFLAGS) $(TARGET_ARCH) -co/$(MODE)/%.a:$(AR) $(ARFLAGS) $@ $^