[Bug Fix] Update the errors left by the last pr (#975)

更新上一个pr中遗漏的bug
This commit is contained in:
Zheng_Bicheng
2022-12-27 09:32:40 +08:00
committed by GitHub
parent 22d91a73c6
commit 6078bd9657
2 changed files with 1 additions and 7 deletions

View File

@@ -10,12 +10,6 @@ download_and_decompress(${RKNPU2_URL} ${CMAKE_CURRENT_BINARY_DIR}/${RKNPU2_FILE}
# set path
set(RKNPU_RUNTIME_PATH ${THIRD_PARTY_PATH}/install/rknpu2_runtime)
#if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
#else ()
# message(FATAL_ERROR "[rknpu2.cmake] Only support build rknpu2 in Linux")
#endif ()
if (EXISTS ${RKNPU_RUNTIME_PATH})
set(RKNN_RT_LIB ${RKNPU_RUNTIME_PATH}/${RKNN2_TARGET_SOC}/lib/librknnrt.so)
include_directories(${RKNPU_RUNTIME_PATH}/${RKNN2_TARGET_SOC}/include)

View File

@@ -8,7 +8,7 @@
- 1. 软硬件环境满足要求,参考[FastDeploy环境要求](../../../../../docs/cn/build_and_install/download_prebuilt_libraries.md)
- 2. 根据开发环境下载预编译部署库和samples代码参考[FastDeploy预编译库](../../../../../docs/cn/build_and_install/download_prebuilt_libraries.md)
以Linux上CPU推理为例在本目录执行如下命令即可完成编译测试
以Linux上CPU推理为例在本目录执行如下命令即可完成编译测试支持此模型需保证FastDeploy版本0.7.0以上(x.x.x>=0.7.0)
```bash
# “如果预编译库不包含本模型请从最新代码编译SDK”