[llvm-dev] GN build roundtable summary; adding GN build files to the repo

Petr Hosek via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 31 17:29:13 PDT 2018


On Wed, Oct 31, 2018 at 5:15 PM John Paul Adrian Glaubitz
<glaubitz at physik.fu-berlin.de> wrote:
>
> On 11/1/18 1:10 AM, John Paul Adrian Glaubitz via llvm-dev wrote:
> > Jepp, hasn't changed. If building your build system involves downloading a Debian
> > chroot with a hard-coded architecture, you're doing something wrong. And from my personal
> > experience with Google upstream, you can outright forget that they would accept patches
> > for any target that they are not using themselves.

I'm one of GN maintainers, I'd be happy to review to review and
patches for other systems and architectures. We accepted AIX port a
few months ago:
https://gn.googlesource.com/gn/+/499868c6781dfb87dcefafd8f68dc578f3b70b44

> Oh, and btw, any serious Linux distribution would outright reject to package
> something that involves downloading another chroot to be able to build it,
> build daemons are - by definition - offline.

We're downloading the sysroot we use to build against to avoid
dependencies on anything on the bot itself. I agree with you
completely that this is something that build shouldn't do, and I plan
on moving that step to the bot script.

Until a few months ago, GN was part of Chromium and was relying on its
infrastructure, build and source. We've decided to split GN into a
separate project because it's being adopted by other projects and
users outside of Chromium. We're still dealing with fallout of that
separation and resulting cleanup. I hope that eventually building GN
will be as simple and easy as Ninja itself.

> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>


More information about the llvm-dev mailing list