From owner-freebsd-current@FreeBSD.ORG Thu May 29 22:06:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5602E2C3; Thu, 29 May 2014 22:06:38 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1219C2D0D; Thu, 29 May 2014 22:06:38 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id l6so1040819oag.30 for ; Thu, 29 May 2014 15:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=V27PvkNpQOTQ0x8OHW3lgNiYMbUHlCbr2jIK1MsiySI=; b=06aCPN6TTzxQFBZ04Ry8x6ooKTUIUSGqK8nBmthW2nUTkoQcRmHFGj5zTASdMZg6ub mhSMtvPfKbEfclauDfaTkAdebsVx08d7Ob3uIe0TAcE4cfko0Xtni5DlsYVX10OWZYYT h0nSD6E0TEIMUjbfd91yyizplerzteJyNG5UCbMFatV8p8yqBqkvvkNGb6qJdwAFu/l9 6WVLZ21fYvdAhM6bk1ee6gIqCFVuEYJZ7l0plJNgEQNCKJFIoWTdRLSw4zee7C+f9Yh4 1GMu3YiATy3AUKEZUSzvjOm1ivMnlNC/178pthODdlEvowYsCb/6MvEn94N8Ewv7bDEt cFcg== MIME-Version: 1.0 X-Received: by 10.182.109.226 with SMTP id hv2mr12040953obb.79.1401401197223; Thu, 29 May 2014 15:06:37 -0700 (PDT) Received: by 10.76.170.39 with HTTP; Thu, 29 May 2014 15:06:37 -0700 (PDT) In-Reply-To: <53874244.5060609@freebsd.org> References: <20F90EAB-ADC5-468C-9AFD-73F93794C4B2@FreeBSD.org> <800bc8e04e4cfed10632cca993cce8fa@shatow.net> <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org> <53874244.5060609@freebsd.org> Date: Fri, 30 May 2014 00:06:37 +0200 Message-ID: Subject: Re: official pkg repo with WITHOUT_X11=true From: Andreas Nilsson To: Allan Jude Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Current FreeBSD 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 22:06:38 -0000 On Thu, May 29, 2014 at 4:20 PM, Allan Jude wrote: > On 2014-05-29 08:42, Bryan Drewery wrote: > > > >> On May 29, 2014, at 4:19, David Chisnall wrote: > >> > >>> On 29 May 2014, at 02:23, Bryan Drewery 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