forked from colemancda/swift-armv7
-
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.
Add support for building Dispatch and Foundation statically
- Needed for a complete swift_static distribution!
- Loading branch information
1 parent
5c7d7f5
commit e54c219
Showing
7 changed files
with
89 additions
and
31 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
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
25 changes: 25 additions & 0 deletions
25
patches/0002-Add-arm-to-float16support-for-missing-symbol.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,25 @@ | ||
From 59b301cf43388999cc230814043a9720710533e5 Mon Sep 17 00:00:00 2001 | ||
From: "Jesse L. Zamora" <[email protected]> | ||
Date: Fri, 28 Feb 2025 15:27:33 -0500 | ||
Subject: [PATCH] Add __arm__ to Float16Support for missing symbol | ||
|
||
--- | ||
stdlib/public/runtime/Float16Support.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/stdlib/public/runtime/Float16Support.cpp b/stdlib/public/runtime/Float16Support.cpp | ||
index fa259559e45..dfa9c9876de 100644 | ||
--- a/stdlib/public/runtime/Float16Support.cpp | ||
+++ b/stdlib/public/runtime/Float16Support.cpp | ||
@@ -31,7 +31,7 @@ | ||
// Android NDK <r21 do not provide `__aeabi_d2h` in the compiler runtime, | ||
// provide shims in that case. | ||
#if (defined(__ANDROID__) && defined(__ARM_ARCH_7A__) && defined(__ARM_EABI__)) || \ | ||
- ((defined(__i386__) || defined(__i686__) || defined(__x86_64__)) && !defined(__APPLE__)) | ||
+ ((defined(__i386__) || defined(__i686__) || defined(__arm__) || defined(__x86_64__)) && !defined(__APPLE__)) | ||
|
||
#include "swift/shims/Visibility.h" | ||
|
||
-- | ||
2.43.0 | ||
|
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