Skip to content

Commit

Permalink
Merge pull request #22 from ROCmSoftwarePlatform/travis-setup
Browse files Browse the repository at this point in the history
added rocm install script for travis ci
  • Loading branch information
Aditya Atluri authored Sep 26, 2018
2 parents 35ce325 + 1f8980a commit 7ca5bc9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
dist: xenial
language: cpp
compiler:
- g++

script:
- 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' | sudo tee /etc/apt/sources.list.d/rocm.list;
- sudo apt update;
- sudo apt install rocm-dkms rocm-cmake doxygen
- mkdir -p ../rccl_build
- cd ../rccl_build
- CXX=/opt/rocm/bin/hcc cmake ../rccl
- make package -j
- sudo dpkg -i *.deb

0 comments on commit 7ca5bc9

Please sign in to comment.