Skip to content

Commit e4a96b2

Browse files
authored
Merge branch 'main' into update-patches2
2 parents 80291aa + ed09034 commit e4a96b2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
diff --git a/swift/test/Misc/verify-swift-feature-testing.test-sh b/swift/test/Misc/verify-swift-feature-testing.test-sh
2+
index 3f36fc979cb..8713ae8fea8 100755
3+
--- a/swift/test/Misc/verify-swift-feature-testing.test-sh
4+
+++ b/swift/test/Misc/verify-swift-feature-testing.test-sh
5+
@@ -98,7 +98,6 @@ def find_matches(swift_src_root):
6+
# `-enable-upcoming-feature` in the test directories.
7+
output = subprocess.check_output(
8+
[
9+
- "git",
10+
"grep",
11+
"--extended-regexp",
12+
"--recursive",
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
14+
index 9a0f5b43e2d..5c7d1320a2d 100644
15+
--- a/swift/utils/swift_build_support/swift_build_support/cmake.py
16+
+++ b/swift/utils/swift_build_support/swift_build_support/cmake.py
17+
@@ -150,11 +150,8 @@ class CMake(object):
18+
define("CMAKE_CXX_COMPILER_LAUNCHER:PATH", args.cmake_cxx_launcher)
19+
20+
if self.prefer_native_toolchain and product:
21+
- clang_tools_path = product.native_clang_tools_path(args.host_target)
22+
- define("CMAKE_C_COMPILER:PATH", os.path.join(clang_tools_path,
23+
- 'bin', 'clang'))
24+
- define("CMAKE_CXX_COMPILER:PATH", os.path.join(clang_tools_path,
25+
- 'bin', 'clang++'))
26+
+ define("CMAKE_C_COMPILER:PATH", toolchain.cc)
27+
+ define("CMAKE_CXX_COMPILER:PATH", toolchain.cxx)
28+
29+
toolchain_path = product.native_toolchain_path(args.host_target)
30+
cmake_swiftc_path = os.getenv('CMAKE_Swift_COMPILER',
131
diff --git a/swift-corelibs-libdispatch/src/swift/CMakeLists.txt b/swift-corelibs-libdispatch/src/swift/CMakeLists.txt
232
index 38bef37..d0ddf98 100644
333
--- a/swift-corelibs-libdispatch/src/swift/CMakeLists.txt

0 commit comments

Comments
 (0)