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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Petr Hosek via llvm-branch-commits
  • [... Petr Hosek via llvm-branch-commits
  • [... Petr Hosek via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... Valentin Clement バレンタイン クレメン via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... Michael Kruse via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... via llvm-branch-commits
  • [... via llvm-branch-commits

Reply via email to