summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRandy MacLeod <randy.macleod@windriver.com>2022-08-19 09:27:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-31 10:40:07 +0100
commitc2a7fccb57dd05bb7c30e4599d21d3a5e62075a9 (patch)
tree3da5e069cb36b65bfa81ec247bf48c24dcab03f0 /meta
parentcfd49050a517612c1df8688d74cf9f9cbf771c0e (diff)
downloadpoky-c2a7fccb57dd05bb7c30e4599d21d3a5e62075a9.tar.gz
rust: update from 1.62.1 to 1.63.0
Release notes: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html This is a standard upgrade aside from the path for the stage2 tools binaries (clippy, et.al.) changing. (From OE-Core rev: 9f390accf5fd174c430928cf841728d0456fc1b7) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/cargo/cargo_1.63.0.bb (renamed from meta/recipes-devtools/cargo/cargo_1.62.1.bb)0
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.63.0.bb (renamed from meta/recipes-devtools/rust/libstd-rs_1.62.1.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb (renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.62.1.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.63.0.bb (renamed from meta/recipes-devtools/rust/rust-llvm_1.62.1.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot.inc24
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc2
-rw-r--r--meta/recipes-devtools/rust/rust_1.63.0.bb (renamed from meta/recipes-devtools/rust/rust_1.62.1.bb)4
8 files changed, 16 insertions, 16 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 965cb20537..9abd121e3a 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -27,7 +27,7 @@ GOVERSION ?= "1.19%"
27# This can not use wildcards like 8.0.% since it is also used in mesa to denote 27# This can not use wildcards like 8.0.% since it is also used in mesa to denote
28# llvm version being used, so always bump it with llvm recipe version bump 28# llvm version being used, so always bump it with llvm recipe version bump
29LLVMVERSION ?= "14.0.6" 29LLVMVERSION ?= "14.0.6"
30RUSTVERSION ?= "1.62%" 30RUSTVERSION ?= "1.63%"
31 31
32PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 32PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
33PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" 33PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/cargo/cargo_1.62.1.bb b/meta/recipes-devtools/cargo/cargo_1.63.0.bb
index 5c8527708c..5c8527708c 100644
--- a/meta/recipes-devtools/cargo/cargo_1.62.1.bb
+++ b/meta/recipes-devtools/cargo/cargo_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.62.1.bb b/meta/recipes-devtools/rust/libstd-rs_1.63.0.bb
index eec0245ae1..eec0245ae1 100644
--- a/meta/recipes-devtools/rust/libstd-rs_1.62.1.bb
+++ b/meta/recipes-devtools/rust/libstd-rs_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.62.1.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb
index 55865238ab..55865238ab 100644
--- a/meta/recipes-devtools/rust/rust-cross-canadian_1.62.1.bb
+++ b/meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.62.1.bb b/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb
index 5b94e22f7b..5b94e22f7b 100644
--- a/meta/recipes-devtools/rust/rust-llvm_1.62.1.bb
+++ b/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc
index 3bd7b07cef..b9d7edd672 100644
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -1,25 +1,25 @@
1## This is information on the rust-snapshot (binary) used to build our current release. 1## This is information on the rust-snapshot (binary) used to build our current release.
2## snapshot info is taken from rust/src/stage0.txt 2## snapshot info is taken from rust/src/stage0.json
3## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself. 3## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
4## The exact (previous) version that has been used is specified in the source tarball. 4## The exact (previous) version that has been used is specified in the source tarball.
5## The version is replicated here. 5## The version is replicated here.
6## TODO: find a way to add additional SRC_URIs based on the contents of an 6## TODO: find a way to add additional SRC_URIs based on the contents of an
7## earlier SRC_URI. 7## earlier SRC_URI.
8RS_VERSION = "1.61.0" 8RS_VERSION = "1.62.0"
9CARGO_VERSION = "1.61.0" 9CARGO_VERSION = "1.62.0"
10 10
11# TODO: Add hashes for other architecture toolchains as well. Make a script? 11# TODO: Add hashes for other architecture toolchains as well. Make a script?
12SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "270b07aa5f2de52255a117e1e587138d77375ce0d09a1d7fead085f29b3977e9" 12SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "addfae87b6b1b521d98a50fdc5120990888a51bb397100062e9c558267c67c77"
13SRC_URI[rustc-snapshot-x86_64.sha256sum] = "21c4613f389ed130fbaaf88f1e984319f72b5fc10734569a5ba19e22ebb03abd" 13SRC_URI[rustc-snapshot-x86_64.sha256sum] = "e7f71f4ef09334ddc9ec8cbf2f958d654e36f580c95f8fec6d5c816ce256dbd6"
14SRC_URI[cargo-snapshot-x86_64.sha256sum] = "9461727d754f865ef2a87479d40bbe4c5176f80963b7c50b7797bc8940d7a0a0" 14SRC_URI[cargo-snapshot-x86_64.sha256sum] = "815c63119a9cf0282ff240c6444b6f867238763ee3dea182f10837ae7dbbb1d4"
15 15
16SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "57d60a519dbce12146849f7e72d55f3cffe9cdcbff8d58e90bb62d3c016bb5c0" 16SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "dd5df8a92af3e5d49a1122b9561821ebd72a9317884a37ecddae041e652a7563"
17SRC_URI[rustc-snapshot-aarch64.sha256sum] = "c996de6391e3ea94629fbc09b03bce186fcde345159f43ec95a82c500adb5e94" 17SRC_URI[rustc-snapshot-aarch64.sha256sum] = "0fa320a19d41dcfc592bc006f5e9eda8e3b972598a26c96ad64eedd868516df3"
18SRC_URI[cargo-snapshot-aarch64.sha256sum] = "a055e6cfd9b5f8938780db6179d2ef92990c714ce64278337d7edf3d29c8ab62" 18SRC_URI[cargo-snapshot-aarch64.sha256sum] = "475038ecacca9ff586cad2082d5d950544b0d581a2a287facc7d899aae488813"
19 19
20SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "36c0ccff14c80419507561db050f9533f0abd43fc50f3ddb859c10df74b1c351" 20SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "d6678b7c971f3adbe7f820adae669d03a314468441e2907747c76eca98e0be92"
21SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "dc54893d747e4f3330515caa75e404f78c6c5475a1216d1428f5e7ce1c2e9602" 21SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b66d0bc6dbfdc0d4b826f787ec4e772dea8e3d2015cecbe2105632d468c28dcb"
22SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "09817011ff1ef4b7006387c7cabb6a059731792a9372533dec7d87e7f014444b" 22SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "016257f1641693008068bd086fec66d68550d1778f6aea9d06c9b263fca392d5"
23 23
24SRC_URI += " \ 24SRC_URI += " \
25 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \ 25 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
index dbcef2cbc2..47bfbe98a7 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -1,5 +1,5 @@
1SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" 1SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
2SRC_URI[rust.sha256sum] = "02066a93c2f6596cc046a897d5716c86e3607c1cd0f54db9a867ae8c8265072e" 2SRC_URI[rust.sha256sum] = "8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c"
3 3
4SRC_URI:append:class-target:pn-rust = " file://hardcodepaths.patch" 4SRC_URI:append:class-target:pn-rust = " file://hardcodepaths.patch"
5SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch" 5SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch"
diff --git a/meta/recipes-devtools/rust/rust_1.62.1.bb b/meta/recipes-devtools/rust/rust_1.63.0.bb
index 81923c3331..3081cd5ef3 100644
--- a/meta/recipes-devtools/rust/rust_1.62.1.bb
+++ b/meta/recipes-devtools/rust/rust_1.63.0.bb
@@ -43,7 +43,7 @@ rust_do_install:class-nativesdk() {
43 43
44 install -d ${D}${bindir} 44 install -d ${D}${bindir}
45 for i in cargo-clippy clippy-driver rustfmt; do 45 for i in cargo-clippy clippy-driver rustfmt; do
46 cp build/${RUST_BUILD_SYS}/stage2-tools-bin/$i ${D}${bindir} 46 cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
47 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i 47 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
48 done 48 done
49 49
@@ -60,7 +60,7 @@ rust_do_install:class-target() {
60 60
61 install -d ${D}${bindir} 61 install -d ${D}${bindir}
62 for i in cargo-clippy clippy-driver rustfmt; do 62 for i in cargo-clippy clippy-driver rustfmt; do
63 cp build/${RUST_BUILD_SYS}/stage2-tools-bin/$i ${D}${bindir} 63 cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
64 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i 64 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
65 done 65 done
66 66