mirror of
https://gitee.com/bianbu-linux/ai-support
synced 2025-04-18 19:34:51 -04:00
Update for v1.0.7
This commit is contained in:
parent
adf80d91df
commit
fd982c2866
9 changed files with 24 additions and 14 deletions
|
@ -3,9 +3,6 @@ graft include
|
|||
graft python
|
||||
graft src
|
||||
graft tests
|
||||
recursive-include pybind11/include/pybind11 *.h
|
||||
recursive-include pybind11 *.py
|
||||
recursive-include pybind11 py.typed
|
||||
recursive-include pybind11 *.pyi
|
||||
include pybind11/share/cmake/pybind11/*.cmake
|
||||
graft pybind11
|
||||
include CMakeLists.txt
|
||||
include VERSION_NUMBER
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.0.15
|
||||
1.0.16
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -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-ci ]
|
||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -9,7 +9,12 @@
|
|||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
if [ -f setup.py ]; then rm setup.py; fi
|
||||
dh_auto_configure -- -DORT_HOME=/usr -DDEMO=ON -DXDG=ON
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf setup.py
|
||||
dh_auto_clean
|
||||
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
||||
|
|
|
@ -17,13 +17,13 @@ function config_native() {
|
|||
|
||||
function config_x86_riscv64() {
|
||||
# Note: update the following settings if necessary
|
||||
_NAME=cuspace
|
||||
_NAME=spine
|
||||
SDK=$(dirname $(which ${_NAME}))
|
||||
|
||||
CROSS_TOOL=$SDK/spacemit-gcc/bin/riscv64-unknown-linux-gnu-
|
||||
SYSROOT=$SDK/spacemit-gcc/sysroot
|
||||
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
|
||||
QEMU_CMD="$SDK/spacemit-qemu/bin/qemu-riscv64 -L $SYSROOT"
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ cmake --install . --config Release --verbose --component pybind11 # --strip
|
|||
```shell
|
||||
export ORT_HOME=${PATH_TO_ONNXRUNTIME}
|
||||
export OPENCV_DIR=${PATH_TO_OPENCV_CMAKE_DIR}
|
||||
python python/setup.py sdist bdist_wheel
|
||||
python setup.py sdist bdist_wheel
|
||||
```
|
||||
|
||||
## smoke unittest
|
||||
|
@ -45,4 +45,4 @@ sudo apt install python3-opencv
|
|||
ln -sf ../rootfs/usr/share/ai-support data
|
||||
cp ../tests/python/test_python_task.py .
|
||||
python3 test_python_task.py
|
||||
```
|
||||
```
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
#Encoding=UTF-8
|
||||
Version=1.0.15
|
||||
Version=1.0.16
|
||||
Name=object-detection
|
||||
Name[en]=object-detection
|
||||
Name[zh_CN]=目标检测
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
#Encoding=UTF-8
|
||||
Version=1.0.15
|
||||
Version=1.0.16
|
||||
Name=pose-tracker
|
||||
Name[en]=pose-tracker
|
||||
Name[zh_CN]=姿态追踪
|
||||
|
|
|
@ -12,7 +12,7 @@ from setuptools.command.build_ext import build_ext
|
|||
package_name = "bianbuai"
|
||||
|
||||
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
|
||||
PLAT_TO_CMAKE = {
|
||||
|
@ -169,13 +169,14 @@ classifiers = [
|
|||
'Topic :: Software Development :: Libraries',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3 :: Only'
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
Loading…
Add table
Reference in a new issue