[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 16 08:31:27 PST 2024
Meinersbur wrote:
> I feel that in the short term (this patch) loosing the ability to build shared libs is a bit of a regression, and that it would be nice to have an option to do shared library instead of static (or just let `BUILD_SHARED_LIBS` drives that as it currently does until the options are ready).
Using shared libs was undocumented so far and CUDA/OpenMP builds are even erroring out on them. It didn't seem being considered by anyone when I started, similar to other CMake features like cross-compiling or multi-configuration build systems.
The new machanism will be different from `BUILD_SHARED_LIBS` so not reusing any of its code. On the other side it would be a significant burden now since it doubles the number of configurations I have to get working and testing now while it will be replaced in the short term anyway. I hope you are not planning a release that requires to contain a `.so` for compatibility reasons?
https://github.com/llvm/llvm-project/pull/110217
More information about the llvm-branch-commits
mailing list