提交 18b5f852 编写于 作者: T TianXiaogang 提交者: Xiaoyang LI

fix fpga build shell and publish dir name (#2046)

* fix: fix build_fpga.sh WITH_TEST=OFF
     add build_fpga publish_inference fpga dir

* fix: fix build_fpga.sh WITH_TEST=OFF
     add build_fpga publish_inference fpga dir
     test=develop
上级 1b1d7a83
...@@ -56,6 +56,9 @@ if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM) ...@@ -56,6 +56,9 @@ if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM)
if (LITE_WITH_NPU) if (LITE_WITH_NPU)
set(INFER_LITE_PUBLISH_ROOT "${INFER_LITE_PUBLISH_ROOT}.npu") set(INFER_LITE_PUBLISH_ROOT "${INFER_LITE_PUBLISH_ROOT}.npu")
endif(LITE_WITH_NPU) endif(LITE_WITH_NPU)
if (LITE_WITH_FPGA)
set(INFER_LITE_PUBLISH_ROOT "${INFER_LITE_PUBLISH_ROOT}.fpga")
endif(LITE_WITH_NPU)
message(STATUS "publish inference lib to ${INFER_LITE_PUBLISH_ROOT}") message(STATUS "publish inference lib to ${INFER_LITE_PUBLISH_ROOT}")
# The final target for publish lite lib # The final target for publish lite lib
......
...@@ -18,7 +18,7 @@ cmake .. \ ...@@ -18,7 +18,7 @@ cmake .. \
-DLITE_WITH_FPGA=ON \ -DLITE_WITH_FPGA=ON \
-DLITE_WITH_OPENMP=ON \ -DLITE_WITH_OPENMP=ON \
-DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=ON \ -DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=ON \
-DWITH_TESTING=ON \ -DWITH_TESTING=OFF \
-DARM_TARGET_OS=armlinux -DARM_TARGET_OS=armlinux
make -j8 make -j8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册