docs: use the pyvenv version of Meson
PATCH 1/1 docs: use the pyvenv version of Meson
The version in the system might be too old for QEMU; this will be especially true if Rust is going to be enabled by default.
Adjust the docs to suggest using pyvenv/bin/meson.
--- docs/devel/build-system.rst | 2 +- docs/devel/rust.rst | 2 +- docs/system/devices/igb.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
docs/devel/build-system.rst +1 -1
@@ -450,7 +450,7 @@ are run with ``make bench``. Meson test suites such as ``unit`` can be ran with ``make check-unit``, and ``make check-tcg`` builds and runs "non-Meson" tests for all targets. -If desired, it is also possible to use ``ninja`` and ``meson test``, +If desired, it is also possible to use ``ninja`` and ``pyvenv/bin/meson test``, respectively to build emulators and run tests defined in meson.build. The main difference is that ``make`` needs the ``-jN`` flag in order to enable parallel builds or tests.
docs/devel/rust.rst +1 -1
@@ -66,7 +66,7 @@ __ https://mesonbuild.com/Commands.html#devenv As shown above, you can use the ``--tests`` option as usual to operate on test code. Note however that you cannot *build* or run tests via ``cargo``, because they need support C code from QEMU that Cargo does not know about. Tests can -be run via ``meson test`` or ``make``:: +be run via Meson (``pyvenv/bin/meson test``) or ``make``:: make check-rust
docs/system/devices/igb.rst +1 -1
@@ -54,7 +54,7 @@ directory: .. code-block:: shell - meson test qtest-x86_64/qos-test + pyvenv/bin/meson test qtest-x86_64/qos-test ethtool can test register accesses, interrupts, etc. It is automated as an functional test and can be run from the build directory with the following
Signature · 1 line
2.51.0
Quoted 4 lines · Paolo Bonzini
The version in the system might be too old for QEMU; this will be especially true if Rust is going to be enabled by default.
Adjust the docs to suggest using pyvenv/bin/meson.
I presume this is essentially changing the docs to match what our "make" wrappers will be running internally ?
Quoted 7 lines
Signed-off-by Paolo Bonzini <[email protected]>--- docs/devel/build-system.rst | 2 +- docs/devel/rust.rst | 2 +- docs/system/devices/igb.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Quoted 43 lines
docs/devel/build-system.rst +1
-1@@ -450,7 +450,7 @@ are run with ``make bench``. Meson test suites such as ``unit`` can be ran with ``make check-unit``, and ``make check-tcg`` builds and runs "non-Meson" tests for all targets. -If desired, it is also possible to use ``ninja`` and ``meson test``, +If desired, it is also possible to use ``ninja`` and ``pyvenv/bin/meson test``, respectively to build emulators and run tests defined in meson.build. The main difference is that ``make`` needs the ``-jN`` flag in order to enable parallel builds or tests.docs/devel/rust.rst +1
-1@@ -66,7 +66,7 @@ __ https://mesonbuild.com/Commands.html#devenv As shown above, you can use the ``--tests`` option as usual to operate on test code. Note however that you cannot *build* or run tests via ``cargo``, because they need support C code from QEMU that Cargo does not know about. Tests can -be run via ``meson test`` or ``make``:: +be run via Meson (``pyvenv/bin/meson test``) or ``make``:: make check-rustdocs/system/devices/igb.rst +1
-1@@ -54,7 +54,7 @@ directory: .. code-block:: shell - meson test qtest-x86_64/qos-test + pyvenv/bin/meson test qtest-x86_64/qos-test ethtool can test register accesses, interrupts, etc. It is automated as an functional test and can be run from the build directory with the followingSignature · 1 line
2.51.0
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 8 lines · Daniel P. Berrangé
Quoted 4 lines · Paolo Bonzini
The version in the system might be too old for QEMU; this will be especially true if Rust is going to be enabled by default.
Adjust the docs to suggest using pyvenv/bin/meson.
I presume this is essentially changing the docs to match what our "make" wrappers will be running internally ?
Yes, they use $(MESON) which is /home/user/qemu/build/pyvenv/bin/meson or something like that. I made a mental note about this last week, since you and Thomas mentioned it.
Paolo
Quoted 56 lines
Quoted 7 lines
Signed-off-by Paolo Bonzini <[email protected]>--- docs/devel/build-system.rst | 2 +- docs/devel/rust.rst | 2 +- docs/system/devices/igb.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)Reviewed-by Daniel P. Berrangé <[email protected]>Quoted 43 lines
docs/devel/build-system.rst +1
-1@@ -450,7 +450,7 @@ are run with ``make bench``. Meson test suites such as ``unit`` can be ran with ``make check-unit``, and ``make check-tcg`` builds and runs "non-Meson" tests for all targets. -If desired, it is also possible to use ``ninja`` and ``meson test``, +If desired, it is also possible to use ``ninja`` and ``pyvenv/bin/meson test``, respectively to build emulators and run tests defined in meson.build. The main difference is that ``make`` needs the ``-jN`` flag in order to enable parallel builds or tests.docs/devel/rust.rst +1
-1@@ -66,7 +66,7 @@ __ https://mesonbuild.com/Commands.html#devenv As shown above, you can use the ``--tests`` option as usual to operate on test code. Note however that you cannot *build* or run tests via ``cargo``, because they need support C code from QEMU that Cargo does not know about. Tests can -be run via ``meson test`` or ``make``:: +be run via Meson (``pyvenv/bin/meson test``) or ``make``:: make check-rustdocs/system/devices/igb.rst +1
-1@@ -54,7 +54,7 @@ directory: .. code-block:: shell - meson test qtest-x86_64/qos-test + pyvenv/bin/meson test qtest-x86_64/qos-test ethtool can test register accesses, interrupts, etc. It is automated as an functional test and can be run from the build directory with the followingSignature · 1 line
2.51.0With regards,
Daniel
Quoted 11 lines · Paolo Bonzini
The version in the system might be too old for QEMU; this will be especially true if Rust is going to be enabled by default.
Adjust the docs to suggest using pyvenv/bin/meson.
Signed-off-by Paolo Bonzini <[email protected]>--- docs/devel/build-system.rst | 2 +- docs/devel/rust.rst | 2 +- docs/system/devices/igb.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)