-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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] Set compile definitions for flang-rt build on AIX #127919
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this otherwise come from
llvm-project/llvm/CMakeLists.txt
Line 1189 in 0181af2
if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX") |
Besides such global configuration changes not conforming modern CMake, this didn't work for standalone Flang builds either.
Yes, it is from there. |
Co-authored-by: Michael Kruse <github@meinersbur.de>
I will take a look of it. |
After commit b55f751, the flang-rt build on AIX is missing `-D_LARGE_FILE_API -D_XOPEN_SOURCE=700` in compiling the source. This patch is to add the compile definitions. --------- Co-authored-by: Michael Kruse <github@meinersbur.de>
After commit b55f751, the flang-rt build on AIX is missing `-D_LARGE_FILE_API -D_XOPEN_SOURCE=700` in compiling the source. This patch is to add the compile definitions. --------- Co-authored-by: Michael Kruse <github@meinersbur.de>
After commit b55f751, the flang-rt build on AIX is missing `-D_LARGE_FILE_API -D_XOPEN_SOURCE=700` in compiling the source. This patch is to add the compile definitions. --------- Co-authored-by: Michael Kruse <github@meinersbur.de>
After b55f751 (PR #110217), the flang-rt build on AIX is missing
-D_LARGE_FILE_API -D_XOPEN_SOURCE=700
in compiling the source. This patch is to add the compile definitions.