public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: antonin.godard@bootlin.com, docs@lists.yoctoproject.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [yocto-docs PATCH 12/14] ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable
Date: Tue, 17 Dec 2024 15:32:18 +0100	[thread overview]
Message-ID: <eaf97076-1044-4bc4-af35-423c017e78b1@cherry.de> (raw)
In-Reply-To: <20241217-release-note-5-2-updates-v1-12-b189493b1b09@bootlin.com>

Hi Antonin,

On 12/17/24 10:27 AM, Antonin Godard via lists.yoctoproject.org wrote:
> This variable controls whether libraries compiled by recipes inheriting
> cargo are installed or not.
> 
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
>   documentation/ref-manual/variables.rst | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index 66ecece8b2658b304e17c9c4a1492e42a8a313d4..50cd8948b35f381414837acc9b9e925dc5110779 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -1231,6 +1231,14 @@ system and gives an overview of their function and contents.
>         :term:`Metadata` so it does not need to be parsed every time
>         BitBake is started.
>   
> +   :term:`CARGO_INSTALL_LIBRARIES`
> +      When inheriting the :ref:`ref-classes-cargo` class, the variable
> +      :term:`CARGO_INSTALL_LIBRARIES` can be set to a non-empty value by
> +      individual recipes to enable or disable installation of the libraries the

If I understood correctly the code, any non-empty value will enable the 
installation, so I suggest to remove "or disable" here.

> +      recipe has built in ``${B}/target`` (files ending with ``.so`` or

actually in ${B}/target/${CARGO_TARGET_SUBDIR} according to the code?

> +      ``.rlib``). By default this variable is not defined and libraries are not
> +      installed, to replicate the behavior of the ``cargo install`` command.
> +

Otherwise, looks good to me.

Cheers,
Quentin


  reply	other threads:[~2024-12-17 14:32 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17  9:26 [yocto-docs PATCH 00/14] Updates from recent core changes Antonin Godard
2024-12-17  9:27 ` [yocto-docs PATCH 01/14] ref-manual/variables: document the KERNEL_CONSOLE variable Antonin Godard
2024-12-17 10:05   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 02/14] ref-manual/classes: drop the migrate_localcount class Antonin Godard
2024-12-17 10:14   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 03/14] ref-manual/variables: document the FIRMWARE_COMPRESSION variable Antonin Godard
2024-12-17 10:28   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 04/14] ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE Antonin Godard
2024-12-17 10:34   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 05/14] ref-manual/variables: document the WIC_SECTOR_SIZE variable Antonin Godard
2024-12-17 10:37   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 06/14] ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS Antonin Godard
2024-12-17 10:39   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 07/14] ref-manual/classes: document the cython class Antonin Godard
2024-12-17 10:48   ` [docs] " Quentin Schulz
2024-12-20  9:06     ` Antonin Godard
2024-12-17  9:27 ` [yocto-docs PATCH 08/14] Remove debug-tweaks references Antonin Godard
2024-12-17  9:27 ` [yocto-docs PATCH 09/14] Drop support for BB_DANGLINGAPPENDS_WARNONLY Antonin Godard
2024-12-17 14:08   ` [docs] " Quentin Schulz
2024-12-20  9:17     ` Antonin Godard
2024-12-17  9:27 ` [yocto-docs PATCH 10/14] ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable Antonin Godard
2024-12-17 14:14   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 11/14] ref-manual/classes: document the yocto-check-layer class Antonin Godard
2024-12-17 14:15   ` [docs] " Quentin Schulz
2024-12-17  9:27 ` [yocto-docs PATCH 12/14] ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable Antonin Godard
2024-12-17 14:32   ` Quentin Schulz [this message]
2024-12-17  9:27 ` [yocto-docs PATCH 13/14] ref-manual/variables: document the PREFERRED_RPROVIDER variable Antonin Godard
2024-12-17 14:43   ` [docs] " Quentin Schulz
2024-12-20 10:31     ` Antonin Godard
2024-12-17  9:27 ` [yocto-docs PATCH 14/14] migration-guides: update the release notes for 5.2 Antonin Godard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eaf97076-1044-4bc4-af35-423c017e78b1@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox