Paddle-Lite
Paddle-Lite copied to clipboard
没有规则可制作目标“publish_inference”,文件缺失
在虚拟机(ubuntu)上编译,运行./lite/tools/build_linux.sh --with_python=ON --with_extra=ON --with_cv=ON后
Warning: build full_publish to use python.
/home/wysl/cmake-3.20.0-rc4/paddle-lite
-- Found Paddle host system: ubuntu, version: 22.04.2
-- Found Paddle host system's CPU: 2 cores
-- CMAKE_CXX_FLAGS:
-- CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG
-- armlinux CMAKE_C_COMPILER: /usr/bin/gcc
-- armlinux CMAKE_CXX_COMPILER: /usr/bin/g++
-- Found host C compiler: /usr/bin/gcc
-- Found host CXX compiler: /usr/bin/g++
-- Lite ARM Compile armlinux with armv8 gcc
-- CXX compiler: /usr/bin/c++, version: GNU 11.3.0
-- C compiler: /usr/bin/cc, version: GNU 11.3.0
-- AR tools: /usr/bin/ar
-- CMAKE GENERATOR: Unix Makefiles
-- CMAKE_BUILD_TYPE: Release
-- Building the mobile framework
-- NEON is enabled on arm64-v8a
-- ANDROID_NDK_MAJOR:
-- Found OpenMP
-- OpenMP C flags: -fopenmp
-- OpenMP CXX flags: -fopenmp
-- OpenMP EXE LINKER flags:
-- OpenMP OpenMP_CXX_LIB_NAMES: omp
-- OpenMP OpenMP_CXX_LIBRARIES: omp
-- CMAKE_CXX_FLAGS: -march=armv8-a -msse3 -fPIC -std=c++11 -fexceptions -fasynchronous-unwind-tables -funwind-tables -fexceptions -fasynchronous-unwind-tables -funwind-tables -fopenmp
-- CMAKE_C_FLAGS: -march=armv8-a -msse3 -fPIC -fopenmp
-- Protobuf protoc executable: /home/wysl/cmake-3.20.0-rc4/paddle-lite/third_party/install/protobuf_host/bin/protoc
-- Protobuf-lite library: /home/wysl/cmake-3.20.0-rc4/paddle-lite/third_party/install/protobuf/lib/libprotobuf-lite.a
-- Protobuf library: /home/wysl/cmake-3.20.0-rc4/paddle-lite/third_party/install/protobuf/lib/libprotobuf.a
-- Protoc library: /home/wysl/cmake-3.20.0-rc4/paddle-lite/third_party/install/protobuf/lib/libprotoc.a
-- Protobuf version: 3.3.0
-- LITE_WITH_X86:
-- LITE_WITH_ARM: ON
-- LITE_WITH_SW: OFF
-- LITE_WITH_OPENCL: OFF
-- LITE_WITH_METAL: OFF
-- LITE_WITH_XPU: OFF
-- LITE_WITH_NNADAPTER: OFF
-- LITE_WITH_PROFILE: OFF
-- LITE_WITH_CV: ON
-- generating arm dotprod code
input file: /home/wysl/cmake-3.20.0-rc4/paddle-lite/lite/backends/arm/math/dotprod/gemm_sdot_meta.h
output file: /home/wysl/cmake-3.20.0-rc4/paddle-lite/lite/backends/arm/math/dotprod/gemm_sdot.h
input file: /home/wysl/cmake-3.20.0-rc4/paddle-lite/lite/backends/arm/math/dotprod/gemm_vsdot_meta.h
output file: /home/wysl/cmake-3.20.0-rc4/paddle-lite/lite/backends/arm/math/dotprod/gemm_vsdot.h
-- add lite kernels
-- compile with lite host kernels
-- compile with lite ARM kernels
-- compile with lite Metal kernels
fatal: 没有标签准确匹配 'eb5d7925fb9602efb5d79c790b39a2e66b7b686f'
-- tag:
-- branch: develop
-- commit: eb5d7925f
-- bundled_tgt_full_name: /home/wysl/cmake-3.20.0-rc4/paddle-lite/libpaddle_api_full_bundled.a
-- bundled_tgt_full_name: /home/wysl/cmake-3.20.0-rc4/paddle-lite/libpaddle_api_light_bundled.a
fatal: 没有标签准确匹配 'eb5d7925fb9602efb5d79c790b39a2e66b7b686f'
-- publish inference lib to /home/wysl/cmake-3.20.0-rc4/paddle-lite/inference_lite_lib.armlinux.armv8
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wysl/cmake-3.20.0-rc4/paddle-lite
make: *** 没有规则可制作目标“publish_inference”。 停止。
请参考文档配置编译环境 https://www.paddlepaddle.org.cn/lite/v2.12/source_compile/compile_env.html
建议直接下载我们已经发布的预编译库:https://www.paddlepaddle.org.cn/lite/v2.12/quick_start/release_lib.html
也可以使用我们文档提供的预编译 demo : https://www.paddlepaddle.org.cn/lite/v2.12/demo_guides/arm_cpu.html
[ 12%] Built target ops make[1]: *** [CMakeFiles/Makefile2:1403:lite/CMakeFiles/publish_inference.dir/rule] 错误 2 make: *** [Makefile:345:publish_inference] 错误 2
这个怎么说,大佬
Leik . zo @.***
------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle-Lite" @.>; 发送时间: 2023年3月27日(星期一) 中午1:59 @.>; 抄送: "Leik . @.@.>; 主题: Re: [PaddlePaddle/Paddle-Lite] 没有规则可制作目标“publish_inference”,文件缺失 (Issue #10136)
请参考文档配置编译环境 https://www.paddlepaddle.org.cn/lite/v2.12/source_compile/compile_env.html
建议直接下载我们已经发布的预编译库:https://www.paddlepaddle.org.cn/lite/v2.12/quick_start/release_lib.html
也可以使用我们文档提供的预编译 demo : https://www.paddlepaddle.org.cn/lite/v2.12/demo_guides/arm_cpu.html
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
+1