Update for v1.0.7

This commit is contained in:
James Deng 2024-07-11 14:56:36 +08:00
parent adf80d91df
commit fd982c2866
9 changed files with 24 additions and 14 deletions

View file

@ -3,9 +3,6 @@ graft include
graft python graft python
graft src graft src
graft tests graft tests
recursive-include pybind11/include/pybind11 *.h graft pybind11
recursive-include pybind11 *.py
recursive-include pybind11 py.typed
recursive-include pybind11 *.pyi
include pybind11/share/cmake/pybind11/*.cmake
include CMakeLists.txt include CMakeLists.txt
include VERSION_NUMBER

View file

@ -1 +1 @@
1.0.15 1.0.16

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
bianbu-ai-support (1.0.16) mantic-porting; urgency=medium
[ bianbu-ci ]
* Sync change from bianbu-23.10/1.0.16
-- qinhongjie <hongjie.qin@spacemit.com> Wed, 03 Jul 2024 09:13:40 +0800
bianbu-ai-support (1.0.15) mantic-porting; urgency=medium bianbu-ai-support (1.0.15) mantic-porting; urgency=medium
[ bianbu-ci ] [ bianbu-ci ]

5
debian/rules vendored
View file

@ -9,7 +9,12 @@
dh $@ dh $@
override_dh_auto_configure: override_dh_auto_configure:
if [ -f setup.py ]; then rm setup.py; fi
dh_auto_configure -- -DORT_HOME=/usr -DDEMO=ON -DXDG=ON dh_auto_configure -- -DORT_HOME=/usr -DDEMO=ON -DXDG=ON
override_dh_auto_clean:
rm -rf setup.py
dh_auto_clean
override_dh_shlibdeps: override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

View file

@ -17,13 +17,13 @@ function config_native() {
function config_x86_riscv64() { function config_x86_riscv64() {
# Note: update the following settings if necessary # Note: update the following settings if necessary
_NAME=cuspace _NAME=spine
SDK=$(dirname $(which ${_NAME})) SDK=$(dirname $(which ${_NAME}))
CROSS_TOOL=$SDK/spacemit-gcc/bin/riscv64-unknown-linux-gnu- CROSS_TOOL=$SDK/spacemit-gcc/bin/riscv64-unknown-linux-gnu-
SYSROOT=$SDK/spacemit-gcc/sysroot SYSROOT=$SDK/spacemit-gcc/sysroot
BIANBUAI_HOME=$SDK/bianbu-ai-support BIANBUAI_HOME=$SDK/bianbu-ai-support
ORT_HOME=$SDK/spacemit-ort # cuspace-ai ORT_HOME=$SDK/spacemit-ort
OPENCV_DIR=$SDK/bianbu-ai-support/lib/3rdparty/opencv4/lib/cmake/opencv4 OPENCV_DIR=$SDK/bianbu-ai-support/lib/3rdparty/opencv4/lib/cmake/opencv4
QEMU_CMD="$SDK/spacemit-qemu/bin/qemu-riscv64 -L $SYSROOT" QEMU_CMD="$SDK/spacemit-qemu/bin/qemu-riscv64 -L $SYSROOT"
} }

View file

@ -30,7 +30,7 @@ cmake --install . --config Release --verbose --component pybind11 # --strip
```shell ```shell
export ORT_HOME=${PATH_TO_ONNXRUNTIME} export ORT_HOME=${PATH_TO_ONNXRUNTIME}
export OPENCV_DIR=${PATH_TO_OPENCV_CMAKE_DIR} export OPENCV_DIR=${PATH_TO_OPENCV_CMAKE_DIR}
python python/setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
``` ```
## smoke unittest ## smoke unittest
@ -45,4 +45,4 @@ sudo apt install python3-opencv
ln -sf ../rootfs/usr/share/ai-support data ln -sf ../rootfs/usr/share/ai-support data
cp ../tests/python/test_python_task.py . cp ../tests/python/test_python_task.py .
python3 test_python_task.py python3 test_python_task.py
``` ```

View file

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
#Encoding=UTF-8 #Encoding=UTF-8
Version=1.0.15 Version=1.0.16
Name=object-detection Name=object-detection
Name[en]=object-detection Name[en]=object-detection
Name[zh_CN]= Name[zh_CN]=

View file

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
#Encoding=UTF-8 #Encoding=UTF-8
Version=1.0.15 Version=1.0.16
Name=pose-tracker Name=pose-tracker
Name[en]=pose-tracker Name[en]=pose-tracker
Name[zh_CN]=姿 Name[zh_CN]=姿

View file

@ -12,7 +12,7 @@ from setuptools.command.build_ext import build_ext
package_name = "bianbuai" package_name = "bianbuai"
SCRIPT_DIR = os.path.dirname(__file__) SCRIPT_DIR = os.path.dirname(__file__)
TOP_DIR = os.path.realpath(os.path.join(SCRIPT_DIR, "..")) TOP_DIR = os.path.realpath(SCRIPT_DIR) # os.path.join(SCRIPT_DIR, "..")
# Convert distutils Windows platform specifiers to CMake -A arguments # Convert distutils Windows platform specifiers to CMake -A arguments
PLAT_TO_CMAKE = { PLAT_TO_CMAKE = {
@ -169,13 +169,14 @@ classifiers = [
'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only' 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
] ]
if __name__ == "__main__": if __name__ == "__main__":