Re: official pkg repo with WITHOUT_X11=true

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Thu, 29 May 2014 07:42:09 -0500
> On May 29, 2014, at 4:19, David Chisnall <theraven_at_FreeBSD.org> wrote:
> 
>> On 29 May 2014, at 02:23, Bryan Drewery <bdrewery_at_FreeBSD.org> wrote:
>> 
>> As for skipping unneeded ports the best I can do is '-a' or "Build it all".
>> If a port is only needed for WITH_X11 then an IGNORE should be added to it
>> when WITHOUT_X11 is set to prevent wasting time on it.
> 
> We can probably do a bit better by looking at the complete dependency graph and removing any ports that have unconditional dependencies on X.  For a headless server, there's no reason to build any of the kde-* or gnome-* ports or, indeed, X itself.  I suspect that we could easily trim 2/3 of the build time by omitting ports that have a GUI, GUI toolkits, and so on.  

Yeah. My point was more that poudriere can't do that now and I would rather not add all that special-case logic to it. Clever make.conf logic might be able to do it.

> 
> Longer term, we may be able to share the build time a bit.  Ports which don't have a WITHOUT_X11 flag and don't unconditionally depend on X11 can potentially be pre-seeded from the normal package build (if we can identify them).  That only leaves the ports that actually have build-time conditional X support to build in the no-Xorg run.

Yup! I have a patch for that in the works.

> 
> David
Received on Thu May 29 2014 - 10:42:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC