diff options
author | Songyu Lu <songyulu@barracuda.ad.hdfgroup.org> | 2018-11-13 17:37:29 (GMT) |
---|---|---|
committer | Songyu Lu <songyulu@barracuda.ad.hdfgroup.org> | 2018-11-13 17:37:29 (GMT) |
commit | 2fe10c647c003eaba2f84d52daaae23c3341916a (patch) | |
tree | ff750e08c213682880b5f25abbd971f51ac8edc1 /tools/test/perform/CMakeLists.txt | |
parent | 3a13bb72e8d33808eb3bfd68c2a6b4ae5153f3a0 (diff) | |
download | hdf5-2fe10c647c003eaba2f84d52daaae23c3341916a.zip hdf5-2fe10c647c003eaba2f84d52daaae23c3341916a.tar.gz hdf5-2fe10c647c003eaba2f84d52daaae23c3341916a.tar.bz2 |
HDFFV10601: Adding performance test to verify the improvement.
Diffstat (limited to 'tools/test/perform/CMakeLists.txt')
-rw-r--r-- | tools/test/perform/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/test/perform/CMakeLists.txt b/tools/test/perform/CMakeLists.txt index fa41608..14abdec 100644 --- a/tools/test/perform/CMakeLists.txt +++ b/tools/test/perform/CMakeLists.txt @@ -51,6 +51,16 @@ TARGET_C_PROPERTIES (iopipe STATIC) target_link_libraries (iopipe PRIVATE ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) set_target_properties (iopipe PROPERTIES FOLDER perform) +#-- Adding test for chunk_cache +set (chunk_cache_SOURCES + ${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/chunk_cache.c +) +add_executable (chunk_cache ${chunk_cache_SOURCES}) +target_include_directories(chunk_cache PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") +TARGET_C_PROPERTIES (chunk_cache STATIC) +target_link_libraries (chunk_cache PRIVATE ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) +set_target_properties (chunk_cache PROPERTIES FOLDER perform) + #-- Adding test for overhead set (overhead_SOURCES ${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/overhead.c |