Update way for compiling Huawei Ascend NPU deployment

This commit is contained in:
yunyaoXYY
2022-12-05 04:57:31 +00:00
parent 9d96aca306
commit 6cc4ea9777

View File

@@ -69,11 +69,10 @@ cd FastDeploy
mkdir build && cd build mkdir build && cd build
# CMake configuration with CANN # CMake configuration with CANN
cmake -DCMAKE_TOOLCHAIN_FILE=./../cmake/cann.cmake \ cmake -DWITH_CANN=ON \
-DENABLE_CANN=ON \
-DCMAKE_INSTALL_PREFIX=fastdeploy-cann \ -DCMAKE_INSTALL_PREFIX=fastdeploy-cann \
-DENABLE_VISION=ON \ # 是否编译集成视觉模型的部署模块,可选择开启 -DENABLE_VISION=ON \
-Wno-dev .. ..
# Build FastDeploy CANN C++ SDK # Build FastDeploy CANN C++ SDK
make -j8 make -j8