Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
67a314c1
Commit
67a314c1
authored
May 31, 2017
by
ziheng
Committed by
GitHub
May 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve makefile (#165)
* Improve makefile * Fix
parent
9962fdca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
Makefile
+9
-1
No files found.
Makefile
View file @
67a314c1
...
@@ -15,6 +15,14 @@ include $(config)
...
@@ -15,6 +15,14 @@ include $(config)
BUILD_TARGETS
?=
lib/libtvm.so lib/libtvm_runtime.so
BUILD_TARGETS
?=
lib/libtvm.so lib/libtvm_runtime.so
all
:
${BUILD_TARGETS}
all
:
${BUILD_TARGETS}
ifndef
DMLC_CORE_PATH
DMLC_CORE_PATH
=
$(ROOTDIR)
/dmlc-core
endif
ifndef
DLPACK_PATH
DLPACK_PATH
=
$(ROOTDIR)
/dlpack
endif
# The source code dependencies
# The source code dependencies
LIB_HALIDEIR
=
HalideIR/lib/libHalideIR.a
LIB_HALIDEIR
=
HalideIR/lib/libHalideIR.a
...
@@ -44,7 +52,7 @@ RUNTIME_DEP = $(RUNTIME_OBJ)
...
@@ -44,7 +52,7 @@ RUNTIME_DEP = $(RUNTIME_OBJ)
# The flags
# The flags
LDFLAGS
=
-pthread
-lm
-ldl
LDFLAGS
=
-pthread
-lm
-ldl
CFLAGS
=
-std
=
c++11
-Wall
-O2
\
CFLAGS
=
-std
=
c++11
-Wall
-O2
\
-Iinclude
-I
dlpack
/include
-Idmlc-core
/include
-IHalideIR
/src
-fPIC
-Iinclude
-I
$(DLPACK_PATH)
/include
-I
$(DMLC_CORE_PATH)
/include
-IHalideIR
/src
-fPIC
LLVM_CFLAGS
=
-fno-rtti
-DDMLC_ENABLE_RTTI
=
0
LLVM_CFLAGS
=
-fno-rtti
-DDMLC_ENABLE_RTTI
=
0
FRAMEWORKS
=
FRAMEWORKS
=
OBJCFLAGS
=
-fno-objc-arc
OBJCFLAGS
=
-fno-objc-arc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment