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
2a87020c
Commit
2a87020c
authored
7 years ago
by
Tianqi Chen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[BUILD] Include rocm cross compile env (#367)
parent
310f56fa
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
Jenkinsfile
+2
-0
2 additions, 0 deletions
Jenkinsfile
tests/ci_build/Dockerfile.gpu
+3
-0
3 additions, 0 deletions
tests/ci_build/Dockerfile.gpu
tests/ci_build/install/ubuntu_install_rocm.sh
+4
-0
4 additions, 0 deletions
tests/ci_build/install/ubuntu_install_rocm.sh
with
9 additions
and
0 deletions
Jenkinsfile
+
2
−
0
View file @
2a87020c
...
...
@@ -91,6 +91,8 @@ stage('Build') {
echo LLVM_CONFIG=llvm-config-4.0 >> config.mk
echo USE_RPC=1 >> config.mk
echo USE_BLAS=openblas >> config.mk
echo USE_ROCM=1 >> config.mk
echo ROCM_PATH=/opt/rocm >> config.mk
"""
make
(
'gpu'
,
'-j2'
)
sh
"mv lib/libtvm.so lib/libtvm_llvm40.so"
...
...
This diff is collapsed.
Click to expand it.
tests/ci_build/Dockerfile.gpu
+
3
−
0
View file @
2a87020c
...
...
@@ -34,6 +34,9 @@ RUN bash /install/ubuntu_install_java.sh
COPY install/ubuntu_install_nodejs.sh /install/ubuntu_install_nodejs.sh
RUN bash /install/ubuntu_install_nodejs.sh
COPY install/ubuntu_install_rocm.sh /install/ubuntu_install_rocm.sh
RUN bash /install/ubuntu_install_rocm.sh
# Enable doxygen for c++ doc build
RUN apt-get install -y doxygen graphviz
...
...
This diff is collapsed.
Click to expand it.
tests/ci_build/install/ubuntu_install_rocm.sh
0 → 100644
+
4
−
0
View file @
2a87020c
# Install ROCm cross compilation toolchain.
wget
-qO
- http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key |
sudo
apt-key add -
echo
deb
[
arch
=
amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main
>
/etc/apt/sources.list.d/rocm.list
apt-get update
&&
apt-get
install
-y
--force-yes
rocm-dev
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