forked from ibcn-cloudlet/dianne
-
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.
Squashed commits: [11fbf8a] Add support for Mac OS X build This needs gcc-5 compiler
- Loading branch information
Showing
11 changed files
with
63 additions
and
21 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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#--------------------------------------------------------------------------- | ||
# Darwin settings | ||
# Compiler | ||
CC=gcc-5 | ||
CXX=g++-5 | ||
NVCC=nvcc | ||
CCFLAGS += -DOSX -framework accelerate | ||
LIB := libTHTensor.dylib | ||
SHARED := -dynamiclib | ||
|
||
JAVA_HOME ?= $(shell /usr/libexec/java_home) | ||
# this is the subdirectory name in JAVA_HOME/include/ that contains platform-specific files | ||
# it seems that some versions of Java 1.1 on linux need this to be "genunix" | ||
JDKPLATFORMINCLUDESUBDIR := darwin | ||
|
||
#--------------------------------------------------------------------------- |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#--------------------------------------------------------------------------- | ||
# Linux settings | ||
# Compiler | ||
CC=gcc | ||
CXX=g++ | ||
NVCC=nvcc | ||
CCFLAGS += -DLINUX | ||
LIB := libTHTensor.so | ||
SHARED := -shared | ||
|
||
JAVA_HOME ?= /usr/lib/jvm/default-java | ||
# this is the subdirectory name in JAVA_HOME/include/ that contains platform-specific files | ||
# it seems that some versions of Java 1.1 on linux need this to be "genunix" | ||
JDKPLATFORMINCLUDESUBDIR := linux | ||
|
||
#--------------------------------------------------------------------------- |
Binary file not shown.
File renamed without changes.
File renamed without changes.
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