File tree Expand file tree Collapse file tree 3 files changed +13
-37
lines changed
swift-ci/sdks/android/patches Expand file tree Collapse file tree 3 files changed +13
-37
lines changed Original file line number Diff line number Diff line change @@ -135,3 +135,16 @@ index bfb69965890..b5e9f5349c2 100644
135
135
define("CMAKE_Swift_COMPILER:PATH", cmake_swiftc_path)
136
136
else:
137
137
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)
Original file line number Diff line number Diff line change @@ -10,30 +10,6 @@ index 3f36fc979cb..8713ae8fea8 100755
10
10
"grep",
11
11
"--extended-regexp",
12
12
"--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
37
13
diff --git a/swift/utils/swift_build_support/swift_build_support/cmake.py b/swift/utils/swift_build_support/swift_build_support/cmake.py
38
14
index 9a0f5b43e2d..5c7d1320a2d 100644
39
15
--- a/swift/utils/swift_build_support/swift_build_support/cmake.py
Original file line number Diff line number Diff line change @@ -34,19 +34,6 @@ index 16e05052609..7ab8cebfab8 100755
34
34
35
35
cmake_options=(
36
36
-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)
50
37
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
51
38
index 324d1a77eea..e88601a8701 100644
52
39
--- a/swift/utils/swift_build_support/swift_build_support/products/swift_testing.py
You can’t perform that action at this time.
0 commit comments