File tree 2 files changed +35
-1
lines changed
2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ jobs:
134
134
LSP_BUILD="--sourcekit-lsp"
135
135
else
136
136
if [ ${{ matrix.version }} = 'devel' ]; then
137
- git apply swift-android-devel.patch
137
+ git apply swift-android-devel.patch swift-android-ci-devel.patch
138
138
perl -pi -e 's%r26%ndk/27%' swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
139
139
LSP_BUILD="--sourcekit-lsp"
140
140
fi
Original file line number Diff line number Diff line change
1
+ diff --git a/swiftpm/Sources/Workspace/Workspace+Prebuilts.swift b/swiftpm/Sources/Workspace/Workspace+Prebuilts.swift
2
+ index a091ed979..db95ad1da 100644
3
+ --- a/swiftpm/Sources/Workspace/Workspace+Prebuilts.swift
4
+ +++ b/swiftpm/Sources/Workspace/Workspace+Prebuilts.swift
5
+ @@ -104,6 +104,7 @@ extension Workspace {
6
+ public enum Arch: String {
7
+ case x86_64
8
+ case aarch64
9
+ + case armv7
10
+ }
11
+
12
+ public enum OS {
13
+ @@ -599,6 +600,8 @@ extension Workspace.PrebuiltsManifest.Platform {
14
+ arch = .aarch64
15
+ #elseif arch(x86_64)
16
+ arch = .x86_64
17
+ + #elseif arch(arm)
18
+ + arch = .armv7
19
+ #endif
20
+ guard let arch else {
21
+ return nil
22
+ diff --git a/swiftpm/Sources/swift-build-prebuilts/BuildPrebuilts.swift b/swiftpm/Sources/swift-build-prebuilts/BuildPrebuilts.swift
23
+ index 9df715a6c..f8f097dbe 100644
24
+ --- a/swiftpm/Sources/swift-build-prebuilts/BuildPrebuilts.swift
25
+ +++ b/swiftpm/Sources/swift-build-prebuilts/BuildPrebuilts.swift
26
+ @@ -322,6 +322,8 @@ extension Workspace.PrebuiltsManifest.Platform.Arch {
27
+ return "linux/arm64"
28
+ case .x86_64:
29
+ return "linux/amd64"
30
+ + case .armv7:
31
+ + return "linux/armv7"
32
+ }
33
+ }
34
+ }
You can’t perform that action at this time.
0 commit comments