@@ -46,7 +46,7 @@ This will generate the VS project using the MSVC 14 64 bit generator. Open the .
...
@@ -46,7 +46,7 @@ This will generate the VS project using the MSVC 14 64 bit generator. Open the .
### Customized Building
### Customized Building
Install prerequisites first:
Install prerequisites first:
```bash
```bash
sudo apt-get update
sudo apt-get update
...
@@ -57,7 +57,12 @@ The configuration of tvm can be modified by ```config.mk```
...
@@ -57,7 +57,12 @@ The configuration of tvm can be modified by ```config.mk```
- First copy ```make/config.mk``` to the project root, on which
- First copy ```make/config.mk``` to the project root, on which
any local modification will be ignored by git, then modify the according flags.
any local modification will be ignored by git, then modify the according flags.
- TVM optionally depends on LLVM. LLVM is required for CPU codegen that needs LLVM.
- TVM optionally depends on LLVM. LLVM is required for CPU codegen that needs LLVM.
- LLVM 4.0 or higher is needed for build with LLVM. The verison of LLVM from apt may lower than 4.0. you can download pre-built version of LLVM 4.0 from [LLVM Download Page](http://releases.llvm.org/download.html#4.0.1) and choose your matched pre-built binary package using `gcc -v` in command line to check `Target` value.
- LLVM 4.0 or higher is needed for build with LLVM. Note that verison of LLVM from default apt may lower than 4.0.
- Since LLVM takes long time to build from source, you can download pre-built version of LLVM frorm