From a65a9c78e90079d0126a14cf961ce24ead660858 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Wed, 24 Jun 2026 14:00:04 +0200 Subject: build: vendor yyjson 0.12.0 as the core JSON library --- libffwd/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libffwd') diff --git a/libffwd/Makefile b/libffwd/Makefile index 0c831a6..b9349c3 100644 --- a/libffwd/Makefile +++ b/libffwd/Makefile @@ -14,6 +14,9 @@ SHARED_LDFLAGS += $(EXPORT_FLAGS) # Tokenizer, config, safetensors reader, and L2/cosine helpers: every backend. COMMON_SRCS := config.c vec.c tokenize.c bpe.c sentencepiece.c wordpiece.c safetensors.c +# Vendored JSON library, compiled into libffwd so config/tokenizer loading and +# every consumer (CLI, server) share one parser instead of hand-rolled scanners. +COMMON_SRCS += ../deps/yyjson/yyjson.c # CPU math kernels and SIMD dispatch. generic.c is always built; avx.c and # neon.c each guard their entire body by arch (__AVX2__ / __ARM_NEON), so the -- cgit v1.3.1