-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[Flang-RT] Build libflang_rt.so #120213
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] Build libflang_rt.so #120213
Conversation
…lang_runtime_shared
…lang_runtime_shared
…lang_runtime_shared
…lang_runtime_shared
…lang_runtime_shared
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.
Thanks for moving in this direction!
if (ARG_STATIC AND FLANG_RT_ENABLE_STATIC) | ||
set(build_static ON) | ||
endif () | ||
if (ARG_SHARED AND FLANG_RT_ENABLE_SHARED) |
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.
I am not seeing the shared library version of libflang_rt being built with this patch. It seems build_shared
is always set to OFF because ARG_SHARED
is not set for flang_rt,
…lang_runtime_shared
Shoot. I only updated the branch with the same name in https://github.com/llvm/llvm-project. I created this PR from my personal's repository since it was supposed to be the last in the series. I created a new one at #110217, since I am planning another PR on top. Thanks for trying out and sorry for the confusion. NB. #110217 changes the default to |
Superseded by #121782 |
Under non-Windows platforms, also create a dynamic library version of the runtime. Build of either version of the library can be switched off using FLANG_RT_ENABLE_STATIC=OFF respectively FLANG_RT_ENABLE_SHARED=OFF. Default is to build both.
PR on top of #110217.