mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
d2316f866c
Primary Fixes: * Add a whole variable optimization -- used in the rare case that nc_get/put_vara covers the whole of a variable and the variable has a single chunk. * Fix chunking error when stride causes whole chunks to be skipped. * Fix some memory leaks * Add test cases * Add one performance test to nczarr_test/. This uses the timer utils from unit_test: timer_utils.[ch]. * Move ncdumpchunks utility from ncdump to nczarr_test Misc. Other Changes: * Make check for aws libraries conditional on --enable-nczarr-s3 * Remove all but one bm tests from nczarr_test until they are working. * Remove another dependency on HDF5 from supposedly non-HDF5 specific code; specifically hdf5_log_hdf5. * Make the BAIL2 macro be hdf5 specific and replace elsewhere with an HDF5 independent equivalent. * Move hdf5cache.c to libsrc4/nc4cache.c because it is used by nczarr. * Modify unit_tests so that some of them are run even if using Windows. * Misc. small bug fixes and refactors and memory leaks. * Rename some conflicting tests for cmake. * Attempted to make nc_perf work with cmake and failed.
45 lines
1.5 KiB
CMake
45 lines
1.5 KiB
CMake
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
|
|
# 2015, 2016, 2017, 2018
|
|
# University Corporation for Atmospheric Research/Unidata.
|
|
|
|
# See netcdf-c/COPYRIGHT file for more info.
|
|
|
|
build_bin_test(bm_file tst_utils.c)
|
|
build_bin_test(tst_chunks3 tst_utils.c)
|
|
build_bin_test(tst_ar4 tst_utils.c)
|
|
build_bin_test(tst_ar4_4d tst_utils.c)
|
|
build_bin_test(bm_many_objs tst_utils.c)
|
|
build_bin_test(tst_h_many_atts tst_utils.c)
|
|
build_bin_test(bm_many_atts tst_utils.c)
|
|
build_bin_test(tst_files2 tst_utils.c)
|
|
build_bin_test(tst_knmi tst_utils.c)
|
|
build_bin_test(bm_netcdf4_recs tst_utils.c)
|
|
build_bin_test(bigmeta tst_utils.c)
|
|
build_bin_test(openbigmeta tst_utils.c)
|
|
|
|
add_bin_test(nc_perf tst_ar4_3d tst_utils.c)
|
|
add_bin_test(nc_perf tst_create_files tst_utils.c)
|
|
add_bin_test(nc_perf tst_files3 tst_utils.c)
|
|
add_bin_test(nc_perf tst_mem tst_utils.c)
|
|
add_bin_test(nc_perf tst_wrf_reads tst_utils.c)
|
|
add_bin_test(nc_perf tst_attsperf tst_utils.c)
|
|
|
|
add_sh_test(nc_perf run_knmi_bm)
|
|
add_sh_test(nc_perf perftest)
|
|
add_sh_test(nc_perf run_tst_chunks)
|
|
add_sh_test(nc_perf run_bm_elena)
|
|
|
|
IF(BUILD_UTILITIES)
|
|
add_sh_test(nc_perf run_bm_test1)
|
|
add_sh_test(nc_perf run_bm_test2)
|
|
|
|
# This will run a parallel I/O benchmark for parallel builds.
|
|
IF(TEST_PARALLEL4)
|
|
add_sh_test(nc_perf run_par_bm_test)
|
|
ENDIF()
|
|
ENDIF()
|
|
|
|
ADD_EXTRA_DIST(run_par_bm_test.sh.in run_knmi_bm.sh CMakeLists.txt
|
|
perftest.sh run_bm_test1.sh run_bm_test2.sh)
|