Closed HenningScheufler closed 2 months ago
That is weird. CPM shouldn't change the way how the dependency is handled. Do you have kokkos installed separately somehow and CPM picks it up? What happens if you set CPM_USE_LOCAL_PACKAGES OFF
?
I think this discussion is related https://github.com/cpm-cmake/CPM.cmake/issues/132
Can we merge this PR? Improving the build setup can be done later
The CPM package manger seems not to include the nvcc_wrapper of the kokkos project which is required for the compilation with gcc
This can be resolved by using fetch content instead of CPM (see changed files)
However, changing the compiler to clang by executing following command:
correctly configures the projects but the compilation fails with following error