Skip to content

Conversation

vzakhari
Copy link
Contributor

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.

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 vzakhari requested review from Meinersbur and klausler March 12, 2025 18:41
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Mar 12, 2025
@vzakhari vzakhari merged commit c542991 into llvm:main Mar 12, 2025
11 of 12 checks passed
frederik-h pushed a commit to frederik-h/llvm-project that referenced this pull request Mar 18, 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants