[Top][All Lists]

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

[bug#42576] [PATCH 1/2] gnu: llvm: Move dynamic libraries to a separate

From: Jakub Kądziołka
Subject: [bug#42576] [PATCH 1/2] gnu: llvm: Move dynamic libraries to a separate "lib" output.
Date: Fri, 7 Aug 2020 20:09:44 +0200

On Tue, Jul 28, 2020 at 11:58:22AM +0200, Pierre Neidhardt wrote:
> * gnu/packages/llvm.scm (llvm)[arguments]: Set configure-flags to build
> a dynamic library bundle in the "lib" output.
> Add phases to move the /bin and /include directories to the "out" output.
> The goal of this change is to reduce the closure size of LLVM dependents.
> - The dynamic library bundles saves a few dozen MiB over the separate dynamic
>   libraries.
> - Removing the /bin and the /include directories from the dependent input
>   saves about 35 MiB for LLVM 10.


please note that cmake seems to store a list of files installed by the
package, which broke cmake-using dependents of clang when we attempted
to change the set of files installed:

Did you try building something that depends on LLVM and uses

Jakub Kądziołka

Attachment: signature.asc
Description: PGP signature

reply via email to

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