Skip to content

Latest commit

 

History

History
executable file
·
33 lines (18 loc) · 1.09 KB

compile_x86.md

File metadata and controls

executable file
·
33 lines (18 loc) · 1.09 KB

compile-x86

环境需求

编译

表示tengine项目根目录,表示TengineInferPipe项目根目录

  1. 参考tengine-linux编译生成Tengine的x86平台的动态库

  2. 编译TengineInferPipe 动态库

    mkdir tengine
    cp -r <tengine-lite-root-dir>/build/install/* ./tengine/
    mkdir bazel_build
    bazel --output_base=./bazel_build build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/object_detection:libdesktop_tengine_calculators.so
    

生成的库文件在 <inferpipe-root-dir>/bazel-bin/mediapipe/examples/desktop/object_detection目录下

头文件见<inferpipe-root-dir>/mediapipe/interface/inferpipe_tengine.h