Skip to content

Commit

Permalink
refactor: update rknn-toolkt2 to v2.0.0-beta0
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Jun 14, 2024
1 parent 5070a3a commit a880fec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "rknn-toolkit2"]
path = rknn-toolkit2
url = https://github.com/rockchip-linux/rknn-toolkit2.git
url = https://github.com/airockchip/rknn-toolkit2.git
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
MANDIR ?= $(PREFIX)/share/man
VERSION := 1.6.0
VERSION := 2.0.0b0

.PHONY: all
all: build
Expand Down Expand Up @@ -32,7 +32,7 @@ $(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)-cp39-cp39-linux_aarch64.whl
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
Expand Down
2 changes: 1 addition & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get full-upgrade --no-install-recommends -y \
build-essential crossbuild-essential-arm64 git \
debhelper devscripts lintian dh-exec \
debhelper devscripts lintian dh-exec sudo \
libc6:arm64 libstdc++6:arm64 \
python-wheel-common python3-pkg-resources python3-distutils python3-setuptools patchelf:arm64 && \
adduser --gecos runner --disabled-password runner && \
Expand Down
2 changes: 1 addition & 1 deletion debian/python3-rknnlite2-example.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/dh-exec

rknn-toolkit2/rknn_toolkit_lite2/examples/* /usr/share/python3-rknnlite2
rknn-toolkit2/rknn-toolkit-lite2/examples/* /usr/share/python3-rknnlite2
2 changes: 1 addition & 1 deletion rknn-toolkit2
Submodule rknn-toolkit2 updated 323 files

0 comments on commit a880fec

Please sign in to comment.