Skip to content

Commit

Permalink
[DOCS] add a solution to installation error because of the old submod…
Browse files Browse the repository at this point in the history
…ule (apache#384)

* [DOCS] add a solution to installation error

* Fix the command for updating submodules
  • Loading branch information
Atsushi Nukariya authored and tqchen committed May 26, 2018
1 parent 65fa870 commit 89a66eb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nnvm/docs/how_to/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Note that it is necessary to build TVM with LLVM support to take full benefit of
## Contents
- [Build the Shared Library](#build-the-shared-library)
- [Python Package Installation](#python-package-installation)
- [Solution to Installation Error](#solution-to-installation-error)

## Build the Shared Library

Expand Down Expand Up @@ -75,3 +76,14 @@ There are several ways to install the package, in all these cases the TVM librar
# providing --user flag may trigger error during installation in such case.
cd python; python setup.py install --user; cd ..
```

## Solution to Installation Error

If you encounter the problem while installation process, you can solve by updating submodules to the latest commit set.
To update submodules to the latest commit set, type the following command.

```bash
git submodule update --init --recursive
```

*WARNING: The default commit set in submodule is the recommended setting. Using the latest commit set may lead to another compilation error or something else.*

0 comments on commit 89a66eb

Please sign in to comment.