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
cmake examples failure on master: OpenMP::OpenMP_CXX not found #2046
Comments
I did a clean build on Ubuntu 16.04 few hours back and I didn't have any issues with OpenMP being not found. My machine uses CMake 3.5.1 that I got from apt package manager. We have FindOpenMP.cmake script in the CMakeModules path of ArrayFire repository and it is included properly in the root CMake file. May be your OpenMP is installed in a non-standard path ? Did you copy the examples file some where else and then tried to build the examples ? |
Thanks.
|
Yes, that is the location where I found the That could be because there is no |
I think the problem is with the installer and the arrayfire-config generated by cmake. @9prady9 try to install the library in a docker container and see if you run into the same issue when you try to build the examples. |
I generated the installer using master HEAD and don't get openmp errors on regular machine. I have to try it on docker and see what happens there. |
I didn't get such errors with docker either. @WilliamTambellini Please share some details of the Linux distribution you are using and CMake version. |
v3.6 is out, @WilliamTambellini can you please check if you can reproduce the problem with v3.6 and reopen if the problem persists. Closing the issue for now. |
Hi
On recent master, cmake fails with such messages:
OS: ubuntu 16
Tried with cmake 3.5 and 3.9.
Perhaps a find openmp is missing ?
Kind
The text was updated successfully, but these errors were encountered: