From ad2740ff5c61915faddf42a4cece9138e51bf357 Mon Sep 17 00:00:00 2001 From: ZHANG Yuntian Date: Mon, 25 Nov 2024 17:14:10 +0800 Subject: [PATCH] fix: rename broken filename https://peps.python.org/pep-0427/#file-name-convention Signed-off-by: ZHANG Yuntian --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b431b3..7b02d19 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,11 @@ $(SRC-DOC): $(SRC-DOC)/SOURCE: $(SRC-DOC) echo -e "git clone $(shell git remote get-url origin)\ngit checkout $(shell git rev-parse HEAD)" > "$@" -rknnlite2: rknn-toolkit2/rknn-toolkit-lite2/packages/rknn_toolkit_lite2-$(VERSION)-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl +rknn-toolkit2/rknn-toolkit-lite2/packages/rknn_toolkit_lite2-$(VERSION)-cp311-cp311-linux_aarch64.whl: + FILE=rknn-toolkit2/rknn-toolkit-lite2/packages/rknn_toolkit_lite2-$(VERSION)-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl && \ + if [ -f $$FILE ]; then cp "$$FILE" "$@"; fi + +rknnlite2: rknn-toolkit2/rknn-toolkit-lite2/packages/rknn_toolkit_lite2-$(VERSION)-cp311-cp311-linux_aarch64.whl wheel unpack -d "$@" "$<" RKNNLITE2 := rknnlite2/rknn_toolkit_lite2-$(VERSION)/rknnlite