Jakob Degen

Results 74 comments of Jakob Degen

> Does buck2 know how to execute the graph in this kind of order where we prioritize steps that block larger numbers of other steps? No, it does not. If...

There's a couple problems with implementing that: 1. Dynamic outputs means you can't even know that number. You could assume that each dynamic output is just one action, but that's...

> Could there be a parameter on a rule definition or invocation that just compels buck2 to prioritize building it? If you had such code written already, I wouldn't personally...

If you intend for the `out` artifact to be a directory, then you definitely need to declare it with `dir = True`, and buck is right to make you do...

@zjturner output of an action, not output of analysis. @AtomicOperation can you confirm, is the python script trying to make the `output` dir a symlink or the `toolchain_name` in the...

> can you explain this a little more? Isn't the entire point of projecting an artifact to create an output relative to some other output? Right, but the typical expectation...

Back from travel. I asked about this, and it would indeed be possible to support projecting through symlinks, at least external symlinks. However, it's a bit of a refactor because...

@thoughtpolice you could imagine doing this in a `dynamic_outputs` like way. Imagine essentially the exact same API that `dynamic_outputs` has today, except that on the call to `dynamic_outputs` you also...

(I'll respond to that last message in the PR)

> Couldn’t you do this with a dummy target that has a dep on each of your patterns? That's not really the same thing, those targets will end up in...