From owner-freebsd-current@FreeBSD.ORG Thu May 29 12:42:12 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2664676 for ; Thu, 29 May 2014 12:42:12 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8791025AF for ; Thu, 29 May 2014 12:42:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4TCgCAl083579 for ; Thu, 29 May 2014 12:42:12 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4TCgChq083577 for freebsd-current@freebsd.org; Thu, 29 May 2014 12:42:12 GMT (envelope-from bdrewery) Received: (qmail 82292 invoked from network); 29 May 2014 07:42:10 -0500 Received: from unknown (HELO ?10.10.1.156?) (freebsd@shatow.net@10.10.1.156) by sweb.xzibition.com with ESMTPA; 29 May 2014 07:42:10 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: official pkg repo with WITHOUT_X11=true From: Bryan Drewery X-Mailer: iPhone Mail (11D201) In-Reply-To: <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org> Date: Thu, 29 May 2014 07:42:09 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20F90EAB-ADC5-468C-9AFD-73F93794C4B2@FreeBSD.org> <800bc8e04e4cfed10632cca993cce8fa@shatow.net> <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org> To: David Chisnall Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 12:42:12 -0000 > On May 29, 2014, at 4:19, David Chisnall wrote: >=20 >> On 29 May 2014, at 02:23, Bryan Drewery 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