Date: Mon, 31 May 2010 12:30:46 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: Roman Divacky <rdivacky@freebsd.org> Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD Message-ID: <AANLkTimQnzrBR-nN2dfrt32TYIMEY85Ivb0sBsfmlZMe@mail.gmail.com> In-Reply-To: <20100531161713.GA60782@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 31, 2010 at 9:17 AM, Roman Divacky <rdivacky@freebsd.org> wrote= : > On Mon, May 31, 2010 at 09:14:09AM -0700, Bakul Shah wrote: >> On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky <rdivacky@freebsd.org> = =A0wrote: >> > >> > I would like to propose to integrate clang/LLVM into FreeBSD HEAD >> > in the near future (days, not weeks). >> > >> > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly >> > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the >> > svn checkout is 97MB). Clang/LLVM is written in C++. >> > >> > Clang can compile all of FreeBSD on i386/amd64 including world and boo= ting >> > kernel. Other architectures that are close to working are MIPS, PowerP= C >> > and ARM. We have a branch (clangbsd-import) that just includes clang/L= LVM >> > sources and the build infrastructure and this is what we aim to integr= ate >> > at first. >> > >> > The import of clang/LLVM was discussed at the toolchain summit May 10t= h >> > but I would like to hear your opinion. I got approval from core@ on >> > importing it. >> > >> > So please share your support or resistance to the idea of importing cl= ang. >> > >> > Roman Divacky >> >> I already use clang for some things but I think the issue >> here is not support/resistance but something else: >> >> * IMHO for a change of this nature the core needs to publish >> =A0 a set of clear acceptance criteria for importing clang. >> =A0 Can this be done? > > I asked core@ and they support the import > >> * Since clang doesn't support all the archs, what is the plan >> =A0 for unsupported archs? >> =A0 a. Is FreeBSD going to have both compilers in the base? > > yes, this is what this import is about - importing clang, > nothing else changes > >> =A0 b. Is the project drop these FreeBSD ports? or > > no, of course not > >> =A0 c. Do people have to import gcc from ports to build these >> =A0 =A0 =A0FreeBSD ports? > > nothing is being changed, just one more application after > a buildworld/installworld appears (that being clang) How much time (with -j1, approximately) does it take to build clang? Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimQnzrBR-nN2dfrt32TYIMEY85Ivb0sBsfmlZMe>