chore: update gitattributes (#8860)

* chore: update gitattributes
* chore: add build info source
This commit is contained in:
Michael Yang
2025-02-05 16:37:18 -08:00
committed by GitHub
parent 451c1596af
commit 5b446cc815
6 changed files with 15 additions and 80 deletions

View File

@@ -15,7 +15,11 @@ help:
@echo " make -f $(lastword $(MAKEFILE_LIST)) clean sync"
.PHONY: sync
sync: llama/llama.cpp ml/backend/ggml/ggml apply-patches
sync: llama/build-info.cpp llama/llama.cpp ml/backend/ggml/ggml apply-patches
.PHONY: llama/build-info.cpp
llama/build-info.cpp: llama/build-info.cpp.in
sed -e 's|@FETCH_HEAD@|$(FETCH_HEAD)|' $< > $@
.PHONY: llama/llama.cpp
llama/llama.cpp: llama/vendor/ apply-patches