[PATCH xserver 0/3] meson build for xserver

Eric Anholt eric at anholt.net
Thu Apr 27 19:03:45 UTC 2017


Adam Jackson <ajax at nwnk.net> writes:

> On Tue, 2017-04-25 at 16:02 -0700, Eric Anholt wrote:
>
>> meson build/ -Dxephyr=true  # ./configure equivalent
>> mesonconf build/ -Ddmx=yes  # Turns on a feature later.
>
> I also found useful:
>
> mesonconf build/  # display available build options and their values
>
> Eric updated this slightly on his meson branch, which I've merged:
>
> remote: E: failed to find patch for rev 1549e30372756cfdb85379fd8d93c769297ab6e6.
> remote: I: 0 patch(es) updated to state Accepted.
> To ssh://git.freedesktop.org/git/xorg/xserver
>    c7be7a688..1549e3037  master -> master
>
> I'm not sure when exactly we'll be able to be rid of the automake
> build. If nothing else, meson's requirement for python3 makes building
> with it on RHEL7 slightly awkward for me. With that in mind, some
> guidelines, if I may be so bold:
>
> Contributors: If your new feature changes the build system, while it is
> appreciated if it builds with both, it is not absolutely necessary; if
> the learning curve is too high or one build system makes the feature
> difficult to realize, we'll fix that up before merging. (Yes I'm
> volunteering.)

Consider me also on the hook for that.

> Pushers: Avoid pushing anything that breaks either build system. In
> particular, if a single change alters either build system as well as
> the code, verify that the other build system is either similarly
> altered or needs no alteration.
>
> I haven't verified the meson test path, and expect it doesn't work yet.
> Once it works I'll switch my pre-push checks to build with both build
> systems but run the tests from meson, so I can at least hide the
> automake slowness parallel to xts slowness.

Getting the tests hooked back up is high on my list, also Travis.

Are we melting two CPUs with xtest at this point, or are there still
sleeps?  If we're melting two CPUs, then it may be time to split our
test list up, do multiple piglit-run.pys in parallel, and merge results
later.  I think piglit has support for doing that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170427/0823b38a/attachment.sig>


More information about the xorg-devel mailing list