Skip to content

Distribute and run LLMs with a single file.

Upgrade to cosmocc 3.2

Justine Tunneyce4aac65899f
diff --git a/build/config.mk b/build/config.mk
index 40981a21..a0d3ee89 100644
--- a/build/config.mk
+++ b/build/config.mk
@@ -2,7 +2,7 @@
#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘
PREFIX = /usr/local
-COSMOCC = cosmocc/3.1.3
+COSMOCC = cosmocc/3.2
TOOLCHAIN = $(COSMOCC)/bin/cosmo
AR = $(TOOLCHAIN)ar
@@ -50,5 +50,5 @@ clean:; rm -rf o
.PHONY: distclean
distclean:; rm -rf o cosmocc
-cosmocc/3.1.3:
- build/download-cosmocc.sh $@ 3.1.3 7470f05ef28f1941eb655c0359de08118023ba75767c2c47b398569a16397504
+cosmocc/3.2:
+ build/download-cosmocc.sh $@ 3.2 28b48682595f0f46b45ab381118cdffdabc8fcfa29aa54e301fe6ffe35269f5e
diff --git a/llama.cpp/common.h b/llama.cpp/common.h
index 29bb2a13..fd27d8cc 100644
--- a/llama.cpp/common.h
+++ b/llama.cpp/common.h
@@ -31,7 +31,7 @@
#define die_fmt(fmt, ...) do { fprintf(stderr, "error: " fmt "\n", __VA_ARGS__); exit(1); } while (0)
#define print_build_info() do { \
- LOG("%s: llamafile version " LLAMAFILE_VERSION_STRING "\n", __func__, LLAMA_BUILD_NUMBER, LLAMA_COMMIT); \
+ tinylog(__func__, ": llamafile version " LLAMAFILE_VERSION_STRING "\n", NULL); \
} while(0)
// build info