{"action":"created","issue":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/120","labels_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/120/comments","events_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/120/events","html_url":"https://github.com/clMathLibraries/clSPARSE/issues/120","id":100535304,"number":120,"title":"FTBFS due to missing cl.hpp header file with OpenCL 2.0","user":{"login":"ghisvail","id":1964655,"avatar_url":"https://avatars.githubusercontent.com/u/1964655?v=3","gravatar_id":"","url":"https://api.github.com/users/ghisvail","html_url":"https://github.com/ghisvail","followers_url":"https://api.github.com/users/ghisvail/followers","following_url":"https://api.github.com/users/ghisvail/following{/other_user}","gists_url":"https://api.github.com/users/ghisvail/gists{/gist_id}","starred_url":"https://api.github.com/users/ghisvail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghisvail/subscriptions","organizations_url":"https://api.github.com/users/ghisvail/orgs","repos_url":"https://api.github.com/users/ghisvail/repos","events_url":"https://api.github.com/users/ghisvail/events{/privacy}","received_events_url":"https://api.github.com/users/ghisvail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-12T12:48:18Z","updated_at":"2015-08-14T14:00:02Z","closed_at":null,"body":"Debian now ships the Khronos OpenCL 2.0 headers, which no longer includes the C++ headers.\r\n\r\nThe build fails with the following error:\r\n\r\n```\r\n[  5%] Building CXX object library/CMakeFiles/clSPARSE.dir/clsparse-init.cpp.o\r\ncd /home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/obj-x86_64-linux-gnu/library && /usr/bin/c++   -DBUILD_CLVERSION=120 -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DclSPARSE_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -fPIC -I/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/src/library -I/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/obj-x86_64-linux-gnu/library -I/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/src/include -I/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/obj-x86_64-linux-gnu/include -I/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/obj-x86_64-linux-gnu/clsparseTimer    -std=c++11 -pedantic -o CMakeFiles/clSPARSE.dir/clsparse-init.cpp.o -c /home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/src/library/clsparse-init.cpp\r\nIn file included from /home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/src/library/clsparse-init.cpp:21:0:\r\n/home/ghislain/debian/packages/build-area/clsparse-0.6.1.0/src/library/include/clSPARSE-private.hpp:31:21: fatal error: CL/cl.hpp: No such file or directory\r\n #include <CL/cl.hpp>\r\n                     ^\r\ncompilation terminated.\r\nlibrary/CMakeFiles/clSPARSE.dir/build.make:62: recipe for target 'library/CMakeFiles/clSPARSE.dir/clsparse-init.cpp.o' failed\r\n```\r\n\r\nA solution may be to build with a vendorized version of `cl.hpp` from OpenCL 1.2."},"comment":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/comments/131113938","html_url":"https://github.com/clMathLibraries/clSPARSE/issues/120#issuecomment-131113938","issue_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/120","id":131113938,"user":{"login":"kknox","id":2258140,"avatar_url":"https://avatars.githubusercontent.com/u/2258140?v=3","gravatar_id":"","url":"https://api.github.com/users/kknox","html_url":"https://github.com/kknox","followers_url":"https://api.github.com/users/kknox/followers","following_url":"https://api.github.com/users/kknox/following{/other_user}","gists_url":"https://api.github.com/users/kknox/gists{/gist_id}","starred_url":"https://api.github.com/users/kknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kknox/subscriptions","organizations_url":"https://api.github.com/users/kknox/orgs","repos_url":"https://api.github.com/users/kknox/repos","events_url":"https://api.github.com/users/kknox/events{/privacy}","received_events_url":"https://api.github.com/users/kknox/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T14:00:02Z","updated_at":"2015-08-14T14:00:02Z","body":"Maybe I could make it a conditional step in our cmake configure process?"}}