-
Notifications
You must be signed in to change notification settings - Fork 99
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 add subdirectory call fails #802
Comments
@cartoonist, what version of kokkos is being used? What is the HEAD SHA of kokkos-kernels:develop? |
@e10harvey I tested on kokkos/kokkos@53adf133 and kokkos-kernels b95d6783. |
@cartoonist: Thanks, can you confirm that |
Thanks @e10harvey, I presumed that Debian package So, I removed the package and installed Kokkos from the source. Then, |
@cartoonist, Please try running |
Sorry, I might be a bit unclear in my first message. I have a program which uses Kokkos and kokkos-kernels and my main goal is to include both Kokkos and kokkos-kernels without requiring to install them; i.e. include them both in my source tree as git submodules and call Adding kokkos-kernels subdirectory only works when Kokkos is already installed on the system since apparently kokkos-kernels' CMakeLists.txt calls
|
@cartoonist, Please try again once #811 is merged. |
#811 fixed the issue. Thanks. |
I followed the provided CMake example (in-tree) to include
kokkos-kernel
into my project but it fails:As it can be seen above, adding Kokkos subdirectory works fine. However, adding kokkos-kernel subdirectory hits this line (CMakeLists.txt:87):
Which makes sense since there is no config file installed (Kokkos is added by a
add_subdirectory
call).I installed
Kokkos
library to see if installing fixes the issue. But it failed again because of uknownKOKKOS_CHECK
command:My CMake file looks like this:
and I am using CMake 3.13.4 and working with
develop
branch.The text was updated successfully, but these errors were encountered: