Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tvm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cld
ml
tvm
Commits
26e3aa19
Commit
26e3aa19
authored
6 years ago
by
Siva
Committed by
Tianqi Chen
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[DOCKER][GOLANG] fix golang version. (#2023)
parent
f5c10e9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/README.md
+1
-1
1 addition, 1 deletion
docker/README.md
docker/install/ubuntu_install_golang.sh
+2
-2
2 additions, 2 deletions
docker/install/ubuntu_install_golang.sh
tests/scripts/task_golang.sh
+11
-0
11 additions, 0 deletions
tests/scripts/task_golang.sh
with
14 additions
and
3 deletions
docker/README.md
+
1
−
1
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
```
This diff is collapsed.
Click to expand it.
docker/install/ubuntu_install_golang.sh
+
2
−
2
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
This diff is collapsed.
Click to expand it.
tests/scripts/task_golang.sh
0 → 100755
+
11
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment