22BUILD_TARGETS = main quantize quantize-stats perplexity embedding vdot train-text-from-scratch convert-llama2c-to-ggml simple server embd-input-test gguf llama-bench
33
44# Binaries only useful for tests
5- TEST_TARGETS = tests/test-llama-grammar tests/test-grammar-parser tests/test-double-float tests/test-grad0 tests/test-opt tests/test-quantize-fns tests/test-quantize-perf tests/test-sampling tests/test-tokenizer-0
5+ TEST_TARGETS = tests/test-llama-grammar tests/test-grammar-parser tests/test-double-float tests/test-grad0 tests/test-opt tests/test-quantize-fns tests/test-quantize-perf tests/test-sampling tests/test-tokenizer-0-llama tests/test-tokenizer-0-falcon tests/test-tokenizer-1
66
77default : $(BUILD_TARGETS )
88
@@ -442,10 +442,10 @@ benchmark-matmult: examples/benchmark/benchmark-matmult.cpp build-info.h ggml.o
442442vdot : pocs/vdot/vdot.cpp ggml.o $(OBJS )
443443 $(CXX ) $(CXXFLAGS ) $^ -o $@ $(LDFLAGS )
444444
445- tests/test-llama-grammar : tests/test-llama-grammar.cpp build-info.h ggml.o llama .o common .o $(OBJS )
445+ tests/test-llama-grammar : tests/test-llama-grammar.cpp build-info.h ggml.o common .o grammar-parser .o $(OBJS )
446446 $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
447447
448- tests/test-grammar-parser : tests/test-grammar-parser.cpp build-info.h ggml.o llama.o common.o $(OBJS )
448+ tests/test-grammar-parser : tests/test-grammar-parser.cpp build-info.h ggml.o llama.o common.o grammar-parser.o $(OBJS )
449449 $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
450450
451451tests/test-double-float : tests/test-double-float.cpp build-info.h ggml.o llama.o common.o $(OBJS )
@@ -466,5 +466,11 @@ tests/test-quantize-perf: tests/test-quantize-perf.cpp build-info.h ggml.o llama
466466tests/test-sampling : tests/test-sampling.cpp build-info.h ggml.o llama.o common.o $(OBJS )
467467 $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
468468
469- tests/test-tokenizer-0 : tests/test-tokenizer-0.cpp build-info.h ggml.o llama.o common.o $(OBJS )
469+ tests/test-tokenizer-0-falcon : tests/test-tokenizer-0-falcon.cpp build-info.h ggml.o llama.o common.o $(OBJS )
470+ $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
471+
472+ tests/test-tokenizer-0-llama : tests/test-tokenizer-0-llama.cpp build-info.h ggml.o llama.o common.o $(OBJS )
473+ $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
474+
475+ tests/test-tokenizer-1 : tests/test-tokenizer-1.cpp build-info.h ggml.o llama.o common.o $(OBJS )
470476 $(CXX ) $(CXXFLAGS ) $(filter-out % .txt,$^ ) -o $@ $(LDFLAGS )
0 commit comments