diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-31 16:03:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 16:03:37 (GMT) |
commit | 6e8aaab1b43be06b4fde60ad5bd583a8a08f882a (patch) | |
tree | 2b44952bb941662257e86cfb1e014efdbb0f822d /config/cmake/ConfigureChecks.cmake | |
parent | ccdcec273a7665ec4bc5ce7e25788218f8842b6a (diff) | |
download | hdf5-6e8aaab1b43be06b4fde60ad5bd583a8a08f882a.zip hdf5-6e8aaab1b43be06b4fde60ad5bd583a8a08f882a.tar.gz hdf5-6e8aaab1b43be06b4fde60ad5bd583a8a08f882a.tar.bz2 |
Minor changes to CMake comments, etc. (#2078)
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index 7d79fd1..d0de99b 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -421,7 +421,7 @@ if (MINGW OR NOT WINDOWS) endif () # ---------------------------------------------------------------------- - # Does the struct stat have the st_blocks field? This field is not Posix. + # Does the struct stat have the st_blocks field? This field is not POSIX. # CHECK_STRUCT_HAS_MEMBER("struct stat" st_blocks "sys/types.h;sys/stat.h" ${HDF_PREFIX}_HAVE_STAT_ST_BLOCKS) @@ -568,11 +568,15 @@ endif () # Set the flag to indicate that the machine can handle converting # denormalized floating-point values. # (This flag should be set for all machines, except for the Crays, where -# the cache value is set in it's config file) -# +# the cache value is set in its config file) +#----------------------------------------------------------------------------- set (${HDF_PREFIX}_CONVERT_DENORMAL_FLOAT 1) - +# ---------------------------------------------------------------------- +# Set a special flag when using memory sanity checkers like Valgrind. +# This disables the free lists, as the memory reuse scheme they implement +# can hide memory problems. +#----------------------------------------------------------------------------- if (HDF5_ENABLE_USING_MEMCHECKER) set (${HDF_PREFIX}_USING_MEMCHECKER 1) endif () |