Commit df44566c by Qiao Zhang Committed by Tianqi Chen

Require explicit version for llvm_config. Update doc build requirements. (#129)

parent a64a0f5f
......@@ -76,8 +76,6 @@ else
endif
# llvm configuration
LLVM_CONFIG=llvm-config
ifeq ($(USE_LLVM), 1)
LLVM_VERSION=$(shell $(LLVM_CONFIG) --version| cut -b 1,3)
LLVM_INCLUDE=$(filter -I%, $(shell $(LLVM_CONFIG) --cxxflags))
......
......@@ -2,4 +2,4 @@ The documentation of tvm is generated with recommonmark and sphinx.
- pip install sphinx>=1.5.5 sphinx-gallery sphinx_rtd_theme matplotlib Image recommonmark
- Build tvm first in the root folder.
- You can build it locally by typing "make html" in this folder.
- To build locally, you need to enable USE_CUDA, USE_OPENCL, USE_LLVM in config.mk and then type "make html" in this folder.
......@@ -38,8 +38,9 @@ USE_OPENCL = 0
USE_METAL = 0
# whether build with LLVM support
# This requires llvm-config to be in your PATH
# Requires LLVM version >= 4.0
# Set LLVM_CONFIG to your version
# LLVM_CONFIG = llvm-config-4.0
USE_LLVM = 0
#---------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment