summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-07-03 18:56:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-07-03 18:56:43 (GMT)
commitc80d6fe451bd652cf9998e89d6a2de9e8a951fd8 (patch)
tree7a18fc179a15db9b1ddfeadcbe62570aa9ae63d4
parent6b66c969f5537b28b837fdbdc7b9837f56df7601 (diff)
parentd52b27ad1d8142945a92310b79ab79171e76a3c3 (diff)
downloadhdf5-c80d6fe451bd652cf9998e89d6a2de9e8a951fd8.zip
hdf5-c80d6fe451bd652cf9998e89d6a2de9e8a951fd8.tar.gz
hdf5-c80d6fe451bd652cf9998e89d6a2de9e8a951fd8.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'd52b27ad1d8142945a92310b79ab79171e76a3c3': Address CMake and deprecated API build failures from monotonic timer patch.
-rw-r--r--examples/h5_debug_trace.c2
-rw-r--r--tools/test/perform/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_debug_trace.c b/examples/h5_debug_trace.c
index 3d89ba4..5da55ed 100644
--- a/examples/h5_debug_trace.c
+++ b/examples/h5_debug_trace.c
@@ -121,7 +121,7 @@ main(int argc, char **argv)
err = H5Pset_shuffle(pid);
sid = H5Screate_simple(1, dims, dims);
- did = H5Dcreate(fid, "somedata", H5T_NATIVE_INT, sid, H5P_DEFAULT, pid, H5P_DEFAULT);
+ did = H5Dcreate2(fid, "somedata", H5T_NATIVE_INT, sid, H5P_DEFAULT, pid, H5P_DEFAULT);
err = H5Dwrite(did, H5T_NATIVE_INT, sid, sid, H5P_DEFAULT, data);
H5Sclose(sid);
diff --git a/tools/test/perform/CMakeLists.txt b/tools/test/perform/CMakeLists.txt
index 6780c06..3c45e85 100644
--- a/tools/test/perform/CMakeLists.txt
+++ b/tools/test/perform/CMakeLists.txt
@@ -78,7 +78,7 @@ 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_include_directories (chunk_cache PRIVATE "${HDF5_TEST_SRC_DIR};${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
if (NOT BUILD_SHARED_LIBS)
TARGET_C_PROPERTIES (chunk_cache STATIC)
target_link_libraries (chunk_cache PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET})