guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Use LLVM_BUILD_LLVM_DYLIB instead of BUILD_SHARED_LIBS


From: Maxim Cournoyer
Subject: Re: [RFC] Use LLVM_BUILD_LLVM_DYLIB instead of BUILD_SHARED_LIBS
Date: Mon, 22 Aug 2022 23:57:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi,

Zhu Zihao <all_but_last@163.com> writes:

> # Background
>
> Now in Guix. LLVM is built with configure flag
> "-DBUILD_SHARED_LIBS:BOOL=TRUE". According to
> https://llvm.org/docs/CMake.html. Build LLVM with `BUILD_SHARED_LIBS` is
> not recommended for non LLVM developing usage. LLVM says that packager
> should use `LLVM_BUILD_LLVM_DYLIB` instead.

[...]

> # Solution
>
> I suggest to replace `-DBUILD_SHARED_LIBS:BOOL=TRUE` with
> `-DLLVM_BUILD_LLVM_DYLIB:BOOL=TRUE`.

That's something I had been meaning to do for some time, but it fell
into the cracks.  I'd welcome this change; you may want to look at
'llvm-cling', which already builds using such flag.

Thanks,

Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]