mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* check in initial version of linux build documents * update en/build/linux.md * remove line break * update build doc * check in build documents in Chinese * reorg chapter * update build documents for windows platform * update zh_cn/windows.md * simplify build commands * update build docs * update build.md * update * reorg the chapters * refine words * correct the commands for windows build * correct build commands for windows * Trim Trailing Whitespace * use prebuilt cmake instead of building it from source * move <br> bewtween <pre><code> and </code></pre> cuz it isn't rendered correctly in github * add build chapter about torchscript * rebase master and update android * fix lint * correct the command of building ppl.cv
41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
# Build MMDeploy
|
|
|
|
## Download MMDeploy
|
|
|
|
|
|
```bash
|
|
git clone -b master git@github.com:open-mmlab/mmdeploy.git MMDeploy
|
|
cd MMDeploy
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
Note:
|
|
|
|
- If fetching submodule fails, you could get submodule manually by following instructions:
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
git clone -b master https://github.com/open-mmlab/mmdeploy.git MMDeploy
|
|
cd MMDeploy
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
## Build MMDeploy
|
|
Please visit the following links to find out how to build MMDeploy according to the target platform.
|
|
- [Linux-x86_64](build/linux.md)
|
|
- [Windows](build/windows.md)
|
|
- [Android-aarch64](build/android.md)
|
|
- [NVIDIA Jetson](tutorials/how_to_install_mmdeploy_on_jetsons.md)
|