build_from_source.md 1.09 KB
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Build from Source

## Download

```shell
git clone -b main git@github.com:open-mmlab/mmdeploy.git --recursive
```

Note:

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

  ```shell
  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

  cd ..
  git clone git@github.com:gabime/spdlog.git spdlog
  cd spdlog
  git checkout 9e8e52c048
  ```

- If it fails when `git clone` via `SSH`, you can try the `HTTPS` protocol like this:

  ```shell
  git clone -b main 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.

- [Linux-x86_64](linux-x86_64.md)
- [Windows](windows.md)
- [MacOS](macos-arm64.md)
- [Android-aarch64](android.md)
- [NVIDIA Jetson](jetsons.md)
- [SNPE](snpe.md)
- [RISC-V](riscv.md)
- [Rockchip](rockchip.md)