Skip to content

Commit

Permalink
add kokkos-kernels submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoulter12 committed Oct 4, 2023
1 parent 9aa66bf commit ea16431
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "lib/kokkos"]
path = lib/kokkos
url = https://github.com/kokkos/kokkos.git
[submodule "lib/kokkos-kernels"]
path = lib/kokkos-kernels
url = https://github.com/kokkos/kokkos-kernels
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ set_target_properties(runTests PROPERTIES EXCLUDE_FROM_ALL TRUE)
add_dependencies(phoebe spglib_dep pugixml_dep eigen_dep)
add_dependencies(runTests spglib_dep pugixml_dep eigen_dep)

target_link_libraries(phoebe symspg pugixml kokkos nlohmann_json::nlohmann_json)
target_link_libraries(phoebe symspg pugixml kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json)
enable_testing()
target_link_libraries(runTests symspg pugixml gtest_main kokkos nlohmann_json::nlohmann_json)
target_link_libraries(runTests symspg pugixml gtest_main kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json)

gtest_discover_tests(
runTests
Expand Down
1 change: 1 addition & 0 deletions lib/kokkos-kernels
Submodule kokkos-kernels added at 25a31f

0 comments on commit ea16431

Please sign in to comment.