forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Qiang Kou
committed
Nov 4, 2015
1 parent
ab78837
commit e00d03f
Showing
4 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,4 +67,5 @@ deps | |
*.Rcheck | ||
*.rds | ||
*.Rproj | ||
.Rproj.user | ||
.Rproj.user | ||
R-package/inst/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
\.o$ | ||
\.so$ | ||
src/*.so$ | ||
\.dll$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
# _*_ mode: makefile; _*_ | ||
PKGROOT=../../ | ||
|
||
# This file is only used for compilation from github | ||
# It will be replaced by more formal Rpackage structure | ||
# Where PKGROOT moved to root directory | ||
|
||
.PHONY: all mxlib | ||
all: $(SHLIB) | ||
|
||
$(SHLIB): mxlib | ||
mxlib: | ||
cd $(PKGROOT); make CXX="$(CXX)"; cd - | ||
mkdir -p ../inst | ||
mkdir -p ../inst/libs | ||
cp $(PKGROOT)/lib/libmxnet.so ../inst/libs/libmxnet.so | ||
|
||
PKG_CPPFLAGS = -I$(PKGROOT)/include -I$(PKGROOT)/dmlc-core/include | ||
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) #$(FLIBS) | ||
PKG_CPPFLAGS = -I../inst/include | ||
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) |