Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Make dependencies as submodules #35

Merged
merged 2 commits into from
Aug 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ doc/latex
doc/doc

#dmlc
dmlc-core
mshadow
rabit
config.mk

*.pyc
Expand Down
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "mshadow"]
path = mshadow
url = https://github.com/dmlc/mshadow.git
[submodule "rabit"]
path = rabit
url = https://github.com/dmlc/rabit.git
[submodule "dmlc-core"]
path = dmlc-core
url = https://github.com/dmlc/dmlc-core.git
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@ This is a project that combines lessons and ideas we learnt from [cxxnet](https:
#if DMLC_USE_CXX11
// c++11 code here
#endif
```
- Update the dependencies by
```
git submodule foreach --recursive git pull origin master
```
* For heterogenous hardware support (CPU/GPU). Hope the GPU-specific component could be isolated easily. That is too say if we use `USE_CUDA` macro to wrap gpu-related code, the macro should not be everywhere in the project.
1 change: 1 addition & 0 deletions dmlc-core
Submodule dmlc-core added at db6ec9
1 change: 1 addition & 0 deletions mshadow
Submodule mshadow added at 4449f2
1 change: 1 addition & 0 deletions rabit
Submodule rabit added at c71ed6