-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#65 Reorganize files, consistent CMake variables
- Loading branch information
1 parent
ef48ee5
commit 9f489fd
Showing
63 changed files
with
202 additions
and
269 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,39 +1,24 @@ | ||
target_sources(resilience PRIVATE | ||
${CMAKE_CURRENT_LIST_DIR}/Resilience.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/AutomaticCheckpoint.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/Context.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/Config.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/Cref.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/ResilientRef.cpp | ||
) | ||
|
||
if (KR_ENABLE_MPI_BACKENDS) | ||
target_sources(resilience PRIVATE MPIContext.cpp) | ||
endif() | ||
|
||
add_subdirectory(filesystem) | ||
add_subdirectory(stdio) | ||
|
||
if (KR_ENABLE_VELOC) | ||
add_subdirectory(veloc) | ||
target_sources(resilience PRIVATE ${CMAKE_CURRENT_LIST_DIR}/Resilience.cpp) | ||
|
||
if (KR_ENABLE_AUTOMATIC_CHECKPOINTING) | ||
target_sources(resilience PRIVATE | ||
${CMAKE_CURRENT_LIST_DIR}/config/Config.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/Cref.cpp | ||
) | ||
add_subdirectory(backend) | ||
add_subdirectory(context) | ||
endif() | ||
|
||
if (KR_ENABLE_STDFILE) | ||
target_sources(resilience PRIVATE StdFileContext.cpp) | ||
add_subdirectory(stdfile) | ||
if (KR_ENABLE_EXEC_SPACES) | ||
add_subdirectory(exec_space) | ||
endif() | ||
|
||
if (KR_ENABLE_HDF5) | ||
add_subdirectory(hdf5) | ||
endif() | ||
|
||
add_subdirectory(view_hooks) | ||
|
||
if (KR_ENABLE_CUDA_EXEC_SPACE) | ||
add_subdirectory(cuda) | ||
if (KR_ENABLE_AUTOMATIC_CHECKPOINTING OR KR_ENABLE_EXEC_SPACES) | ||
add_subdirectory(view_hooks) | ||
endif() | ||
|
||
if (KR_ENABLE_OPENMP_EXEC_SPACE) | ||
add_subdirectory(openMP) | ||
if (KR_ENABLE_DATA_SPACES) | ||
add_subdirectory(data_space) | ||
endif() | ||
|
||
add_subdirectory(util) |
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
Oops, something went wrong.