Skip to content

Commit

Permalink
Merge pull request #5 from MillerTechnologyPeru/trunk
Browse files Browse the repository at this point in the history
Updated to Swift 5.7.1
  • Loading branch information
jeremy-prater authored Jan 18, 2024
2 parents 01cc3ae + e2595f5 commit a3fddbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 \
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/swift/swift-native.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +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] = "b0fef7353367ddf7df3b25942ce5a00a3c4d11c8fc62c61abd712b061c5d1912"
SRC_URI[sha256sum] = "b014975844beac5ab3a7f71420181f45d0a93243f9ea4853e6588c05cad1e363"

DEPENDS = "curl"
RDEPENDS = "ncurses-native"
Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/swift/swift-version.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SWIFT_VERSION = "5.7"
SWIFT_VERSION = "5.7.1"

0 comments on commit a3fddbe

Please sign in to comment.