From owner-freebsd-current@FreeBSD.ORG Fri Jun 11 20:35:45 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 129A61065674 for ; Fri, 11 Jun 2010 20:35:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id C4A758FC21 for ; Fri, 11 Jun 2010 20:35:44 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 0E90C2A28CC4; Fri, 11 Jun 2010 22:35:44 +0200 (CEST) Date: Fri, 11 Jun 2010 22:35:44 +0200 From: Ed Schouten To: "M. Warner Losh" Message-ID: <20100611203544.GA1797@hoeg.nl> References: <4C128548.8090505@fgznet.ch> <20100611185237.GL56080@hoeg.nl> <20100611.132052.271446115462387749.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20100611.132052.271446115462387749.imp@bsdimp.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: andreast-list@fgznet.ch, 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 20:35:45 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * M. Warner Losh wrote: > Except that clang isn't quite disabled when cross-building, due to the > issue I pointed out when the commit went in wrt bsd.own.mk. > MACHINE_ARCH is still amd64 until we start to build the sparc64 > binaries, so anything in the bootstrapping part of the build will not > be disabled. that's one of many reasons disabling things in > bsd.own.mk based on architecture is going to fail. Exactly. I already mentioned this problem on arch@ back in May. That's why a small portion of LLVM, namely tblgen, is always built. Even though this will slightly increase the build time, it shouldn't be excessive. If someone knows of a nice way to fix this, I am more than willing to get it fixed. It should be noted that tblgen is not the only tool that may get built for nothing. Another example is aicasm, which is always built, even if ahc is not placed in the kernel configuration file. --=20 Ed Schouten WWW: http://80386.nl/ --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwSniAACgkQ52SDGA2eCwXWxgCfdx7honquo8GhbFG+ye2+zkCi YY0An1hMuLjaCjsxuOx5QzYDeOYEA96j =YMy1 -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--