Skip to content

Commit 76eefa5

Browse files
committed
Adding step to clean target to remove legacy binary names to reduce upgrade / migration confusion arising from #7809.
1 parent 07a3fc0 commit 76eefa5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ TEST_TARGETS = \
6262
tests/test-tokenizer-1-bpe \
6363
tests/test-tokenizer-1-spm
6464

65+
# Legacy build targets that were renamed in #7809, but should still be removed when the project is cleaned
66+
LEGACY_TARGETS = main quantize quantize-stats perplexity imatrix embedding vdot q8dot train-text-from-scratch convert-llama2c-to-ggml \
67+
simple batched batched-bench save-load-state server gguf gguf-split eval-callback llama-bench libllava.a llava-cli baby-llama \
68+
retrieval speculative infill tokenize benchmark-matmult parallel finetune export-lora lookahead lookup passkey gritlm
69+
6570
# Deprecation aliases
6671
ifdef LLAMA_CUBLAS
6772
$(error LLAMA_CUBLAS is removed. Use GGML_CUDA instead.)
@@ -1086,6 +1091,7 @@ clean:
10861091
rm -vrf ggml/src/ggml-cuda/template-instances/*.o
10871092
rm -rvf $(BUILD_TARGETS)
10881093
rm -rvf $(TEST_TARGETS)
1094+
rm -rvf $(LEGACY_TARGETS)
10891095
find examples pocs -type f -name "*.o" -delete
10901096

10911097
#

0 commit comments

Comments
 (0)