forked from termux/termux-packages
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swift: update from 5.8.1 to trunk Sep 4 snapshot
- Loading branch information
1 parent
ab5d3e6
commit 158f466
Showing
19 changed files
with
150 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/dispatch/dispatch.h b/dispatch/dispatch.h | ||
index 0c7bdd4..35cb91d 100644 | ||
--- a/dispatch/dispatch.h | ||
+++ b/dispatch/dispatch.h | ||
@@ -39,6 +39,9 @@ | ||
#include <stdarg.h> | ||
#include <string.h> | ||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) | ||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <unistd.h> | ||
#endif | ||
#include <fcntl.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/llbuild/products-libllbuild-include-llbuild-buildsystem.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/products/libllbuild/include/llbuild/buildsystem.h b/products/libllbuild/include/llbuild/buildsystem.h | ||
index d75b9cc3..3c7ccc7b 100644 | ||
--- a/products/libllbuild/include/llbuild/buildsystem.h | ||
+++ b/products/libllbuild/include/llbuild/buildsystem.h | ||
@@ -40,6 +40,9 @@ typedef HANDLE FD; | ||
#else | ||
#include <sys/types.h> | ||
#endif // defined(__linux__) || defined(__GNU__) | ||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <unistd.h> | ||
typedef pid_t llbuild_pid_t; | ||
typedef int FD; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
diff --git a/swift-corelibs-libdispatch/dispatch/dispatch.h b/swift-corelibs-libdispatch/dispatch/dispatch.h | ||
index 0c7bdd4..35cb91d 100644 | ||
--- a/swift-corelibs-libdispatch/dispatch/dispatch.h | ||
+++ b/swift-corelibs-libdispatch/dispatch/dispatch.h | ||
@@ -39,6 +39,9 @@ | ||
#include <stdarg.h> | ||
#include <string.h> | ||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) | ||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <unistd.h> | ||
#endif | ||
#include <fcntl.h> | ||
diff --git a/llbuild/products/libllbuild/include/llbuild/buildsystem.h b/llbuild/products/libllbuild/include/llbuild/buildsystem.h | ||
index d75b9cc3..3c7ccc7b 100644 | ||
--- a/llbuild/products/libllbuild/include/llbuild/buildsystem.h | ||
+++ b/llbuild/products/libllbuild/include/llbuild/buildsystem.h | ||
@@ -40,6 +40,9 @@ typedef HANDLE FD; | ||
#else | ||
#include <sys/types.h> | ||
#endif // defined(__linux__) || defined(__GNU__) | ||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <unistd.h> | ||
typedef pid_t llbuild_pid_t; | ||
typedef int FD; | ||
diff --git a/swift-tools-support-core/Sources/TSCclibc/include/indexstore_functions.h b/swift-tools-support-core/Sources/TSCclibc/include/indexstore_functions.h | ||
index fb8ddab..4553ab0 100644 | ||
--- a/swift-tools-support-core/Sources/TSCclibc/include/indexstore_functions.h | ||
+++ b/swift-tools-support-core/Sources/TSCclibc/include/indexstore_functions.h | ||
@@ -17,6 +17,9 @@ | ||
#include <stdbool.h> | ||
#include <stddef.h> | ||
#include <stdint.h> | ||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <time.h> | ||
|
||
/** | ||
diff --git a/swift-crypto/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_asn1.h b/swift-crypto/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_asn1.h | ||
index 652fb89..c10e8ce 100644 | ||
--- a/swift-crypto/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_asn1.h | ||
+++ b/swift-crypto/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_asn1.h | ||
@@ -60,6 +60,9 @@ | ||
|
||
#include "CCryptoBoringSSL_base.h" | ||
|
||
+#if defined(__ANDROID__) | ||
+#include <signal.h> | ||
+#endif | ||
#include <time.h> | ||
|
||
#include "CCryptoBoringSSL_bio.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/swift/swift-host-llvm-utilities.patch.beforehostbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/swift/utils/swift_build_support/swift_build_support/products/llvm.py b/swift/utils/swift_build_support/swift_build_support/products/llvm.py | ||
index 744dca10fca..7b5932882f2 100644 | ||
--- a/swift/utils/swift_build_support/swift_build_support/products/llvm.py | ||
+++ b/swift/utils/swift_build_support/swift_build_support/products/llvm.py | ||
@@ -231,6 +231,7 @@ class LLVM(cmake_product.CMakeProduct): | ||
|
||
if self.args.skip_build or not self.args.build_llvm: | ||
build_targets = ['llvm-tblgen', 'clang-resource-headers', | ||
+ 'clang-pseudo-gen', 'clang-tidy-confusable-chars-gen', | ||
'intrinsics_gen', 'clang-tablegen-targets'] | ||
if not self.args.build_toolchain_only: | ||
build_targets.extend([ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
packages/swift/swiftpm-Sources-Build-BuildPlan.swift.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters