-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4af0cf
commit 1b8541e
Showing
7 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
#------------------------------------------------------------------------------# | ||
|
||
if (NOT DEFINED Kokkos_CXX_COMPILER) | ||
message(FATAL_ERROR "ADIOS: Kokkos module requires the Kokkos_CXX_COMPILER variable") | ||
endif() | ||
|
||
set(CMAKE_CXX_COMPILER "${Kokkos_CXX_COMPILER}") | ||
|
||
add_library(adios2_core_kokkos adiosKokkos.h adiosKokkos.cpp) | ||
|
||
set_target_properties(adios2_core_kokkos PROPERTIES | ||
VISIBILITY_INLINES_HIDDEN ON | ||
INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${ADIOS2_SOURCE_DIR}/source>;$<BUILD_INTERFACE:${ADIOS2_BINARY_DIR}/source>" | ||
EXPORT_NAME core_kokkos | ||
OUTPUT_NAME adios2${ADIOS2_LIBRARY_SUFFIX}_core_kokkos | ||
) | ||
|
||
kokkos_compilation(SOURCE adiosKokkos.cpp) | ||
target_link_libraries(adios2_core_kokkos PRIVATE Kokkos::kokkos) |
File renamed without changes.
File renamed without changes.