mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
[Fix] turn -DMMDEPLOY_SHARED_LIBS=ON when building rknn (#1786)
* turn -DMMDEPLOY_SHARED_LIBS=ON when building rknn * fix rknpu2
This commit is contained in:
parent
d0f8be63f3
commit
4ce69dc1c7
@ -102,7 +102,8 @@ build_mmdeploy_with_rknpu() {
|
||||
-DMMDEPLOY_BUILD_EXAMPLES=ON \
|
||||
-DMMDEPLOY_TARGET_BACKENDS="rknn" \
|
||||
-DRKNPU_DEVICE_DIR="${RKNPU_DIR}"/rknn/rknn_api/librknn_api \
|
||||
-DOpenCV_DIR="${OPENCV_PACKAGE_DIR}"
|
||||
-DOpenCV_DIR="${OPENCV_PACKAGE_DIR}" \
|
||||
-DMMDEPLOY_SHARED_LIBS=ON
|
||||
|
||||
good_nproc
|
||||
jobs=$?
|
||||
@ -127,7 +128,8 @@ build_mmdeploy_with_rknpu2() {
|
||||
-DMMDEPLOY_BUILD_EXAMPLES=ON \
|
||||
-DMMDEPLOY_TARGET_BACKENDS="rknn" \
|
||||
-DRKNPU2_DEVICE_DIR="${RKNPU2_DIR}/runtime/${device_model}" \
|
||||
-DOpenCV_DIR="${OPENCV_PACKAGE_DIR}"
|
||||
-DOpenCV_DIR="${OPENCV_PACKAGE_DIR}" \
|
||||
-DMMDEPLOY_SHARED_LIBS=ON
|
||||
|
||||
good_nproc
|
||||
jobs=$?
|
||||
|
Loading…
x
Reference in New Issue
Block a user