Skip to content

Commit

Permalink
Update doc for reorganized SDK patches after the 6.1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Nov 25, 2024
1 parent 4376f33 commit 856b17e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ prebuilt Swift toolchain to `build-script` below, you can build a Swift trunk
SDK too, as seen on the CI.

Next, apply a patch to the Swift source, `swift-android.patch` from this repo,
plus three more patches that make modifications for NDK 27 and [the Foundation
plus two more patches that make modifications for NDK 27 and [the Foundation
rewrite in Swift 6 that was merged this summer](https://www.swift.org/blog/foundation-preview-now-available/)
and substitute a string for NDK 27:
```
git apply swift-android.patch swift-android-foundation.patch swift-android-foundation-release.patch swift-android-foundation-except-trunk.patch
git apply swift-android.patch swift-android-foundation.patch swift-android-foundation-release.patch
perl -pi -e 's%r26%r27%' swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
```

Expand Down

0 comments on commit 856b17e

Please sign in to comment.