diff --git a/lite/CMakeLists.txt b/lite/CMakeLists.txt index f88043a41b366bceb82a5578723d9f26ea193c26..8440089213492e4e038edf3f25ebb6aba7516513 100644 --- a/lite/CMakeLists.txt +++ b/lite/CMakeLists.txt @@ -56,6 +56,9 @@ if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM) if (LITE_WITH_NPU) set(INFER_LITE_PUBLISH_ROOT "${INFER_LITE_PUBLISH_ROOT}.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}") # The final target for publish lite lib diff --git a/lite/tools/build_fpga.sh b/lite/tools/build_fpga.sh index 75d31bc9bd9169b447824bc31dbd0d355b5c3e7c..f8c186e92fc3ba23e5e09b6a139202d028e58fc6 100755 --- a/lite/tools/build_fpga.sh +++ b/lite/tools/build_fpga.sh @@ -18,7 +18,7 @@ cmake .. \ -DLITE_WITH_FPGA=ON \ -DLITE_WITH_OPENMP=ON \ -DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=ON \ - -DWITH_TESTING=ON \ + -DWITH_TESTING=OFF \ -DARM_TARGET_OS=armlinux make -j8