Skip to content

Commit 30f161d

Browse files
committed
Remove or move upstreamed patches
1 parent e68d90d commit 30f161d

File tree

3 files changed

+13
-37
lines changed

3 files changed

+13
-37
lines changed

swift-ci/sdks/android/patches/swift-android-devel.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,16 @@ index bfb69965890..b5e9f5349c2 100644
135135
define("CMAKE_Swift_COMPILER:PATH", cmake_swiftc_path)
136136
else:
137137
cmake_swiftc_path = os.getenv('CMAKE_Swift_COMPILER', toolchain.swiftc)
138+
diff --git a/swift/utils/swift_build_support/swift_build_support/products/product.py b/swift/utils/swift_build_support/swift_build_support/products/product.py
139+
index 274b6037305..bf0f7fcf671 100644
140+
--- a/swift/utils/swift_build_support/swift_build_support/products/product.py
141+
+++ b/swift/utils/swift_build_support/swift_build_support/products/product.py
142+
@@ -212,7 +212,7 @@ class Product(object):
143+
if self.args.cross_compile_hosts:
144+
if self.is_darwin_host(host_target):
145+
install_destdir = self.host_install_destdir(host_target)
146+
- else:
147+
+ elif self.args.cross_compile_append_host_target_to_destdir:
148+
install_destdir = os.path.join(install_destdir, self.args.host_target)
149+
return targets.toolchain_path(install_destdir,
150+
self.args.install_prefix)

swift-ci/sdks/android/patches/swift-android-trunk-libdispatch.patch

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,6 @@ index 3f36fc979cb..8713ae8fea8 100755
1010
"grep",
1111
"--extended-regexp",
1212
"--recursive",
13-
diff --git a/swift/test/Reflection/conformance_descriptors.swift b/swift/test/Reflection/conformance_descriptors.swift
14-
index b114f764552..e1bd98c08f4 100644
15-
--- a/swift/test/Reflection/conformance_descriptors.swift
16-
+++ b/swift/test/Reflection/conformance_descriptors.swift
17-
@@ -5,6 +5,7 @@
18-
//
19-
// Temporarily disable on AArch64 Linux (rdar://88451721)
20-
// UNSUPPORTED: OS=linux-gnu && CPU=aarch64
21-
+// XFAIL: OS=linux-android
22-
23-
// rdar://100558042
24-
// UNSUPPORTED: CPU=arm64e
25-
diff --git a/swift/test/Reflection/typeref_decoding.swift b/swift/test/Reflection/typeref_decoding.swift
26-
index e0a3b4465a3..c01af893eda 100644
27-
--- a/swift/test/Reflection/typeref_decoding.swift
28-
+++ b/swift/test/Reflection/typeref_decoding.swift
29-
@@ -10,6 +10,7 @@
30-
31-
// FIXME: rdar://127796117
32-
// UNSUPPORTED: OS=linux-gnu && CPU=aarch64
33-
+// XFAIL: OS=linux-android
34-
35-
// RUN: %target-build-swift -target %target-swift-5.2-abi-triple -Xfrontend -enable-anonymous-context-mangled-names %S/Inputs/ConcreteTypes.swift %S/Inputs/GenericTypes.swift %S/Inputs/Protocols.swift %S/Inputs/Extensions.swift %S/Inputs/Closures.swift -parse-as-library -emit-module -emit-library %no-fixup-chains -module-name TypesToReflect -o %t/%target-library-name(TypesToReflect)
36-
// RUN: %target-build-swift -target %target-swift-5.2-abi-triple -Xfrontend -enable-anonymous-context-mangled-names %S/Inputs/ConcreteTypes.swift %S/Inputs/GenericTypes.swift %S/Inputs/Protocols.swift %S/Inputs/Extensions.swift %S/Inputs/Closures.swift %S/Inputs/main.swift -emit-module -emit-executable %no-fixup-chains -module-name TypesToReflect -o %t/TypesToReflect
3713
diff --git a/swift/utils/swift_build_support/swift_build_support/cmake.py b/swift/utils/swift_build_support/swift_build_support/cmake.py
3814
index 9a0f5b43e2d..5c7d1320a2d 100644
3915
--- a/swift/utils/swift_build_support/swift_build_support/cmake.py

swift-ci/sdks/android/patches/swift-android.patch

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@ index 16e05052609..7ab8cebfab8 100755
3434

3535
cmake_options=(
3636
-DENABLE_SWIFT=YES
37-
diff --git a/swift/utils/swift_build_support/swift_build_support/products/product.py b/swift/utils/swift_build_support/swift_build_support/products/product.py
38-
index 274b6037305..bf0f7fcf671 100644
39-
--- a/swift/utils/swift_build_support/swift_build_support/products/product.py
40-
+++ b/swift/utils/swift_build_support/swift_build_support/products/product.py
41-
@@ -212,7 +212,7 @@ class Product(object):
42-
if self.args.cross_compile_hosts:
43-
if self.is_darwin_host(host_target):
44-
install_destdir = self.host_install_destdir(host_target)
45-
- else:
46-
+ elif self.args.cross_compile_append_host_target_to_destdir:
47-
install_destdir = os.path.join(install_destdir, self.args.host_target)
48-
return targets.toolchain_path(install_destdir,
49-
self.args.install_prefix)
5037
diff --git a/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py b/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py
5138
index 324d1a77eea..e88601a8701 100644
5239
--- a/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py

0 commit comments

Comments
 (0)