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
2a87020c
Commit
2a87020c
authored
Aug 21, 2017
by
Tianqi Chen
Committed by
GitHub
Aug 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUILD] Include rocm cross compile env (#367)
parent
310f56fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
Jenkinsfile
+2
-0
tests/ci_build/Dockerfile.gpu
+3
-0
tests/ci_build/install/ubuntu_install_rocm.sh
+4
-0
No files found.
Jenkinsfile
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"
...
...
tests/ci_build/Dockerfile.gpu
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
...
...
tests/ci_build/install/ubuntu_install_rocm.sh
0 → 100644
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
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