From owner-svn-src-all@FreeBSD.ORG Fri Mar 29 08:58:59 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23EAB697; Fri, 29 Mar 2013 08:58:59 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (mail.vlakno.cz [178.238.39.38]) by mx1.freebsd.org (Postfix) with ESMTP id DEF3C359; Fri, 29 Mar 2013 08:58:58 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id 320CC1CC55D5; Fri, 29 Mar 2013 09:49:53 +0100 (CET) Date: Fri, 29 Mar 2013 09:49:53 +0100 From: Roman Divacky To: Andrew Turner Subject: Re: svn commit: r248856 - head/share/mk Message-ID: <20130329084953.GA63728@freebsd.org> References: <201303282249.r2SMnnpl030602@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201303282249.r2SMnnpl030602@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 08:58:59 -0000 Thank you for all the work you've done to make this possible! Hopefully other archs (powerpc and mips?) will follow soon. On Thu, Mar 28, 2013 at 10:49:49PM +0000, Andrew Turner wrote: > Author: andrew > Date: Thu Mar 28 22:49:49 2013 > New Revision: 248856 > URL: http://svnweb.freebsd.org/changeset/base/248856 > > Log: > Welcome clang as the default compiler on ARM. > > Change the default compiler for little-endian ARM to clang to allow for more > testing before 10.0 is released. As LLVM and clang currnetly lack support > for big-endian ARM leave gcc as the default there. > > This will also allow us to investigate moving to use the hard floating-point > version of the ARM EABI on SoCs that include the Vector Floating Point unit. > A version of this is included in all ARMv6 and ARMv7 SoCs we currently, and > are likely to support. > > Both the current ABI and the new EABI are supported by clang and it will be > built correctly depending on which is selected by the user. > > Modified: > head/share/mk/bsd.own.mk > > Modified: head/share/mk/bsd.own.mk > ============================================================================== > --- head/share/mk/bsd.own.mk Thu Mar 28 21:26:19 2013 (r248855) > +++ head/share/mk/bsd.own.mk Thu Mar 28 22:49:49 2013 (r248856) > @@ -401,8 +401,9 @@ __DEFAULT_NO_OPTIONS+=CLANG_FULL > .else > __DEFAULT_NO_OPTIONS+=CLANG CLANG_FULL > .endif > -# Clang the default system compiler only on x86. > -.if ${__T} == "amd64" || ${__T} == "i386" > +# Clang the default system compiler only on little-endian arm and x86. > +.if ${__T} == "amd64" || ${__T} == "arm" || ${__T} == "armv6" || \ > + ${__T} == "i386" > __DEFAULT_YES_OPTIONS+=CLANG_IS_CC > .else > __DEFAULT_NO_OPTIONS+=CLANG_IS_CC