From d2d20108b292b84072c7ad927bae3b67966f4cc4 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Fri, 4 Nov 2022 22:41:31 -0700 Subject: [PATCH 1/2] Updated to Swift 5.7.1 --- README.md | 6 +++--- recipes-devtools/swift/swift-native.bb | 1 - recipes-devtools/swift/swift-version.inc | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9b83996..76a3c1f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # meta-swift -Yocto meta-layer for swift-on-arm (Swift 5.7) +Yocto meta-layer for swift-on-arm (Swift 5.7.1) # Usage @@ -8,7 +8,7 @@ Add this meta layer to your project (refer to yocto user manual) Create a new swift application and include it in your yocto build as follows... ``` -DESCRIPTION = "My swift 5.7 app" +DESCRIPTION = "My swift 5.7.1 app" LICENSE = "CLOSED" SRC_URI = "file://Sources/hello-world/main.swift \ @@ -20,7 +20,7 @@ inherit swift This does a few things, when you `inherit swift` meta-layer class, it will does the following... -- Automatically download the x86_64 and ARMv7 swift 5.7 binaries and create a cross-compiling sys-root +- Automatically download the x86_64 and ARMv7 swift 5.7.1 binaries and create a cross-compiling sys-root - Add an RDEPENDS_${PN} for `swift` which is the Armv7 runtime - Performs the required build steps diff --git a/recipes-devtools/swift/swift-native.bb b/recipes-devtools/swift/swift-native.bb index 67d799e..17b4d66 100644 --- a/recipes-devtools/swift/swift-native.bb +++ b/recipes-devtools/swift/swift-native.bb @@ -9,7 +9,6 @@ PV = "${SWIFT_VERSION}" SRC_DIR = "swift-${PV}-RELEASE-ubuntu20.04" SRC_URI = "https://download.swift.org/swift-${PV}-release/ubuntu2004/swift-${PV}-RELEASE/swift-${PV}-RELEASE-ubuntu20.04.tar.gz" -SRC_URI[sha256sum] = "b0fef7353367ddf7df3b25942ce5a00a3c4d11c8fc62c61abd712b061c5d1912" DEPENDS = "curl" RDEPENDS = "ncurses-native" diff --git a/recipes-devtools/swift/swift-version.inc b/recipes-devtools/swift/swift-version.inc index fab8a59..787737a 100644 --- a/recipes-devtools/swift/swift-version.inc +++ b/recipes-devtools/swift/swift-version.inc @@ -1 +1 @@ -SWIFT_VERSION = "5.7" +SWIFT_VERSION = "5.7.1" From 1625bbba84d9b96cea843b8d8b8e7803237ded2c Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Fri, 4 Nov 2022 23:07:08 -0700 Subject: [PATCH 2/2] Updated native tools checksum --- recipes-devtools/swift/swift-native.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/swift/swift-native.bb b/recipes-devtools/swift/swift-native.bb index 17b4d66..6197e49 100644 --- a/recipes-devtools/swift/swift-native.bb +++ b/recipes-devtools/swift/swift-native.bb @@ -9,6 +9,7 @@ PV = "${SWIFT_VERSION}" SRC_DIR = "swift-${PV}-RELEASE-ubuntu20.04" SRC_URI = "https://download.swift.org/swift-${PV}-release/ubuntu2004/swift-${PV}-RELEASE/swift-${PV}-RELEASE-ubuntu20.04.tar.gz" +SRC_URI[sha256sum] = "b014975844beac5ab3a7f71420181f45d0a93243f9ea4853e6588c05cad1e363" DEPENDS = "curl" RDEPENDS = "ncurses-native"