[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rethinking propagated inputs?
From: |
宋文武 |
Subject: |
Re: Rethinking propagated inputs? |
Date: |
Tue, 07 Sep 2021 20:22:09 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello, good plan!
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> At this point the question then becomes what to name this "build"
> output and what to put into it besides pkg-config stuff.
In Debian, it's a "dev" package, includes .h (C headers), .pc, .a
(static libraries).
> Particularly in the land of glib, there also exist typelibs, which can
> be used as "build" inputs in the case of Vala or as runtime inputs in
> the case of pygobject and other language bindings.
It's "gir1.2-glib-2.0" in debian, we can add a "gir" output.
> Perhaps this is
> early bikeshedding when we'd actually need to code up #:by, but what
> would be the better approach here? Separate "build" into
> "pkg-config", "cmake" (for CMake-based package discovery), "typelib"
> etc. or have one more or less anonymous blob called "build"?
I think we should have "build" (or "dev") and "typelib" (or "gir"), but
not "pkg-config" and "cmake" in most cases.
With a "dev" output, we don't need 'propagated-inputs' in other outputs
most cases, so reduce the mess for profiles.
With a "typelib" output, we can reduce the runtime closure size for
packages which don't depends on them.
The build time clojure size reduced by "pkg-config" and "cmake" outputs is
small.
- Re: Guix Jargon File (WAS: Rethinking propagated inputs?), (continued)
Re: Rethinking propagated inputs?, Maxime Devos, 2021/09/05
- Re: Rethinking propagated inputs?, Liliana Marie Prikler, 2021/09/05
- Re: Rethinking propagated inputs?, Maxime Devos, 2021/09/05
- Re: Rethinking propagated inputs?, Liliana Marie Prikler, 2021/09/05
- Re: Rethinking propagated inputs?, Maxime Devos, 2021/09/05
- Re: Rethinking propagated inputs?, Liliana Marie Prikler, 2021/09/05
- Re: Rethinking propagated inputs?, Maxime Devos, 2021/09/07
- Re: Rethinking propagated inputs?,
宋文武 <=
Re: Rethinking propagated inputs?, Maxim Cournoyer, 2021/09/06
Re: Rethinking propagated inputs?, Liliana Marie Prikler, 2021/09/06
Re: Rethinking propagated inputs?, Sarah Morgensen, 2021/09/07
Re: Rethinking propagated inputs?, Liliana Marie Prikler, 2021/09/08
Re: Rethinking propagated inputs?, iskarian, 2021/09/08
Re: Rethinking propagated inputs?, Ludovic Courtès, 2021/09/08
Re: Rethinking propagated inputs?, zimoun, 2021/09/08