All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Kiernan <alex.kiernan@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Subject: [OE-Core][PATCH v4 00/11] Add rust runtime tests
Date: Sun, 25 Dec 2022 21:59:10 +0000	[thread overview]
Message-ID: <20221225215921.12868-1-alex.kiernan@gmail.com> (raw)


This series adds runtime tests for rust and cargo, merges (most of) the
include files into the base recipes and fixes target cargo builds.

Also add SDK_TOOLCHAIN_LANGS for selection of target toolchains as part
of packagegroup-core-sdk.

Changes in v4:
- Fixup `__stack_chk_fail_local` in musl-x86
- Add crossbeam atomics fixes for ppc/mips

Changes in v3:
- Switch to packagegroup-core-sdk driven from TARGET_TOOLCHAIN_LANGS
  (which defaults to SDK_TOOLCHAIN_LANGS)

Changes in v2:
- Drop rust.inc/rust.bb merge, not actually made use of in the change
  set
- Reorder so cargo test goes after build fixes

Alex Kiernan (11):
  rust-llvm: Merge .inc into .bb
  rust-llvm: Update LLVM_VERSION to match embedded version
  packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
  packagegroup-core-sdk: Add SDK toolchain language selection support
  cargo: Merge .inc into .bb
  cargo: Extend DEBUG_PREFIX_MAP to cover vendor
  rust: Merge .inc into .bb
  rust: Move musl-x86 fix for `__stack_chk_fail_local` to rust-source
  cargo: Override crossbeam-utils with 0.8.14
  packagegroup-rust-sdk-target: Add cargo
  oeqa/runtime/rust: Add cargo test

 meta/lib/oeqa/runtime/cases/rust.py           |  17 ++
 .../packagegroups/packagegroup-core-sdk.bb    |  10 +-
 .../packagegroup-rust-sdk-target.bb           |  14 ++
 meta/recipes-devtools/cargo/cargo.inc         |  69 ------
 meta/recipes-devtools/cargo/cargo_1.66.0.bb   |  80 ++++++-
 meta/recipes-devtools/rust/rust-llvm.inc      |  78 ------
 .../recipes-devtools/rust/rust-llvm_1.66.0.bb |  82 ++++++-
 meta/recipes-devtools/rust/rust-source.inc    |   5 +
 meta/recipes-devtools/rust/rust-target.inc    |  10 -
 meta/recipes-devtools/rust/rust.inc           | 223 ------------------
 meta/recipes-devtools/rust/rust_1.66.0.bb     | 223 +++++++++++++++++-
 11 files changed, 420 insertions(+), 391 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
 delete mode 100644 meta/recipes-devtools/cargo/cargo.inc
 delete mode 100644 meta/recipes-devtools/rust/rust-llvm.inc
 delete mode 100644 meta/recipes-devtools/rust/rust-target.inc
 delete mode 100644 meta/recipes-devtools/rust/rust.inc

-- 
2.39.0



             reply	other threads:[~2022-12-25 21:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-25 21:59 Alex Kiernan [this message]
2022-12-25 21:59 ` [OE-Core][PATCH v4 01/11] rust-llvm: Merge .inc into .bb Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 02/11] rust-llvm: Update LLVM_VERSION to match embedded version Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 03/11] packagegroup-rust-sdk-target: Add Rust SDK target packagegroup Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 04/11] packagegroup-core-sdk: Add SDK toolchain language selection support Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 05/11] cargo: Merge .inc into .bb Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 06/11] cargo: Extend DEBUG_PREFIX_MAP to cover vendor Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 07/11] rust: Merge .inc into .bb Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 08/11] rust: Move musl-x86 fix for `__stack_chk_fail_local` to rust-source Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 09/11] cargo: Override crossbeam-utils with 0.8.14 Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 10/11] packagegroup-rust-sdk-target: Add cargo Alex Kiernan
2022-12-25 21:59 ` [OE-Core][PATCH v4 11/11] oeqa/runtime/rust: Add cargo test Alex Kiernan
2022-12-26 18:33 ` [OE-Core][PATCH v4 00/11] Add rust runtime tests Richard Purdie
2022-12-27 18:09   ` Alex Kiernan
2022-12-28  0:00     ` Richard Purdie
2022-12-28 14:51       ` Alex Kiernan
2022-12-29 12:53         ` Richard Purdie
2022-12-29 19:25           ` Alex Kiernan
     [not found] <17342835AC830076.27785@lists.openembedded.org>
2022-12-26  9:41 ` Alex Kiernan
2022-12-26 10:27   ` Richard Purdie
     [not found]   ` <17345100F004118F.27785@lists.openembedded.org>
2022-12-26 11:15     ` Richard Purdie

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=20221225215921.12868-1-alex.kiernan@gmail.com \
    --to=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.