[all-commits] [llvm/llvm-project] c54299: [flang-rt] Fixed HAVE_LDBL_MANT_DIG_113 detection....

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Mar 12 16:50:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c542991703956bdc42ad6ab07b1d47e5db06fb2b
      https://github.com/llvm/llvm-project/commit/c542991703956bdc42ad6ab07b1d47e5db06fb2b
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M flang-rt/CMakeLists.txt
    M flang/cmake/modules/FlangCommon.cmake

  Log Message:
  -----------
  [flang-rt] Fixed HAVE_LDBL_MANT_DIG_113 detection. (#131010)

I thought I guessed a fix in #130836, but I was wrong.
We actually had the same code in
`flang/cmake/modules/FlangCommon.cmake`.
The check does not pass in flang-rt bootstrap build, because
`-nostdinc++` is added for all `runtimes` checks.
I decided to make the check with the C header, though, I am still
unsure whether it is reliable with a clang that has not been
installed (it is taken from the build structure during flang-rt
configure step).
I verified that this PR enables REAL(16) math entries on aarch64.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list