Date: Fri, 30 May 2014 00:06:37 +0200 From: Andreas Nilsson <andrnils@gmail.com> To: Allan Jude <allanjude@freebsd.org> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: official pkg repo with WITHOUT_X11=true Message-ID: <CAPS9%2BSv%2BeSQU==8BYubQ=W2_k13EnS=Zkps96vB7kd%2BQteRCBg@mail.gmail.com> In-Reply-To: <53874244.5060609@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> <E7AB8D4C-24DC-4E7E-A46F-441AE2C84806@FreeBSD.org> <53874244.5060609@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 29, 2014 at 4:20 PM, Allan Jude <allanjude@freebsd.org> wrote: > On 2014-05-29 08:42, Bryan Drewery wrote: > > > >> On May 29, 2014, at 4:19, David Chisnall <theraven@FreeBSD.org> wrote: > >> > >>> On 29 May 2014, at 02:23, Bryan Drewery <bdrewery@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. > > > > That would be a great improvement for the 'sets' feature in poudriere. > Almost all of my different sets have some overlap. Although this would > either require the 'queue' system you are working on, to say build sets > X, Y, and Z, and if there is any overlap share it. Or, augment the set > feature with an additional flag to specify a 'parent' set or something, > -z myset -Z commonset to tell it an already built set where it can steal > packages from. > > >> > >> David > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > > > -- > Allan Jude > > Having a "parent" set would be nice, yes. I maintain two repos for several FreeBSD-versions. Being able to pull some of the deps from packages instead of blindingly building would be nice. Best regards Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSv%2BeSQU==8BYubQ=W2_k13EnS=Zkps96vB7kd%2BQteRCBg>