Checkout submodules with shallow depth (#1353)

* Make submodules shallow

* Updated README for the shallow checkout changes.
Este commit está contenido en:
corey-derochie-amd
2024-09-27 11:07:16 -06:00
cometido por GitHub
padre 06a0ddb3b4
commit 7231808c58
Se han modificado 2 ficheros con 5 adiciones y 4 borrados
+3 -4
Ver fichero
@@ -68,17 +68,16 @@ By default, RCCL builds for all GPU targets defined in `DEFAULT_GPUS` in `CMakeL
### To build the library using CMake:
```shell
$ git clone https://github.com/ROCm/rccl.git --recurse-submodules
$ git clone --recursive https://github.com/ROCm/rccl.git
$ cd rccl
$ mkdir build
$ cd build
$ cmake ..
$ make -j 16 # Or some other suitable number of parallel jobs
```
If you have already cloned, you can checkout the `mscclpp` submodule manually.
If you have already cloned, you can checkout the external submodules manually.
```shell
$ cd ext-src/mscclpp
$ git submodule update --init --recursive
$ git submodule update --init --recursive --depth=1
```
You may substitute an installation path of your own choosing by passing `CMAKE_INSTALL_PREFIX`. For example:
```shell