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

Commit

Permalink
Merge pull request #35 from thirdwing/master
Browse files Browse the repository at this point in the history
Make dependencies as submodules
  • Loading branch information
antinucleon committed Aug 29, 2015
2 parents 5e9b53b + 0341d2c commit 296e942
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
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

0 comments on commit 296e942

Please sign in to comment.