Skip to content

Commit

Permalink
Fix pythonpath in rust ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes committed Oct 7, 2018
1 parent 275e200 commit 744bfbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/scripts/task_rust.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/bin/bash
export LD_LIBRARY_PATH=lib:${LD_LIBRARY_PATH}
export PYTHONPATH=python:nnvm/python:topi/python

set -e

export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH

tvm_root="$(git rev-parse --show-toplevel)"
export PYTHONPATH="$tvm_root/python":"$tvm_root/nnvm/python":"$tvm_root/topi/python"

cd rust
cargo fmt -- --check

Expand Down

0 comments on commit 744bfbd

Please sign in to comment.