Re: [gentoo-dev] New project: LLVM

2016-08-20 Thread Lei Zhang
2016-08-20 1:13 GMT+08:00 C Bergström : > I finally got it to build and here's the size numbers > 952K./lib/libc++abi.a > 616K./lib/libc++abi.so.1.0 > > If the above isn't enough motivation and you really want benchmarks > which prove it's a pig... I'll try to figure something else > > Not

Re: [gentoo-dev] New project: LLVM

2016-08-19 Thread Lei Zhang
2016-08-19 11:11 GMT+08:00 C Bergström : > I think you're getting a bit confused > > libsupc++ is the default now, from GNU > > libcxxabi is the bloated runtime from Apple > > libcxxrt is the faster c++ runtime, PathScale+David Chisnall, which > PathScale and FreeBSD use by default. We don't need a

Re: [gentoo-dev] New project: LLVM

2016-08-18 Thread Lei Zhang
2016-08-19 10:07 GMT+08:00 : > That seems a lot like what we've already done. I guess a GSOC student is > working on the libcxxabi piece. I am that GSoC student :) I'm currently trying to push libc++abi to replace libcxxrt as the default runtime: https://github.com/gentoo/gentoo/pull/2048 The

Re: [gentoo-dev] New project: LLVM

2016-08-18 Thread Lei Zhang
2016-08-18 21:56 GMT+08:00 C Bergström : > @mgorny may be able to help with some of this and has quite a bit of > experience building clang/llvm. Where I work we use a "wrapper" that > helps coordinate a lot of the moving pieces. > > https://github.com/pathscale/llvm-suite/ > > This may not be the

Re: [gentoo-dev] [RFC] new eselect module: compiler

2016-08-09 Thread Lei Zhang
2016-08-10 0:16 GMT+08:00 Zac Medico : > I'm guessing you Darwin folks don't compile many Linux kernels? The last > I heard, clang is not yet a drop-in replacement for gcc when building > the Linux kernel: > > http://llvm.linuxfoundation.org/index.php/Main_Page Yes, Linux kernel has to be buil

Re: [gentoo-dev] [RFC] new eselect module: compiler

2016-08-09 Thread Lei Zhang
2016-08-09 13:58 GMT+08:00 Fabian Groffen : > As a question to Lei, I'm wondering why you chose eselect compiler, and > not gcc-config to manage the links. In a way, gcc-config is tailored > towards gcc, but it does a lot of things also for the environment. With > clang, from my experience, you j

Re: [gentoo-dev] [RFC] new eselect module: compiler

2016-08-08 Thread Lei Zhang
2016-08-06 21:45 GMT+08:00 James Le Cuirot : > On Thu, 28 Jul 2016 13:16:45 +0800 > Lei Zhang wrote: > >> I'm proposing to offer a new eselect module "compiler". Briefly >> speaking, it manages /usr/bin/{cc,c++} as symlinks to C/C++ compilers >> specified

[gentoo-dev] [RFC] new eselect module: compiler

2016-07-27 Thread Lei Zhang
Hi, I'm proposing to offer a new eselect module "compiler". Briefly speaking, it manages /usr/bin/{cc,c++} as symlinks to C/C++ compilers specified by the user. This is related to my GSoC project: to use clang as the native compiler in Gentoo. While putting "CC=clang" in make.defaults could make

[gentoo-dev] [GSoC] Introduction

2016-03-10 Thread Lei Zhang
Hi Gentoo community, My name is Lei Zhang, and I'm currently a master program student at Peking University, China. I'm generally interested in system-level programming and have worked on several projects related to this area before. I also participated in GSoC last year contributi