[PATCH rendercheck v3 4/4] Explain how to build using meson in the README.

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 31 14:47:59 UTC 2017


On 31 March 2017 at 14:25, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> On Wednesday, 2017-03-29 13:19:35 -0700, Eric Anholt wrote:
>> Signed-off-by: Eric Anholt <eric at anholt.net>
>> ---
>>  README | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/README b/README
>> index f5af0b0c64eb..2f8ec1ab0e46 100644
>> --- a/README
>> +++ b/README
>> @@ -10,3 +10,11 @@ Tests currently include:
>>  - Linear gradients
>>  - Repeating sources/masks at POT and non-POT sizes
>>  - Some regression tests for bugs from freedesktop.org bugzilla.
>> +
>> +rendercheck uses the Meson build system, which uses the "ninja" build
>> +backend on Linux.  The three commands to configure (building into the
>> +build/ directory), build, and install are:
>> +
>> +    meson build
>> +    ninja -C build
>> +    sudo ninja -C build install
>
> s,build,build/, on all three lines, to make it clear this is the dir
> name, not some target?
>
That or save yourself some typing and use the following.

meson build && cd build
ninja
sudo ninja install

Just my 2c.

-Emil


More information about the xorg-devel mailing list