summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-11-15 04:36:47 (GMT)
committerGitHub <noreply@github.com>2023-11-15 04:36:47 (GMT)
commite807dee0fd6c007d7c41327c1ed0e8f5bc617f72 (patch)
tree1215d6c4865a60a40a74e96dbcfb80c284ae12d1 /config/toolchain
parentf39b228a4cda701c363d4c32dced4065dd86dc3e (diff)
downloadhdf5-e807dee0fd6c007d7c41327c1ed0e8f5bc617f72.zip
hdf5-e807dee0fd6c007d7c41327c1ed0e8f5bc617f72.tar.gz
hdf5-e807dee0fd6c007d7c41327c1ed0e8f5bc617f72.tar.bz2
Add CMake long double cross-compile defaults (#3683)
HDF5 performs a couple of checks at build time to see if long double values can be converted correctly (IBM's Power architecture uses a special format for long doubles). These checks were performed using TRY_RUN, which is a problem when cross-compiling. These checks now use default values appropriate for most non-Power systems when cross-compiling. The cache values can be pre-set if necessary, which will preempt both the TRY_RUN and the default. Affected values: H5_LDOUBLE_TO_LONG_SPECIAL (default no) H5_LONG_TO_LDOUBLE_SPECIAL (default no) H5_LDOUBLE_TO_LLONG_ACCURATE (default yes) H5_LLONG_TO_LDOUBLE_CORRECT (default yes) H5_DISABLE_SOME_LDOUBLE_CONV (default no) Fixes GitHub #3585
Diffstat (limited to 'config/toolchain')
0 files changed, 0 insertions, 0 deletions