2022-03-28 13:45:08 +08:00
|
|
|
# Build MMDeploy
|
2022-01-25 15:11:50 +08:00
|
|
|
|
2022-03-28 13:45:08 +08:00
|
|
|
## Download MMDeploy
|
2021-10-09 14:10:42 +08:00
|
|
|
|
|
|
|
|
2022-03-28 13:45:08 +08:00
|
|
|
```bash
|
|
|
|
git clone -b master git@github.com:open-mmlab/mmdeploy.git MMDeploy
|
|
|
|
cd MMDeploy
|
|
|
|
git submodule update --init --recursive
|
|
|
|
```
|
2021-11-11 18:48:48 +08:00
|
|
|
|
2022-03-28 13:45:08 +08:00
|
|
|
Note:
|
2021-11-11 18:48:48 +08:00
|
|
|
|
|
|
|
- If fetching submodule fails, you could get submodule manually by following instructions:
|
2021-10-09 14:10:42 +08:00
|
|
|
|
2021-11-11 18:48:48 +08:00
|
|
|
```bash
|
|
|
|
git clone git@github.com:NVIDIA/cub.git third_party/cub
|
|
|
|
cd third_party/cub
|
|
|
|
git checkout c3cceac115
|
2021-12-07 10:57:55 +08:00
|
|
|
|
|
|
|
# go back to third_party directory and git clone pybind11
|
|
|
|
cd ..
|
|
|
|
git clone git@github.com:pybind/pybind11.git pybind11
|
2021-12-08 15:06:41 +08:00
|
|
|
cd pybind11
|
2021-12-07 10:57:55 +08:00
|
|
|
git checkout 70a58c5
|
2021-11-11 18:48:48 +08:00
|
|
|
```
|
2022-03-28 13:45:08 +08:00
|
|
|
- If it fails when `git clone` via `SSH`, you can try the `HTTPS` protocol like this:
|
2021-12-23 16:10:04 +08:00
|
|
|
|
|
|
|
```bash
|
2022-03-28 13:45:08 +08:00
|
|
|
git clone -b master https://github.com/open-mmlab/mmdeploy.git MMDeploy
|
|
|
|
cd MMDeploy
|
|
|
|
git submodule update --init --recursive
|
2021-12-23 16:10:04 +08:00
|
|
|
```
|
|
|
|
|
2022-03-28 13:45:08 +08:00
|
|
|
## 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)
|