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

[flang-rt] Set HAVE_LDBL_MANT_DIG_113. #130836

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Conversation

vzakhari
Copy link
Contributor

This check enables flang_rt.quadmath build on aarch64.

This check enables flang_rt.quadmath build on aarch64.
@vzakhari vzakhari requested review from Meinersbur and klausler March 11, 2025 21:12
@vzakhari vzakhari merged commit 6dbb531 into llvm:main Mar 11, 2025
10 checks passed
Bertik23 pushed a commit to Bertik23/llvm-project that referenced this pull request Mar 12, 2025
This check enables flang_rt.quadmath build on aarch64.
vzakhari added a commit to vzakhari/llvm-project that referenced this pull request Mar 12, 2025
I thought I guessed a fix in llvm#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.
vzakhari added a commit that referenced this pull request Mar 12, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants