This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from vgorloff/feature/[email protected]…
…n-01 More reliable and automated setup.
- Loading branch information
Showing
39 changed files
with
1,553 additions
and
582 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
|
||
/Build | ||
/Install | ||
/Temp |
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,93 @@ | ||
AllCops: | ||
Exclude: | ||
- Build/**/* | ||
- Install/**/* | ||
- Projects/**/* | ||
- Sources/**/* | ||
|
||
Metrics/AbcSize: | ||
Max: 50 | ||
|
||
Metrics/ClassLength: | ||
Max: 240 | ||
|
||
Metrics/MethodLength: | ||
Max: 80 | ||
|
||
Metrics/CyclomaticComplexity: | ||
Max: 20 | ||
|
||
Metrics/PerceivedComplexity: | ||
Max: 20 | ||
|
||
Style/IfUnlessModifier: | ||
Enabled: false | ||
|
||
Style/SpecialGlobalVars: | ||
Enabled: false | ||
|
||
Style/BracesAroundHashParameters: | ||
Enabled: false | ||
|
||
Style/WordArray: | ||
EnforcedStyle: brackets | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/AsciiComments: | ||
Enabled: false | ||
|
||
Style/SymbolArray: | ||
Enabled: false | ||
|
||
Style/RedundantReturn: | ||
Enabled: false | ||
|
||
Style/MethodCallWithoutArgsParentheses: | ||
Enabled: false | ||
|
||
Style/GuardClause: | ||
Enabled: false | ||
|
||
Style/BlockDelimiters: | ||
Enabled: false | ||
|
||
Style/NegatedIf: | ||
Enabled: false | ||
|
||
Style/DefWithParentheses: | ||
Enabled: false | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Layout/EmptyLinesAroundClassBody: | ||
EnforcedStyle: empty_lines | ||
|
||
Layout/IndentationWidth: | ||
Width: 3 | ||
|
||
Naming/VariableName: | ||
EnforcedStyle: camelCase | ||
|
||
Naming/MethodName: | ||
Enabled: false | ||
|
||
Style/InverseMethods: | ||
Enabled: false | ||
|
||
Layout/EmptyLinesAroundBlockBody: | ||
Enabled: false | ||
|
||
Naming/UncommunicativeMethodParamName: | ||
Enabled: false | ||
|
||
Naming/UncommunicativeBlockParamName: | ||
Enabled: false | ||
|
||
Layout/EmptyLinesAroundModuleBody: | ||
Enabled: false | ||
|
||
Metrics/LineLength: | ||
Enabled: false |
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,4 @@ | ||
/*/ | ||
/*.zip | ||
/*.tgz | ||
/*.tar.gz |
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 @@ | ||
# Automatically or Manually downloadded Android NDK archive will be placed here |
14 changes: 14 additions & 0 deletions
14
Patches/swift-corelibs-foundation/MissedLocaleHeaders.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/build.py b/build.py | ||
index 8ee475f374dbb2cf479d7447c953719643bf8075..b228a4dcc6fd4c04619e03d22ff32bbd93d076e9 100755 | ||
--- a/build.py | ||
+++ b/build.py | ||
@@ -211,6 +211,9 @@ private = [ | ||
'CoreFoundation/PlugIn.subproj/CFBundle_BinaryTypes.h', | ||
'CoreFoundation/Locale.subproj/CFICULogging.h', | ||
'CoreFoundation/Locale.subproj/CFLocaleInternal.h', | ||
+ 'CoreFoundation/Locale.subproj/CFCalendar_Internal.h', | ||
+ 'CoreFoundation/Locale.subproj/CFDateComponents.h', | ||
+ 'CoreFoundation/Locale.subproj/CFDateInterval.h', | ||
'CoreFoundation/StringEncodings.subproj/CFUnicodePrecomposition.h', | ||
'CoreFoundation/Base.subproj/CFPriv.h', | ||
'CoreFoundation/StringEncodings.subproj/CFUniCharPriv.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Bugreport: https://bugs.swift.org/browse/SR-9513 |
13 changes: 13 additions & 0 deletions
13
Patches/swift-corelibs-libdispatch/CmakeSystemProcessor.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,13 @@ | ||
diff --git a/cmake/modules/SwiftSupport.cmake b/cmake/modules/SwiftSupport.cmake | ||
index 60f8b45a33e1546dce4aa2b30d3f9070f7b37ab9..14b4e950210f72321f1418531687ad67fc44e7a2 100644 | ||
--- a/cmake/modules/SwiftSupport.cmake | ||
+++ b/cmake/modules/SwiftSupport.cmake | ||
@@ -228,6 +228,8 @@ function(get_swift_host_arch result_var_name) | ||
set("${result_var_name}" "s390x" PARENT_SCOPE) | ||
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv6l") | ||
set("${result_var_name}" "armv6" PARENT_SCOPE) | ||
+ elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7-a") | ||
+ set("${result_var_name}" "armv7" PARENT_SCOPE) | ||
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l") | ||
set("${result_var_name}" "armv7" PARENT_SCOPE) | ||
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64") |
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
Oops, something went wrong.