-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindOpenCL: CMake 3.1.0+ #104
Comments
ok, thanks for reporting and the fix. The cmake 3.1.0 will be used in an upcoming PR as you recommended. |
try out if cmake3.1 resolves the build problems. |
@tdd11235813 thanks, the There is only an issue left with the |
Here is a module of ours that reacts on both the recommended (its not the most modern script but shows how to interact with |
updated the cmake file with the file from clfft repository.
|
Yes, but ideally a bash export of the form export CMAKE_PREFIX_PATH=$CLFFT_ROOT:$CMAKE_PREFIX_PATH
cmake .. should be sufficient, too. I think you should not use the |
oh yes, you are right,
|
fantastic, that's it! ✨ please ping we when you draft the next release so we can add the version's sha to spack :) |
Hi,
the current
FindOpenCL.cmake
module you ship is unfortunately not very flexible since it finds its *nix dependencies viatry_compile
rather then checking the lib and include paths.Since CMake 3.1.0, an official
FindOpenCL
Module is shipped with CMake, so you can just raise your CMake requirement and remove your script as noted in yourtodo
in its header.This issue prevents that the OpenCL backends of gearshifft can be build in https://github.com/LLNL/spack/pull/4560
The text was updated successfully, but these errors were encountered: