@@ -28,38 +28,38 @@ before_install:
28
28
sudo apt-get --yes install ocl-icd-opencl-dev;
29
29
fi
30
30
- if [ ${TRAVIS_OS_NAME} == "osx" ]; then cat /System/Library/Frameworks/OpenCL.framework/Headers/cl.h | grep -i version; fi
31
- # - if [ ${TRAVIS_OS_NAME}= "osx" ]; then brew install gcc; fi
32
- # osx image does not contain cl.hpp file; download from Khronos
33
- - if [ ${TRAVIS_OS_NAME} == "osx" ]; then
34
- pushd /System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/;
35
- sudo wget -w 1 -np -nd -nv -A h,hpp ${OPENCL_REGISTRY}/api/2.1/cl.hpp;
36
- popd;
37
- fi
38
- # The following linux logic is necessary because of Travis's move to the GCE platform, which does not
39
- # currently contain packages for fglrx: https://github.com/travis-ci/travis-ci/issues/5221
40
- # We build our own linkable .so file
41
- - if [ ${TRAVIS_OS_NAME} == "linux" ]; then
42
- mkdir -p ${OPENCL_ROOT};
43
- pushd ${OPENCL_ROOT};
44
- travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-ICD-Loader.git;
45
- mv ./OpenCL-ICD-Loader/* .;
46
- travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers.git inc/CL;
47
- pushd inc/CL;
48
- travis_retry wget -w 1 -np -nd -nv -A h,hpp ${OPENCL_REGISTRY}/api/2.1/cl.hpp;
49
- popd;
50
- mkdir -p lib;
51
- pushd lib;
52
- cmake -G "Unix Makefiles" ..;
53
- make;
54
- cp ./bin/libOpenCL.so .;
55
- popd;
56
- pushd inc/CL;
57
- travis_retry git fetch origin opencl12:opencl12;
58
- git checkout opencl12;
59
- popd;
60
- mv inc/ include/;
61
- popd;
62
- fi
31
+ # # - if [ ${TRAVIS_OS_NAME}= "osx" ]; then brew install gcc; fi
32
+ # # osx image does not contain cl.hpp file; download from Khronos
33
+ # - if [ ${TRAVIS_OS_NAME} == "osx" ]; then
34
+ # pushd /System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/;
35
+ # sudo wget -w 1 -np -nd -nv -A h,hpp ${OPENCL_REGISTRY}/api/2.1/cl.hpp;
36
+ # popd;
37
+ # fi
38
+ # # The following linux logic is necessary because of Travis's move to the GCE platform, which does not
39
+ # # currently contain packages for fglrx: https://github.com/travis-ci/travis-ci/issues/5221
40
+ # # We build our own linkable .so file
41
+ # - if [ ${TRAVIS_OS_NAME} == "linux" ]; then
42
+ # mkdir -p ${OPENCL_ROOT};
43
+ # pushd ${OPENCL_ROOT};
44
+ # travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-ICD-Loader.git;
45
+ # mv ./OpenCL-ICD-Loader/* .;
46
+ # travis_retry git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers.git inc/CL;
47
+ # pushd inc/CL;
48
+ # travis_retry wget -w 1 -np -nd -nv -A h,hpp ${OPENCL_REGISTRY}/api/2.1/cl.hpp;
49
+ # popd;
50
+ # mkdir -p lib;
51
+ # pushd lib;
52
+ # cmake -G "Unix Makefiles" ..;
53
+ # make;
54
+ # cp ./bin/libOpenCL.so .;
55
+ # popd;
56
+ # pushd inc/CL;
57
+ # travis_retry git fetch origin opencl12:opencl12;
58
+ # git checkout opencl12;
59
+ # popd;
60
+ # mv inc/ include/;
61
+ # popd;
62
+ # fi
63
63
64
64
install :
65
65
- pwd
0 commit comments