Closed zsszatmari closed 9 years ago
Hi @treasurebox Yes, Yosemite does not appear to ship with the cl.hpp file. I also had to tackle this problem when I was working on our Travis automation. Take a look at how I fix this in the .travis.yml install: section by using wget to download the header from khronos website.
Yes, that did the trick, thanks!
Hi!
Don't want to nitpick, but I think this issue still should be open, at least some clear instruction about this in the README would be nice. Other note is that downloading the header file in /System/Library/... is not very nice, and in all likeliness it won't work on next OS X version (10.11 'El Capitan') because of security feature 'rootless' which prevents writing to system directories, so dowloading cl.hpp to the build directory (or simply putting it in the clSPARSE src distribution) might be a simpler option.
All the best!
@treasurebox Looks like cl.hpp
may be added to the repo itself in the future which will solve the issue: https://github.com/clMathLibraries/clSPARSE/issues/120
Cool, Thanks!
The cl.hpp
referred to in .travis.yml
no longer exists on the Krhonos website. Is it safe to use this one? It's in the 2.1 folder, but it seems to indicate it's for OpenCL 1.0, 1.1 and 1.2.
Yes, I believe it is safe to use. Looks like the one that disappeared is version 1.2.7, and the new one is version 1.2.8. Why they changed the path to the file, I don't know. It does look like they incorporated some bug fixes, but nothing that should break our functionality.
Thanks.
Hi!
Can't seem to build on OS X (Yosemite). I do a 'cmake .', then make, I get:
Any quick workaround?