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
c3cc3bf5
Commit
c3cc3bf5
authored
Jun 13, 2019
by
Marcelo Duarte Trevisani
Committed by
Tianqi Chen
Jun 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CMakeLists.txt to be more flexible (#3354)
parent
ede964ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
CMakeLists.txt
+11
-4
No files found.
CMakeLists.txt
View file @
c3cc3bf5
...
...
@@ -38,6 +38,12 @@ tvm_option(USE_RTTI "Build with RTTI" ON)
tvm_option
(
USE_MSVC_MT
"Build with MT"
OFF
)
tvm_option
(
INSTALL_DEV
"Install compiler infrastructure"
OFF
)
# 3rdparty libraries
tvm_option
(
DLPACK_PATH
"Path to DLPACK"
"3rdparty/dlpack/include"
)
tvm_option
(
DMLC_PATH
"Path to DMLC"
"3rdparty/dmlc-core/include"
)
tvm_option
(
RANG_PATH
"Path to RANG"
"3rdparty/rang/include"
)
tvm_option
(
COMPILER_RT_PATH
"Path to COMPILER-RT"
"3rdparty/compiler-rt"
)
# Contrib library options
tvm_option
(
USE_BLAS
"The blas library to be linked"
none
)
tvm_option
(
USE_MKL_PATH
"MKL root path when use MKL blas"
none
)
...
...
@@ -51,11 +57,12 @@ tvm_option(USE_RANDOM "Build with random support" OFF)
tvm_option
(
USE_ANTLR
"Build with ANTLR for Relay parsing"
OFF
)
# include directories
include_directories
(
${
CMAKE_INCLUDE_PATH
}
)
include_directories
(
"include"
)
include_directories
(
"3rdparty/dlpack/include"
)
include_directories
(
"3rdparty/dmlc-core/include"
)
include_directories
(
"3rdparty/rang/include"
)
include_directories
(
"3rdparty/compiler-rt"
)
include_directories
(
${
DLPACK_PATH
}
)
include_directories
(
${
DMLC_PATH
}
)
include_directories
(
${
RANG_PATH
}
)
include_directories
(
${
COMPILER_RT_PATH
}
)
# initial variables
set
(
TVM_LINKER_LIBS
""
)
...
...
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