From owner-freebsd-current@FreeBSD.ORG Fri Jun 11 21:16:11 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A04951065780 for ; Fri, 11 Jun 2010 21:16:11 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 61AB58FC16 for ; Fri, 11 Jun 2010 21:16:11 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 5CDB41FFC34; Fri, 11 Jun 2010 21:16:10 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 6499C84430; Fri, 11 Jun 2010 23:14:00 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ed Schouten References: <4C128548.8090505@fgznet.ch> <20100611185237.GL56080@hoeg.nl> <20100611.132052.271446115462387749.imp@bsdimp.com> <20100611203544.GA1797@hoeg.nl> Date: Fri, 11 Jun 2010 23:14:00 +0200 In-Reply-To: <20100611203544.GA1797@hoeg.nl> (Ed Schouten's message of "Fri, 11 Jun 2010 22:35:44 +0200") Message-ID: <8639wttgpz.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: andreast-list@fgznet.ch, "M. Warner Losh" , freebsd-current@freebsd.org Subject: Re: How to disable CLANG & co build in buildworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 11 Jun 2010 21:16:11 -0000 Ed Schouten writes: > Exactly. I already mentioned this problem on arch@ back in May. That's > why a small portion of LLVM, namely tblgen, is always built. tblgen + two libraries that it needs. However, we never install tblgen, and that is a problem, because it means we can't "make" in /usr/src/lib/clang - the only way to build clang is with make toolchain, make buildworld or make buildenv, which is ridiculous. All it takes is this simple patch: Index: usr.bin/clang/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- usr.bin/clang/Makefile (revision 209062) +++ usr.bin/clang/Makefile (working copy) @@ -1,5 +1,5 @@ # $FreeBSD$ =20 -SUBDIR=3D clang +SUBDIR=3D clang tblgen =20 .include DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no