summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-09-18rust: use nativepython3 rather than host python3rmacleod/rust-wip-sept-5Randy MacLeod
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18librsvg: update to 2.49.5Randy MacLeod
2020-09-18librsvg: Update from 2.40.20 to 2.46.4Randy MacLeod
The new version is written in Rust. Remove the patches that were backported and drop the reproducibility patch since that code was dropped in the Rust translation. Update the license checksums since the license info was updated to be more consistent in commit: bd8ebc43 Use the LGPL 2.1 consistently Fixes these: https://gitlab.gnome.org/GNOME/librsvg/issues/72 https://gitlab.gnome.org/GNOME/librsvg/issues/432 Also inherit gettext to address: Maybe: *** QA Issue: AM_GNU_GETTEXT used but no inherit gettext and sort the inherit list for good measure. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18ripgrep: add temporarilyRandy MacLeod
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18Add rust 1.46.0Steven Walter
2020-09-18rust: use PARALLEL_MAKE instead of BB_NUMBER_THREADSMartin Jansa
* BB_NUMBER_THREADS is number of bitbake tasks running in parallel, not parallelization inside individual tasks * use oe.utils.parallel_make_argument to make sure it works even when people add e.g. "-l 10" in PARALLEL_MAKE * with the recent improvements for rust-native build time, I wanted to rerun some build time tests from https://github.com/shr-project/test-oe-build-time here are the results on AMD Threadripper 3970x with 128GB ram: BB is BB_NUMBER_THREADS PM is PARALLEL_MAKE TIME BB PM Description 20:50 * * zeus based build with 1.37 rust (BB/PM has no impact) 14:50 8 32,48,64 dunfell, 1.43 as in https://github.com/meta-rust/meta-rust/commit/d2ff87ca5545b8081b16ac8f53ed4295593208c6 (PM has no impact, because bootstrap uses BB) 9:50 8 32,48,64 dunfell, 1.43 with this patch applied, it doesn't get faster after some threashold of PM 13:32 8 64 dunfell, 1.43 with this patch applied and "rust.inc: cut build time in half" (https://github.com/meta-rust/meta-rust/commit/afcb58e5b9cbda7efb1c8a12c980cb2f583728bd) reverted 13:30 8 64 dunfell, 1.43 with "rust.inc: cut build time in half" (https://github.com/meta-rust/meta-rust/commit/afcb58e5b9cbda7efb1c8a12c980cb2f583728bd) as well as "rust.inc: run bootstrap.py in parallel" (https://github.com/meta-rust/meta-rust/commit/40a6bd8a8d943eff495c7fdeb0bf8452891f6f99) reverted to see if 1.43 builds faster without any meta-rust improvements compared to 1.37 94:47 1 64 dunfell, 1.43 as in https://github.com/meta-rust/meta-rust/commit/d2ff87ca5545b8081b16ac8f53ed4295593208c6 (either something went wrong or explicit "-j 1" disables some parallelism done by default already 13:40 * * zeus based build with 1.39 rust (BB/PM has no impact) 10:50 8 64 zeus based build with 1.39 rust as proposed in jansa/new-zeus-branch 80:51 8 1 zeus based build with 1.39 rust as proposed in jansa/new-zeus-branch with "-j 1" PARALLEL_MAKE Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-18rust.inc: whitelist BB_NUMBER_THREADS in do_compileTyler Hall
d55cce6b8b6b510bf4905f19b949f7995af57a4d added a use of BB_NUMBER_THREADS which is not whitelisted in Poky. This caused machines with a different number of CPUs to have different sstate for rust-native.
2020-09-18Bump to Rust version 1.43Alistair Francis
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2020-09-18Revert "cargo: fix progress output"Steven Walter
This reverts commit dd0fc89389d3f72fe025f71507e6cb1865b0829d.
2020-09-18cargo: fix progress outputSteven Walter
This patch got dropped from the new cargo version
2020-09-18rust.inc: cut build time in halfSteven Walter
Don't tar everything up just to untar it again. This literally takes longer than actually building the rust compiler
2020-09-18rust.inc: run bootstrap.py in parallelSteven Walter
Allow bootstrap.py to use as many cores as bitbake normally uses
2020-09-18rust.inc: make max-atomic-width an integerSteven Walter
As a string this was actually being ignored. It mostly didn't matter because max-atomic-width falls back to target-pointer-size, and they are usually the same. However, at least on i586, 64-bit atomics are supported with a 32-bit pointer size.
2020-09-18rust-native shouldn't depend on TARGET variablesSteven Walter
The whole point of rust-native is that it should be common for all targets. If we reference TARGET variables during the build of rust-native, then bitbake will build a different version for different TARGETS.
2020-09-18rustfmt: Upgrade to 1.4.2Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-18Avoid extra sh process from shell wrapperAngus Lees
`exec` from shell wrapper to avoid persistent sh process
2020-09-18Update 0001-Disable-http2.patch for cargo 1.41.0Colin Finck
2020-09-18Update to Rust 1.41.0Colin Finck
2020-09-18rust: add a language demo image to test reproducibilityRandy MacLeod
The image should contain a demo program from a variety of languages but let's start with rust. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18cargo: Refresh http2 disable patchAlex Kiernan
Fixes: WARNING: Fuzz detected: checking file Cargo.toml Hunk #1 succeeded at 24 with fuzz 1. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
2020-09-18Update 0001-Disable-http2.patch for Cargo shipped with Rust 1.40.0Colin Finck
2020-09-18Update to Rust and Cargo 1.40.0.Colin Finck
2020-09-18rust: Use Python3 native for buildAlistair Francis
Use Python3 as the native Python instead of Python2. Signed-off-by: Alistair Francis <alistair@alistair23.me>
2020-09-18rust: Improve TUNE_FEATURE parsingZubair Lutfullah Kakakhel
Since https://github.com/openembedded/openembedded-core/commit/ac83d22eb5031f7fdd09d34a1a46d92fd3e39a3c The armvX arch definition is not present in TUNE_FEATURES but is now in MACHINEOVERRIDES. Improve parsing so that MACHINEOVERRIDES is also checked. Fixes #240 Tested on raspberrypi3 with balenaOS which uses rust. Signed-off-by: Zubair Lutfullah Kakakhel <zubair@balena.io>
2020-09-18Update to Rust and Cargo 1.39.0Reto Schneider
2020-09-18rust: mv README.md to recipes-devtools/rust/README-rust.mdRandy MacLeod
Import the meta-rust/README.md but relocate and rename it. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18meta-rust: move code to oe-core from meta-rust layerRandy MacLeod
Rust is becoming more widely used so move the meta-rust layer. Taken from meta-rust at commit: 11aed43 cargo-1.37.0: fix patch fuzz Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-18Add libgit2, libssh2 from meta-oe for rustRandy MacLeod
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2020-09-17build-appliance-image: Update to master head revisionRichard Purdie
(From OE-Core rev: 4e7506882cabf3936f0269c2a98f61c7d595d613) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17ref-manual: examples: libxpm: add relative path to .incQuentin Schulz
In order to be able to build this example from anywhere, one needs to give the relative path from LAYERDIR to the .inc file. The path is the one for the inc file from openembedded-core. (From yocto-docs rev: cb92d16a6d638f39effa06a7334496f1b0c83b2a) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17ref-manual: examples: hello-autotools: upgrade to 2.10Quentin Schulz
The 2.3 example was not working anymore so fixed it and upgraded all at once. (From yocto-docs rev: 12457c2410c4f0bfda254ceb4f5ef35127a7540f) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: fix or add missing links and remove mention of Eclipse workflowQuentin Schulz
The Eclipse plugin has long been gone. (From yocto-docs rev: f7a01e67d760c1de3f5a36e3513cba1627b4ed96) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: "highlight" some variables, tasks or filesQuentin Schulz
(From yocto-docs rev: 41e379dc32e52cec652a7f89caf4c3fd96dd2dda) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: fix a few typos or missing/too many wordsQuentin Schulz
(From yocto-docs rev: 744b74b3420ae475a566307e03e0b098986773e4) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: brief-yoctoprojectqs: put other distros note after Ubuntu-specific ↵Quentin Schulz
packages (From yocto-docs rev: 529de3ad21122970c02b86da99d6cc96b58c3333) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: fix incorrect indentationsQuentin Schulz
(From yocto-docs rev: af5209df6c8c1dcc852d29b72968aa0b36b6b761) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: replace special quotes with single and double quotesQuentin Schulz
(From yocto-docs rev: 0aeb7a94abcef3cb3850c753dd0a243f381e6675) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: overview-manual: remove highlight in bold sectionQuentin Schulz
Does not seem to be formatted correctly by Sphinx (escaped `). (From yocto-docs rev: 8363dcea98a12a6b8438a284bcebce35b269eab6) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: what-i-wish-id-known: update "don't be fooled by doc search results"Quentin Schulz
The release selection for the documentation is fortunately not so complex anymore. Let's also add a link to the mega-manual instead of just naming it and mention the search bar as well. (From yocto-docs rev: 6e46e41a965d2360a41a43263b2c100c5f77541e) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: brief-yoctoprojectqs: add note on branch consistency between layersQuentin Schulz
(From yocto-docs rev: c00d387068e914290efdc9c5e7fcef5b38ce6e86) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: overview-manual: fix bitbake basic explanationQuentin Schulz
One requests Bitbake to bake a recipe to create packages. (From yocto-docs rev: 2b9a0131999d0d0c014968f792348c55afca4c2c) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: overview-manual: add link to AUH how-to sectionQuentin Schulz
(From yocto-docs rev: cd46ce1cf6b5f5de2e0751c582e92a9417308441) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: brief-yoctoprojectqs: add missing boilerplateQuentin Schulz
(From yocto-docs rev: 4a34fdbeda4e3ad5ae63d159417b7cf204205847) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: brief-yoctoprojectqs: fix ambiguous note for cyclone5 exampleQuentin Schulz
(From yocto-docs rev: a9ea4642f49bf4ddaef07fbc2e1612511a2db9f4) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: brief-yoctoprojectqs: remove redundant welcomeQuentin Schulz
(From yocto-docs rev: e582e82f37905cdcb02ed9189b2ebffd689f0418) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: toaster-manual: fix vars, links, code blocksTim Orling
Also update Django links to 2.2 LTS release (from 1.11) Replace most references to 'rocko' with variable (From yocto-docs rev: ddf1e119db93fc3f8b141a04f6d0009f933b1006) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: dev-manual: Clarify that virtual providers do not apply to runtime ↵Joshua Watt
dependencies Clarifies that virtual providers are only used for build time dependencies specified with PROVIDES and DEPENDS, and do not apply to runtime dependencies specified with RPROVIDES and RDEPENDS. (From yocto-docs rev: dbca49573ce5c5c006c97f79d1107eafee83dc10) Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: test-manual code block, link, and format updateMark Morton
(From yocto-docs rev: 928c212ec4ad6e09524fdf8147aa7daf244677b0) Signed-off-by: Mark Morton <mark.morton@windriver.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: overview-manual: Various URL, code block and other fixes to imported ↵Richard Purdie
data (From yocto-docs rev: 3325fe660dfea24fba2f964a0060664e3c67459a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17sphinx: ref-manual/migration: Split each release into its own fileRichard Purdie
This avoids the duplicate heading warnings at the slight expense of more directory clutter. (From yocto-docs rev: ef896d71836aa3bd6c926b36976a9c45d5f2ca15) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>