2017-02-11 12:18:38 +00:00
|
|
|
# this is a workaround because some OpenCL headers cause problems with older gcc compilers (undefined macro: _WIN32)
|
|
|
|
before_install:
|
2017-02-11 12:39:03 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sed -i "" 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sed -i 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
2016-05-14 19:17:32 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
language: c
|
|
|
|
compiler:
|
2016-05-26 10:07:25 +00:00
|
|
|
- clang
|
2016-05-14 19:17:32 +00:00
|
|
|
- gcc
|
|
|
|
script:
|
2016-05-26 10:07:25 +00:00
|
|
|
- make
|