zjturner

Results 75 comments of zjturner

Not privvy to any internal discussions, but just thinking out loud. Metadata is arbitrary, untyped, and only loosely structured (insofar as json itself is structured). But rules have to be...

Is there a roadmap for this? That's pretty critical to being able to support outside contributions.

Actually, re-opening this because it seems I'm still not quite there yet. For some reason, I'm getting duplicate entries for certain cpp files: a pic version and a non pic...

But what I don't understand is that they're from the same target. For a given target platform (in this case the one with configuration hash 23b3e4bdecafe14a), why would the same...

If that’s the case, couldn’t `cxx_library` be taught to do it natively?

Ok, let's say I change my python script so that it takes multiple inputs on the command line, and generates multiple outputs. 1 input -> 1 output. Then how do...

I could also have multiple genrules, one for each generated input/output pair. But I can't get `cxx_library()` to consume that either. It seems like `cxx_genrule()` is really intended for this...

It’s very strange that there is no rule combination out of the box that can do this. Doesn’t anything at Meta use (for example) protobufs? How would this work?

One solution that i think might even be the best solution is to create a new rule like generated_cxx. I think if you have it return a CPreprocessorInfo, then include...

I suspect he means that if the genrule is :foo and it generates sources and headers, and:bar is a cxx_library that compiles the generated sources, and :baz is a cxx_library...