Skip to content

Latest commit

 

History

History
executable file
·
34 lines (19 loc) · 1.13 KB

compile_a311d.md

File metadata and controls

executable file
·
34 lines (19 loc) · 1.13 KB

compile-a311d

环境需求

编译

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

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

  2. 编译

    mkdir tengine
    cp -r <tengine-lite-root-dir>/3rdparty/tim-vx ./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