forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCKER][GOLANG] fix golang version. (apache#2023)
- Loading branch information
1 parent
d331f1f
commit 9b0ec34
Showing
3 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#install the necessary dependancies for golang build | ||
apt-get update && apt-get install -y golang-0.10-go | ||
apt-get update && apt-get install -y godoc | ||
apt-get update && apt-get install -y golang-1.10-go | ||
apt-get update && apt-get install -y golang-1.10-doc | ||
apt-get update && apt-get install -y golint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
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" | ||
|
||
# Golang tests | ||
make -C golang tests |