@@ -8,7 +8,7 @@ BUILD_TARGETS = \
8
8
TEST_TARGETS = \
9
9
tests/test-llama-grammar tests/test-grammar-parser tests/test-double-float tests/test-grad0 tests/test-opt \
10
10
tests/test-quantize-fns tests/test-quantize-perf tests/test-sampling tests/test-tokenizer-0-llama \
11
- tests/test-tokenizer-0-falcon tests/test-tokenizer-1-llama tests/test-tokenizer-1-bpe
11
+ tests/test-tokenizer-0-falcon tests/test-tokenizer-1-llama tests/test-tokenizer-1-bpe tests/test-rope
12
12
13
13
# Code coverage output files
14
14
COV_TARGETS = *.gcno tests/*.gcno *.gcda tests/*.gcda *.gcov tests/*.gcov lcov-report gcovr-report
@@ -648,7 +648,7 @@ beam-search: examples/beam-search/beam-search.cpp ggml.o llama.o $(COMMON_DEPS)
648
648
finetune : examples/finetune/finetune.cpp ggml.o llama.o $(COMMON_DEPS ) train.o $(OBJS )
649
649
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
650
650
651
- export-lora : examples/export-lora/export-lora.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
651
+ export-lora : examples/export-lora/export-lora.cpp ggml.o common/common.h $(OBJS )
652
652
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
653
653
654
654
speculative : examples/speculative/speculative.cpp ggml.o llama.o $(COMMON_DEPS ) grammar-parser.o $(OBJS )
@@ -701,28 +701,28 @@ vdot: pocs/vdot/vdot.cpp ggml.o $(OBJS)
701
701
q8dot : pocs/vdot/q8dot.cpp ggml.o $(OBJS )
702
702
$(CXX ) $(CXXFLAGS ) $^ -o $@ $(LDFLAGS )
703
703
704
- tests/test-llama-grammar : tests/test-llama-grammar.cpp ggml.o $( COMMON_DEPS ) grammar-parser.o $(OBJS )
704
+ tests/test-llama-grammar : tests/test-llama-grammar.cpp ggml.o grammar-parser.o $(OBJS )
705
705
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
706
706
707
- tests/test-grammar-parser : tests/test-grammar-parser.cpp ggml.o llama.o $( COMMON_DEPS ) grammar-parser.o $(OBJS )
707
+ tests/test-grammar-parser : tests/test-grammar-parser.cpp ggml.o llama.o grammar-parser.o $(OBJS )
708
708
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
709
709
710
- tests/test-double-float : tests/test-double-float.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
710
+ tests/test-double-float : tests/test-double-float.cpp ggml.o $(OBJS )
711
711
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
712
712
713
- tests/test-grad0 : tests/test-grad0.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
713
+ tests/test-grad0 : tests/test-grad0.cpp ggml.o $(OBJS )
714
714
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
715
715
716
- tests/test-opt : tests/test-opt.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
716
+ tests/test-opt : tests/test-opt.cpp ggml.o $(OBJS )
717
717
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
718
718
719
- tests/test-quantize-fns : tests/test-quantize-fns.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
719
+ tests/test-quantize-fns : tests/test-quantize-fns.cpp ggml.o $(OBJS )
720
720
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
721
721
722
- tests/test-quantize-perf : tests/test-quantize-perf.cpp ggml.o llama.o $( COMMON_DEPS ) $(OBJS )
722
+ tests/test-quantize-perf : tests/test-quantize-perf.cpp ggml.o $(OBJS )
723
723
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
724
724
725
- tests/test-sampling : tests/test-sampling.cpp ggml.o llama.o $(COMMON_DEPS ) $( OBJS )
725
+ tests/test-sampling : tests/test-sampling.cpp ggml.o llama.o $(OBJS )
726
726
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
727
727
728
728
tests/test-tokenizer-0-falcon : tests/test-tokenizer-0-falcon.cpp ggml.o llama.o $(COMMON_DEPS ) $(OBJS )
@@ -737,5 +737,8 @@ tests/test-tokenizer-1-bpe: tests/test-tokenizer-1-bpe.cpp ggml.o llama.o $(COMM
737
737
tests/test-tokenizer-1-llama : tests/test-tokenizer-1-llama.cpp ggml.o llama.o $(COMMON_DEPS ) $(OBJS )
738
738
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
739
739
740
+ tests/test-rope : tests/test-rope.cpp ggml.o $(OBJS )
741
+ $(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
742
+
740
743
tests/test-c.o : tests/test-c.c llama.h
741
744
$(CC ) $(CFLAGS ) -c $(filter-out % .h,$^ ) -o $@
0 commit comments