Skip to content

Commit 5f9d307

Browse files
committed
README: Rework section on configuring, building and testing
Also note how to install recent versions of meson, for those whose distros tend to be behind the times. Change-Id: I43c3ded89e7d6d66c0968565908545f423f05a5c Signed-off-by: Andrew Jeffery <[email protected]>
1 parent d05ac25 commit 5f9d307

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,25 @@ The library also provides API to pack and unpack PLDM headers.
3232

3333
## To Build
3434

35-
Need `meson` and `ninja`. Alternatively, source an OpenBMC ARM/x86 SDK.
35+
`libpldm` is configured and built using `meson`. Python's `pip` or
36+
[`pipx`][pipx] can be used to install a recent version on your machine:
37+
38+
[pipx]: https://pipx.pypa.io/latest/
3639
3740
```sh
38-
meson setup builddir && ninja -C builddir
41+
pipx install meson
3942
```
4043
41-
## To run unit tests
44+
Once `meson` is installed:
45+
46+
```sh
47+
meson setup build && meson compile -C build
48+
```
4249
43-
The simplest way of running the tests is as described by the meson man page:
50+
## To run unit tests
4451
4552
```sh
46-
meson setup builddir && meson test -C builddir
53+
meson test -C build
4754
```
4855
4956
## Working with `libpldm`

0 commit comments

Comments
 (0)