We end up needing to support a bunch of build systems, but the maintenance cost of having every developer update all of them would be excessive. So we've got a bunch of relatively ad-hoc scripts that read build.yaml, process it a little, and feed it into the mako-templates-embedded-in-yaml that you've found.
Most of the support-a-new-build-system work comes down to writing a template to extract the bits you need (copy-paste from existing examples works marvelously). We don't have a way to code generate the codegen warning comment, so it gets typed into the templates, which is really confusing I agree, but O(nobody) looks there and there have been bigger fish to fry... We'd much rather spend time building RPC systems. On Mon, Apr 3, 2017, 3:24 AM Mike Lee <[email protected]> wrote: > There seems to be a lot of crazy stuff with mako, yaml, bazel, > Cmake....jesus christ what the hell is going on?? > > maybe i should just try redis.....but this looks more interesting. > > any help on how all these fit together would be appreciated. the docs seem > outdated and a lot of the links are broken. > > thanks > > On Monday, April 3, 2017 at 3:56:13 PM UTC+10, Nicolas Noble wrote: > > https://github.com/grpc/grpc/blob/master/INSTALL.md > > On Sun, Apr 2, 2017, 21:49 Mike Lee <[email protected]> wrote: > > Hello, > > I am trying to fiddle with this project so I can learn C better with a > real project however I am extremely confused with the build process of this > project. This whole mako thing makes absolutely no sense to me and the docs > are rubbish. > > For example, in > .../master/templates/gRPC-Core.podspec.template > > the following notice is present: > > # This file has been automatically generated from a template file. > # Please make modifications to `templates/gRPC-Core.podspec.template` > # instead. This file can be regenerated from the template by running # > `tools/buildgen/generate_projects.sh`. > > So I have to edit the same template file that generates the template file? > Am I missing something? Where can I find more information on how this > project gets build exactly? thanks in advance > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > > > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/4a226cb1-83c5-47fb-a1c9-22447c1b9bc6%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/4a226cb1-83c5-47fb-a1c9-22447c1b9bc6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/4e7449aa-e0d4-4e1c-b6fd-b5dd4594ee97%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/4e7449aa-e0d4-4e1c-b6fd-b5dd4594ee97%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAvp3oMLp%2BD9m2GradXw7e7zi%2Be6hzfvCDNZ4tNbyf%2BxiVtfRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
