mmdeploy/docs/en/01-how-to-build/build_from_source.md
Chen Xin c04dcd2c62
Support risc-v platform (#910)
* add ppl.nn riscv engine

* update ppl.nn riscv engine

* udpate riscv service (ncnn backend)

* update _build_wrapper for ncnn

* fix build

* fix lint

* update default uri

* update file structure & add cn doc

* remove copy input data

* update docs

* remove ncnn server

* fix docs

* update zh doc

* update toolchain

* remove unused

* update doc

* update doc

* update doc

* rename cross build dirname

* add riscv.md to build_from_source.md

* update cls model

* test ci

* test ci

* test ci

* test ci

* test ci

* update ci

* update ci
2022-08-26 13:54:40 +08:00

970 B

Build from Source

Download

git clone -b master git@github.com:open-mmlab/mmdeploy.git --recursive

Note:

  • If fetching submodule fails, you could get submodule manually by following instructions:

    cd mmdeploy
    git clone git@github.com:NVIDIA/cub.git third_party/cub
    cd third_party/cub
    git checkout c3cceac115
    
    # go back to third_party directory and git clone pybind11
    cd ..
    git clone git@github.com:pybind/pybind11.git pybind11
    cd pybind11
    git checkout 70a58c5
    
  • If it fails when git clone via SSH, you can try the HTTPS protocol like this:

    git clone -b master https://github.com/open-mmlab/mmdeploy.git --recursive
    

Build

Please visit the following links to find out how to build MMDeploy according to the target platform.