* Petition to remove hidden flag from cmake-minimal package
@ 2021-03-31 17:17 Tom Hiller
2021-04-01 20:02 ` Maxime Devos
0 siblings, 1 reply; 6+ messages in thread
From: Tom Hiller @ 2021-03-31 17:17 UTC (permalink / raw)
To: guix-devel; +Cc: piotr.krol
Could cmake-minimal be made publicly available as a version of cmake
without the documentation dependencies? I believe the only thing
preventing this is the hidden flag inherited from cmake-bootstrap.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Petition to remove hidden flag from cmake-minimal package
2021-03-31 17:17 Petition to remove hidden flag from cmake-minimal package Tom Hiller
@ 2021-04-01 20:02 ` Maxime Devos
2021-04-01 20:36 ` Tom Hiller
0 siblings, 1 reply; 6+ messages in thread
From: Maxime Devos @ 2021-04-01 20:02 UTC (permalink / raw)
To: Tom Hiller, guix-devel; +Cc: piotr.krol
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
On Wed, 2021-03-31 at 13:17 -0400, Tom Hiller wrote:
> Could cmake-minimal be made publicly available as a version of cmake
> without the documentation dependencies? I believe the only thing
> preventing this is the hidden flag inherited from cmake-bootstrap.
Technically, yes, but why? What's the use case you have in mind?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Petition to remove hidden flag from cmake-minimal package
2021-04-01 20:02 ` Maxime Devos
@ 2021-04-01 20:36 ` Tom Hiller
2021-04-02 8:52 ` Maxime Devos
2021-04-02 16:37 ` Ludovic Courtès
0 siblings, 2 replies; 6+ messages in thread
From: Tom Hiller @ 2021-04-01 20:36 UTC (permalink / raw)
To: Maxime Devos, guix-devel; +Cc: piotr.krol
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
I am using it with pack and the minimal requirement the size down but
also prevents a large number of dependencies from being pulled in when
building from source. I attached the dependency graphviz dot to
illustrate, the resulting png is roughly 7mb. This is only for cmake.
On 4/1/21 4:02 PM, Maxime Devos wrote:
> On Wed, 2021-03-31 at 13:17 -0400, Tom Hiller wrote:
>> Could cmake-minimal be made publicly available as a version of cmake
>> without the documentation dependencies? I believe the only thing
>> preventing this is the hidden flag inherited from cmake-bootstrap.
> Technically, yes, but why? What's the use case you have in mind?
[-- Attachment #2: cmake.dot --]
[-- Type: application/msword-template, Size: 45261 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Petition to remove hidden flag from cmake-minimal package
2021-04-01 20:36 ` Tom Hiller
@ 2021-04-02 8:52 ` Maxime Devos
2021-04-02 16:37 ` Ludovic Courtès
1 sibling, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2021-04-02 8:52 UTC (permalink / raw)
To: Tom Hiller, guix-devel; +Cc: piotr.krol
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
On Thu, 2021-04-01 at 16:36 -0400, Tom Hiller wrote:
> I am using it with pack
I assume as "guix pack cmake other-package ..."?
This seems a valid use case, although there is a
case to be made to only make the ‘fully capable’
packages visible.
In any case, you can work around this with
guix pack -e '(@ (gnu packages cmake) cmake-minimal)' other-package ...
This works for any exported package.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Petition to remove hidden flag from cmake-minimal package
2021-04-01 20:36 ` Tom Hiller
2021-04-02 8:52 ` Maxime Devos
@ 2021-04-02 16:37 ` Ludovic Courtès
2021-04-02 17:11 ` Tom Hiller
1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2021-04-02 16:37 UTC (permalink / raw)
To: Tom Hiller; +Cc: guix-devel, piotr.krol
Hi Tom,
Tom Hiller <thrilleratplay@gmail.com> skribis:
> I am using it with pack and the minimal requirement the size down but
> also prevents a large number of dependencies from being pulled in when
> building from source.
The latter is true and makes sense to me, but note that both take about
the same amount of space:
--8<---------------cut here---------------start------------->8---
$ guix size $(guix build -e '(@@ (gnu packages cmake) cmake-minimal)')|tail -1
total: 215.1 MiB
$ guix size cmake | tail -1
total: 217.8 MiB
--8<---------------cut here---------------end--------------->8---
The two are functionally equivalent (same run-time dependencies), which
I guess is the reason why ‘cmake-minimal’ isn’t public, unlike other
“-minimal” variants.
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Petition to remove hidden flag from cmake-minimal package
2021-04-02 16:37 ` Ludovic Courtès
@ 2021-04-02 17:11 ` Tom Hiller
0 siblings, 0 replies; 6+ messages in thread
From: Tom Hiller @ 2021-04-02 17:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel, piotr.krol
That is fair. Thank you,
On 4/2/21 12:37 PM, Ludovic Courtès wrote:
> Hi Tom,
>
> Tom Hiller <thrilleratplay@gmail.com> skribis:
>
>> I am using it with pack and the minimal requirement the size down but
>> also prevents a large number of dependencies from being pulled in when
>> building from source.
> The latter is true and makes sense to me, but note that both take about
> the same amount of space:
>
> --8<---------------cut here---------------start------------->8---
> $ guix size $(guix build -e '(@@ (gnu packages cmake) cmake-minimal)')|tail -1
> total: 215.1 MiB
> $ guix size cmake | tail -1
> total: 217.8 MiB
> --8<---------------cut here---------------end--------------->8---
>
> The two are functionally equivalent (same run-time dependencies), which
> I guess is the reason why ‘cmake-minimal’ isn’t public, unlike other
> “-minimal” variants.
>
> Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-02 17:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-31 17:17 Petition to remove hidden flag from cmake-minimal package Tom Hiller
2021-04-01 20:02 ` Maxime Devos
2021-04-01 20:36 ` Tom Hiller
2021-04-02 8:52 ` Maxime Devos
2021-04-02 16:37 ` Ludovic Courtès
2021-04-02 17:11 ` Tom Hiller
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.