Skip to content
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

Require Cabana 0.6 #14

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: actions/[email protected]
with:
repository: ECP-copa/Cabana
ref: master
ref: 0.6.0
path: Cabana
- name: Build Cabana
working-directory: Cabana
Expand Down
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ project(HACCabana LANGUAGES CXX C)

include(GNUInstallDirs)

find_package(Cabana REQUIRED)
if(Kokkos_VERSION_MAJOR LESS 4 AND Kokkos_VERSION_MINOR LESS 7)
message( FATAL_ERROR "HACCabana requires Kokkos >= 3.7" )
endif()
find_package(Cabana REQUIRED VERSION 0.6.0)

add_subdirectory(src)
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install(TARGETS HACCabana
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})

target_link_libraries(HACCabana Cabana::cabanacore)
target_link_libraries(HACCabana Cabana::Core)

install(TARGETS HACCabana DESTINATION ${CMAKE_INSTALL_LIBDIR})

Expand Down