Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMake long double cross-compile defaults #3683

Merged

Commits on Oct 15, 2023

  1. Add CMake long double cross-compile defaults

    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 HDFGroup#3585
    derobins committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    027034b View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Use ${def} instead of $def

    derobins committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e502668 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    e2f723d View commit details
    Browse the repository at this point in the history