Skip to content

Commit 6edf7b5

Browse files
committed
src/doc/en/installation/meson.rst: mention the --wrap-mode flag
Mention how to disabled wrapped subprojects in the tips for package maintainers section.
1 parent 1b790f1 commit 6edf7b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/doc/en/installation/meson.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,14 @@ Alternatively, we can still use pip to install:
321321
explicitly. You can obtain a list of valid feature names through
322322
``meson configure``.
323323

324+
By default, meson may fall back to bundled versions of certain
325+
subprojects known as `wrap dependencies
326+
<https://mesonbuild.com/Wrap-dependency-system-manual.html>`_.
327+
Maintainers will typically want to disable this behavior as well
328+
to ensure that the system dependencies are used. This can be
329+
achieved with the `--wrap-mode flag
330+
<https://mesonbuild.com/Subprojects.html#commandline-options>`_
331+
324332
With the `default <https://mesonbuild.com/Running-Meson.html#installing>`_ prefix
325333
being ``/usr/local``, it may then install to
326334
``$DESTDIR/usr/local/lib/python3.12/site-packages/sage``.

0 commit comments

Comments
 (0)