On Sun, 2015-09-20 at 22:32 +0200, Jauhien Piatlicki wrote: > Hi, > > the first question is addressed both to llvm-dev and gentoo-dev. The > second one is Gentoo specific. > > Is there any possibility to build LLVM both as static and shared libraries? > > What I see currently is that our ebuild makes LLVM to build shared libs > unconditionally. Is there a possibility (if it is impossible to build > both lib types) to at least give to user control on what kind of libs he > will have?
I don't quite understand why you are asking all of gentoo-dev about this. Just create a bug in our bugzilla, ask for USE=static-libs to be supported in llvm, assign to llvm maintainers. Generally, the reason most ebuilds don't have support for static libraries is not because it's impossible, but because it's extra work for the maintainer which will probably never benefit anyone. Of course if you discover that some users really do need a static version of a library, then you try to support it in your ebuild. (But there are exceptions - gtk+ for example - where static libraries really cannot be supported due to upstream architectural decisions.)
