CLBlast/.travis.yml

29 lines
762 B
YAML
Raw Normal View History

2015-08-18 07:22:27 +02:00
language: cpp
compiler:
- gcc
2015-08-19 09:06:59 +02:00
- clang
2015-08-19 09:20:10 +02:00
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install -qq gcc-4.8 g++-4.8 clang
- sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers
- sudo apt-get install -qq cmake
2015-08-18 08:25:32 +02:00
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
2015-08-18 07:22:27 +02:00
before_script:
- mkdir install
2015-08-19 09:06:59 +02:00
- export PATH=`pwd`/install/bin:${PATH}
- export LD_LIBRARY_PATH=`pwd`/install/lib64:`pwd`/install/lib:${LD_LIBRARY_PATH}
- mkdir build
2015-08-18 07:22:27 +02:00
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=../install ..
2015-08-18 08:25:32 +02:00
script:
- make
2015-08-18 07:22:27 +02:00
- make install
branches:
only:
- master
2015-08-18 08:25:32 +02:00
notifications:
email: false