[llvm-dev] Building SVN head with CMake - shared libraries?

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 14 09:38:12 PST 2016


> On Jan 14, 2016, at 5:18 AM, Dan Liew <dan at su-root.co.uk> wrote:
> 
> On 14 January 2016 at 11:24, David Jones via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Thanks - I'll try this tonight.
>> 
>> Assuming it works, should these variables be added to the docs at
>> http://llvm.org/docs/CMake.html ?
> 
> Yes.

It probably makes sense to add LLVM_BUILD_LLVM_DYLIB, but I would discourage adding BUILD_SHARED_LIBS to that document. BUILD_SHARED_LIBS is rarely what people actually want, and a lot of people gravitate to it because the wording is similar to the autoconf —enable-shared flag.

> 
> We should probably be updating [1] too given that this document talks
> exclusively about compiling with the Autoconf/Makefile build system.

Yes, we should update that too. I actually have been meaning to put a section up there documenting the Apple Clang packaging because that is almost entirely open source now. I’ll try to get that done this week.

> 
> @Hans @Chris:
> 
> Should the packaging instructions refer to the CMake or
> Autoconf/Makefile build system for the LLVM 3.8 release?

Maybe, I’ll defer that to Hans. I believe the packaging scripts are on CMake, so we’ve at least gotten that far.

> 
> 
> [1] http://llvm.org/docs/Packaging.html



More information about the llvm-dev mailing list