mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r26545] Description:
Remove the WANT_DATA_ACCURACY macro/define/configure option, since it's no longer attached to any library behavior. Tested on: MacOSX/64 10.10.2 (amazon) w/serial & parallel (h5committest not required on this branch)
This commit is contained in:
parent
fe435e3dd4
commit
96690845c1
@ -32,18 +32,6 @@ if (HDF5_METADATA_TRACE_FILE)
|
||||
endif (HDF5_METADATA_TRACE_FILE)
|
||||
MARK_AS_ADVANCED (HDF5_METADATA_TRACE_FILE)
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Decide whether the data accuracy has higher priority during data
|
||||
# conversions. If not, some hard conversions will still be prefered even
|
||||
# though the data may be wrong (for example, some compilers don't
|
||||
# support denormalized floating values) to maximize speed.
|
||||
#
|
||||
option (HDF5_WANT_DATA_ACCURACY "IF data accuracy is guaranteed during data conversions" ON)
|
||||
if (HDF5_WANT_DATA_ACCURACY)
|
||||
set (H5_WANT_DATA_ACCURACY 1)
|
||||
endif (HDF5_WANT_DATA_ACCURACY)
|
||||
MARK_AS_ADVANCED (HDF5_WANT_DATA_ACCURACY)
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Decide whether the presence of user's exception handling functions is
|
||||
# checked and data conversion exceptions are returned. This is mainly
|
||||
|
@ -651,9 +651,6 @@
|
||||
don't fit into size allowed */
|
||||
#cmakedefine H5_VSNPRINTF_WORKS @H5_VSNPRINTF_WORKS@
|
||||
|
||||
/* Data accuracy is prefered to speed during data conversions */
|
||||
#cmakedefine H5_WANT_DATA_ACCURACY @H5_WANT_DATA_ACCURACY@
|
||||
|
||||
/* Check exception handling functions during data conversions */
|
||||
#cmakedefine H5_WANT_DCONV_EXCEPTION @H5_WANT_DCONV_EXCEPTION@
|
||||
|
||||
|
21
configure.ac
21
configure.ac
@ -2368,27 +2368,6 @@ else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
## ----------------------------------------------------------------------
|
||||
## Decide whether the data accuracy has higher priority during data
|
||||
## conversions. If not, some hard conversions will still be prefered even
|
||||
## though the data may be wrong (for example, some compilers don't
|
||||
## support denormalized floating values) to maximize speed.
|
||||
##
|
||||
AC_MSG_CHECKING([whether data accuracy is guaranteed during data conversions])
|
||||
AC_ARG_ENABLE([dconv-accuracy],
|
||||
[AS_HELP_STRING([--enable-dconv-accuracy],
|
||||
[if data accuracy is guaranteed during
|
||||
data conversions [default=yes]])],
|
||||
[DATA_ACCURACY=$enableval], [DATA_ACCURACY=yes])
|
||||
|
||||
if test "$DATA_ACCURACY" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([WANT_DATA_ACCURACY], [1],
|
||||
[Data accuracy is prefered to speed during data conversions])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
## ----------------------------------------------------------------------
|
||||
## Set the flag to indicate that the machine has window style pathname,
|
||||
## that is, "drive-letter:\" (e.g. "C:") or "drive-letter:/" (e.g. "C:/").
|
||||
|
@ -574,7 +574,6 @@ HDF5_STRICT_FORMAT_CHECKS "Whether to perform strict file format checks"
|
||||
HDF5_TEST_VFD "Execute tests with different VFDs" OFF
|
||||
HDF5_USE_16_API_DEFAULT "Use the HDF5 1.6.x API by default" OFF
|
||||
HDF5_USE_FOLDERS "Enable folder grouping of projects in IDEs." OFF
|
||||
HDF5_WANT_DATA_ACCURACY "IF data accuracy is guaranteed during data conversions" ON
|
||||
HDF5_WANT_DCONV_EXCEPTION "exception handling functions is checked during data conversions" ON
|
||||
HDF5_ENABLE_THREADSAFE "Enable Threadsafety" OFF
|
||||
if (APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user