Date: Thu, 29 May 2014 07:42:09 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: David Chisnall <theraven@FreeBSD.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: official pkg repo with WITHOUT_X11=true Message-ID: <E7AB8D4C-24DC-4E7E-A46F-441AE2C84806@FreeBSD.org> In-Reply-To: <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org> References: <alpine.BSF.2.00.1405281803440.43518@erdgeist.org> <20F90EAB-ADC5-468C-9AFD-73F93794C4B2@FreeBSD.org> <800bc8e04e4cfed10632cca993cce8fa@shatow.net> <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On May 29, 2014, at 4:19, David Chisnall <theraven@FreeBSD.org> wrote: >=20 >> On 29 May 2014, at 02:23, Bryan Drewery <bdrewery@FreeBSD.org> wrote: >>=20 >> 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 i= t >> when WITHOUT_X11 is set to prevent wasting time on it. >=20 > We can probably do a bit better by looking at the complete dependency grap= h and removing any ports that have unconditional dependencies on X. For a h= eadless 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. =20 Yeah. My point was more that poudriere can't do that now and I would rather n= ot add all that special-case logic to it. Clever make.conf logic might be ab= le to do it. >=20 > Longer term, we may be able to share the build time a bit. Ports which do= n't have a WITHOUT_X11 flag and don't unconditionally depend on X11 can pote= ntially 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 s= upport to build in the no-Xorg run. Yup! I have a patch for that in the works. >=20 > David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7AB8D4C-24DC-4E7E-A46F-441AE2C84806>