Update build instruction in README

Signed-off-by: Kainan Cha <kainan.cha@verisilicon.com>
This commit is contained in:
Kainan Cha 2021-01-26 06:50:26 -08:00
parent 44af63b9e9
commit 984ab3b24a
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ bazel build libtim-vx.so
To run sample LeNet To run sample LeNet
```shell ```shell
# set VIVANTE_SDK_DIR for runtime compilation environment
export VIVANTE_SDK_DIR=`pwd`/prebuilt-sdk/x86_64_linux
bazel build //samples/lenet:lenet_asymu8_cc bazel build //samples/lenet:lenet_asymu8_cc
bazel run //samples/lenet:lenet_asymu8_cc bazel run //samples/lenet:lenet_asymu8_cc
``` ```