On Wed, 2019-05-22 at 15:21 +0200, Hans Ã…berg wrote: > > On 22 May 2019, at 08:54, Erik Faye-Lund < > > erik.faye-l...@collabora.com> wrote: > > > > The problem is that Bison doesn't seem to have any mechanism for > > doing > > statements like these conditionally. The only way around that that > > I > > can see is to pre-process the source files somehow. But especially > > with > > three different build systems, that's not really a venue I find > > particularly attractive. If someone can think of a neat solution, I > > would certainly love to hear about it :) > > One can set the distribution so that the Bison sources are only re- > compiled if modified. >
This would only work for tarballs, though, no? Otherwise we'd need to commit the generated files, which is tricky because the location depends on where the build-dir is located, and would probably not play well with different developers having different versions, leading to variance in the generated result. I don't really think this would work for us in Mesa. We no longer generate the distribution using autotools since we switched to Meson, we just do git archive these days. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev