Skip to content

Commit 48e5699

Browse files
try Zig fix
1 parent 2664999 commit 48e5699

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ pub fn build(b: *std.build.Builder) !void {
124124
const console = make.obj("console", "common/console.cpp");
125125
const sampling = make.obj("sampling", "common/sampling.cpp");
126126
const grammar_parser = make.obj("grammar-parser", "common/grammar-parser.cpp");
127+
const ngram_cache = make.obj("ngram-cache", "common/ngram-cache.cpp");
127128
const json_schema_to_grammar = make.obj("json-schema-to-grammar", "common/json-schema-to-grammar.cpp");
128129
const train = make.obj("train", "common/train.cpp");
129130
const clip = make.obj("clip", "examples/llava/clip.cpp");
@@ -136,7 +137,7 @@ pub fn build(b: *std.build.Builder) !void {
136137
_ = make.exe("finetune", "examples/finetune/finetune.cpp", &.{ ggml, sgemm, ggml_alloc, ggml_backend, ggml_quants, llama, unicode, unicode_data, common, json_schema_to_grammar, buildinfo, train });
137138
_ = make.exe("train-text-from-scratch", "examples/train-text-from-scratch/train-text-from-scratch.cpp", &.{ ggml, sgemm, ggml_alloc, ggml_backend, ggml_quants, llama, unicode, unicode_data, common, json_schema_to_grammar, buildinfo, train });
138139

139-
const server = make.exe("server", "examples/server/server.cpp", &.{ ggml, sgemm, ggml_alloc, ggml_backend, ggml_quants, llama, unicode, unicode_data, common, json_schema_to_grammar, buildinfo, sampling, grammar_parser, clip, llava });
140+
const server = make.exe("server", "examples/server/server.cpp", &.{ ggml, sgemm, ggml_alloc, ggml_backend, ggml_quants, llama, unicode, unicode_data, common, json_schema_to_grammar, buildinfo, sampling, grammar_parser, ngram_cache, clip, llava });
140141
if (server.target.isWindows()) {
141142
server.linkSystemLibrary("ws2_32");
142143
}

0 commit comments

Comments
 (0)