mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-08-21 04:22:27 +02:00
Using our own headers causes problems with CMake which does not like having OpenCL header path inside of the source tree. While at it, use distro's universal OpenCL loader as well.
46 lines
646 B
YAML
46 lines
646 B
YAML
language: cpp
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
# kubuntu-backports contains newer versions of cmake to install
|
|
- kubuntu-backports
|
|
packages:
|
|
- cmake
|
|
- ocl-icd-opencl-dev
|
|
|
|
env:
|
|
global:
|
|
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
|
|
|
|
before_install:
|
|
- cmake --version;
|
|
- ${CC} --version;
|
|
- ${CXX} --version;
|
|
|
|
before_script:
|
|
- mkdir -p ${CLBLAST_ROOT}
|
|
- pushd ${CLBLAST_ROOT}
|
|
- cmake -DTESTS=ON -DCLIENTS=ON ${TRAVIS_BUILD_DIR}
|
|
|
|
script:
|
|
- make
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- development
|
|
|
|
notifications:
|
|
email: false
|