Date: Fri, 11 Jun 2010 13:56:12 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: ed@80386.nl Cc: freebsd-current@FreeBSD.org, andreast-list@fgznet.ch Subject: Re: How to disable CLANG & co build in buildworld? Message-ID: <20100611.135612.390976035288919690.imp@bsdimp.com> In-Reply-To: <20100611.132052.271446115462387749.imp@bsdimp.com> References: <4C128548.8090505@fgznet.ch> <20100611185237.GL56080@hoeg.nl> <20100611.132052.271446115462387749.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20100611.132052.271446115462387749.imp@bsdimp.com> "M. Warner Losh" <imp@bsdimp.com> writes: : In message: <20100611185237.GL56080@hoeg.nl> : Ed Schouten <ed@80386.nl> writes: : : Hello Andreas, : : : : * Andreas Tobler <andreast-list@fgznet.ch> wrote: : : > I have a sparc64 machine which is quite slow. And for my purpose I : : > do not need CLANG etc. atm. : : : : Clang is not enabled on sparc64, so there is no need to disable : : anything. If you do want to disable Clang on i386, amd64, pc98 or : : powerpc, add WITHOUT_CLANG=yes to /etc/src.conf, as described in : : src.conf(5). : : 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. And even if you add WITHOUT_CLANG to your src.conf, we still always build some of the clang infrastructure in the bootstrap tools phase... But we have to do that to avoid getting not being able to build clang on an architecture that doesn't have it for an architecture that does. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100611.135612.390976035288919690.imp>