From owner-freebsd-arch@FreeBSD.ORG Wed May 19 15:46:58 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3124A106567B for ; Wed, 19 May 2010 15:46:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 805CE8FC21 for ; Wed, 19 May 2010 15:46:57 +0000 (UTC) Received: (qmail 26670 invoked by uid 399); 19 May 2010 15:46:56 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 May 2010 15:46:56 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF407EF.7010508@FreeBSD.org> Date: Wed, 19 May 2010 08:46:55 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: John Baldwin References: <20100514152408.GN56080@hoeg.nl> <4BF30230.8020001@FreeBSD.org> <20100519071630.GA77151@freebsd.org> <201005190904.22248.jhb@freebsd.org> In-Reply-To: <201005190904.22248.jhb@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Ed Schouten , Roman Divacky , freebsd-arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 15:46:58 -0000 On 5/19/2010 6:04 AM, John Baldwin wrote: > On Wednesday 19 May 2010 3:16:30 am Roman Divacky wrote: >> On Tue, May 18, 2010 at 02:10:08PM -0700, Doug Barton wrote: >>> On 5/18/2010 12:35 AM, Roman Divacky wrote: >>>> two now (clang and tblgen) with one more coming soon (llvm-mc/as) >>> >>> With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. >> >> the tblgen is used only for building clang/llvm stuff so I don't >> think it deserves it's own directory. maybe we should not even >> install in during installworld > > Given that we nest for gcc, I think it is fine to nest for clang. That makes it sound like it's some sort of privilege that we don't want clang to feel bad about if it doesn't get. :) In any case, if tblgen isn't even used other than as a build tool then I agree, "nesting" is reasonable, and I think Roman is right that it shouldn't be installed either. Not that the BIND bmake is authoritative in any way, but it has a parallel here in that I have to build the BIND libs in order to build the binaries but unless the user twiddles the knob I don't install the libs. ... which leads to hopefully my last suggestion, if there is _any_ chance that it would be useful to have tblgen installed then providing a knob to do so (defaulting to off of course) is cheap, and will prevent you having to rework the code later when someone requests it (and believe me, someone will). :) hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/