Skip to content

Commit 9d19fab

Browse files
Add third-party spdlog (v1.15.3) as a submodule
1 parent d97133a commit 9d19fab

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "third-party/googletest"]
2-
path = third-party/googletest
3-
url = https://github.com/google/googletest.git
1+
[submodule "third_party/spdlog"]
2+
path = third_party/spdlog
3+
url = https://github.com/gabime/spdlog.git

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,23 @@ Optional dependencies are:
6262

6363
Please refer to [docs/](docs/) for detailed documentation.
6464

65+
## Cloning
66+
67+
Gloo makes use of [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
68+
for third-party build-time dependencies. When cloning, ensure that you
69+
initialize and sync submodules:
70+
71+
``` shell
72+
git clone --recurse-submodules https://github.com/pytorch/gloo.git # or use SSH remote
73+
```
74+
75+
Or, if you already cloned without submodules, run the following in the existing
76+
local repository:
77+
78+
``` shell
79+
git submodule update --init --recursive
80+
```
81+
6582
## Building
6683

6784
You can build Gloo using CMake.

third_party/spdlog

Submodule spdlog added at 6fa3601

0 commit comments

Comments
 (0)