Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
26e3aa19
Commit
26e3aa19
authored
Oct 28, 2018
by
Siva
Committed by
Tianqi Chen
Oct 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOCKER][GOLANG] fix golang version. (#2023)
parent
f5c10e9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
docker/README.md
+1
-1
docker/install/ubuntu_install_golang.sh
+2
-2
tests/scripts/task_golang.sh
+11
-0
No files found.
docker/README.md
View file @
26e3aa19
...
...
@@ -89,5 +89,5 @@ Here are some common use examples to perform CI tasks.
- build golang test suite.
```
bash
./docker/build.sh ci_cpu
make -C golang tests
./docker/build.sh ci_cpu
tests/scripts/task_golang.sh
```
docker/install/ubuntu_install_golang.sh
View file @
26e3aa19
#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
go
lang-1.10-
doc
apt-get update
&&
apt-get install
-y
golint
tests/scripts/task_golang.sh
0 → 100755
View file @
26e3aa19
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment