All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>,
	 OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 1/2] rust: Enable building rust from stable, beta and nightly channels
Date: Thu, 15 Dec 2022 11:23:55 -0700	[thread overview]
Message-ID: <CAHMutrbJo2ocWz88UbQsRjBDccXr0yVDC60SZ35bdMaXHw8LAw@mail.gmail.com> (raw)
In-Reply-To: <CAHMutrZhNPdLoiFTfOVvHiqqeYwSOyPB3v2qmmy7BUoraj=GZg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

On Thu, 15 Dec 2022 at 11:11, Alejandro Enedino Hernandez Samaniego <
alejandro@enedino.org> wrote:

>
> On Thu, 15 Dec 2022 at 11:03, Alexander Kanavin <alex.kanavin@gmail.com>
> wrote:
>
>> On Thu, 15 Dec 2022 at 19:01, Alexander Kanavin via
>> lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
>> wrote:
>> > Ok, I think what we should do first is to actually drop the version
>> > from all of the .bb file names, and set it once, inside some .inc, and
>> > probably next to SRC_URI and tarball checksum. Then this should allow
>> > a convenient scheme for including and overriding things.
>> >
>> > rust_1.65.0.bb - > rust.bb, and so on.
>>
>> Oh, and upstream version checks must be kept functional. It needs to
>> both correctly report a newer version, and match the recipe version
>> with upstream if it is already the latest.
>>
>> Alex
>>
>
> How should I test that upstream checks are still functional?
>
>
> Actually how would this make it any simpler?, if we remove PV from the
filenames, the correct place to put the variable is in rust-source.inc
since all others include it (rust-cross-canadian, rust, rust-llvm), if like
I said, rust-source.inc gets included from somewhere else, wouldnt that
override PV for the other recipe as well? beating the whole purpose of the
change, this, or creating a new .inc file just for this seems too
convoluted IMO.

If changing RUST_VERSION is too problematic on every upgrade I think
approach #2 its a lot simpler just specifying RUST_VERSION on other recipes
since it would be very seldom used and it wont conflict with upgrades

Alejandro

[-- Attachment #2: Type: text/html, Size: 3388 bytes --]

  reply	other threads:[~2022-12-15 18:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15  7:32 [PATCH 1/2] rust: Enable building rust from stable, beta and nightly channels Alejandro Enedino Hernandez Samaniego
2022-12-15  7:32 ` [PATCH 2/2] rust: Enable baremetal targets Alejandro Enedino Hernandez Samaniego
2022-12-15  9:04 ` [OE-core] [PATCH 1/2] rust: Enable building rust from stable, beta and nightly channels Alexander Kanavin
2022-12-15 15:38   ` Alejandro Enedino Hernandez Samaniego
2022-12-15 16:08     ` Alex Kiernan
2022-12-15 16:38       ` Alejandro Enedino Hernandez Samaniego
2022-12-15 18:01         ` Alexander Kanavin
     [not found]         ` <1731096B411C6A99.9432@lists.openembedded.org>
2022-12-15 18:02           ` Alexander Kanavin
2022-12-15 18:11             ` Alejandro Enedino Hernandez Samaniego
2022-12-15 18:23               ` Alejandro Enedino Hernandez Samaniego [this message]
2022-12-15 18:31                 ` Alexander Kanavin
2022-12-15 21:36                 ` Alex Kiernan
2022-12-15 21:45                   ` Alejandro Enedino Hernandez Samaniego
2022-12-15 22:33                     ` Alex Kiernan
2022-12-17  1:20                       ` Alejandro Enedino Hernandez Samaniego
2022-12-17 17:11                         ` Alex Kiernan

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=CAHMutrbJo2ocWz88UbQsRjBDccXr0yVDC60SZ35bdMaXHw8LAw@mail.gmail.com \
    --to=alejandro@enedino.org \
    --cc=alex.kanavin@gmail.com \
    --cc=alex.kiernan@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.