Skip to content

Commit 326808e

Browse files
committed
---
yaml --- r: 340414 b: refs/heads/rxwei-patch-1 c: 6bf0826 h: refs/heads/master
1 parent d54604a commit 326808e

File tree

1,190 files changed

+11898
-26088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,190 files changed

+11898
-26088
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: e65dfc8f2d489766c4d05b2490803c0bf9e857fa
1018+
refs/heads/rxwei-patch-1: 6bf0826524b10612f9905cef150df96edcbd57cd
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/.mailmap

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ Daniel Duan <[email protected]> <[email protected]>
2929
Dante Broggi <[email protected]>
3030
3131
32+
3233
3334
3435
35-
36-
David Rönnqvist <[email protected]>
36+
37+
David Rönnqvist <[email protected]>
3738
3839
3940
@@ -42,8 +43,10 @@ Davide Italiano <[email protected]> <[email protected]>
4243
4344
4445
46+
4547
4648
Erik Eckstein <[email protected]>
49+
4750
4851
Ewa Matejska <[email protected]>
4952
@@ -127,13 +130,15 @@ Ross Bayer <[email protected]>
127130
128131
129132
133+
130134
131135
Stephen Canon <[email protected]>
132136
133137
Sukolsak Sakshuwong <[email protected]>
134138
135139
136140
141+
137142
138143
139144

branches/rxwei-patch-1/CHANGELOG.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,6 @@ CHANGELOG
2626
Swift Next
2727
----------
2828

29-
* [SR-8974][]:
30-
31-
Duplicate tuple element labels are no longer allowed, because it leads
32-
to incorrect behavior. For example:
33-
34-
```
35-
let dupLabels: (foo: Int, foo: Int) = (foo: 1, foo: 2)
36-
37-
enum Foo { case bar(x: Int, x: Int) }
38-
let f: Foo = .bar(x: 0, x: 1)
39-
```
40-
41-
will now be diagnosed as an error.
42-
43-
Note: You can still use duplicate labels when declaring functions and
44-
subscripts, as long as the internal labels are different. For example:
45-
46-
```
47-
func foo(bar x: Int, bar y: Int) {}
48-
subscript(a x: Int, a y: Int) -> Int {}
49-
```
50-
5129
* [SR-6118][]:
5230

5331
Subscripts can now declare default arguments:
@@ -7718,6 +7696,5 @@ Swift 1.0
77187696
[SR-7799]: <https://bugs.swift.org/browse/SR-7799>
77197697
[SR-8109]: <https://bugs.swift.org/browse/SR-8109>
77207698
[SR-8546]: <https://bugs.swift.org/browse/SR-8546>
7721-
[SR-8974]: <https://bugs.swift.org/browse/SR-8974>
77227699
[SR-9043]: <https://bugs.swift.org/browse/SR-9043>
77237700
[SR-9827]: <https://bugs.swift.org/browse/SR-9827>

branches/rxwei-patch-1/CMakeLists.txt

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ endif()
117117

118118
set(SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
119119
"Build Swift with code coverage instrumenting enabled [FALSE, NOT-MERGED, MERGED]")
120+
set_property(CACHE SWIFT_ANALYZE_CODE_COVERAGE PROPERTY
121+
STRINGS FALSE "NOT-MERGED" "MERGED")
120122

121123
# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
122124
# can be reused when a new version of Swift comes out (assuming the user hasn't
@@ -169,20 +171,8 @@ endif()
169171

170172
set(SWIFT_STDLIB_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
171173
"Build type for the Swift standard library and SDK overlays [Debug, RelWithDebInfo, Release, MinSizeRel]")
172-
# Allow the user to specify the standard library CMAKE_MSVC_RUNTIME_LIBRARY
173-
# value. The following values are valid:
174-
# - MultiThreaded (/MT)
175-
# - MultiThreadedDebug (/MTd)
176-
# - MultiThreadedDLL (/MD)
177-
# - MultiThreadedDebugDLL (/MDd)
178-
if(CMAKE_BUILD_TYPE STREQUAL Debug)
179-
set(SWIFT_STDLIB_MSVC_RUNTIME_LIBRARY_default MultiThreadedDebugDLL)
180-
else()
181-
set(SWIFT_STDLIB_MSVC_RUNTIME_LIBRARY_default MultiThreadedDLL)
182-
endif()
183-
set(SWIFT_STDLIB_MSVC_RUNTIME_LIBRARY
184-
${SWIFT_STDLIB_MSVC_RUNTIME_LIBRARY_default}
185-
CACHE STRING "MSVC Runtime Library for the standard library")
174+
set_property(CACHE SWIFT_STDLIB_BUILD_TYPE PROPERTY
175+
STRINGS "Debug" "RelWithDebInfo" "Release" "MinSizeRel")
186176

187177
is_build_type_optimized("${SWIFT_STDLIB_BUILD_TYPE}" swift_optimized)
188178
if(swift_optimized)
@@ -223,17 +213,6 @@ option(SWIFT_STDLIB_ENABLE_SIB_TARGETS
223213
"Should we generate sib targets for the stdlib or not?"
224214
FALSE)
225215

226-
227-
set(SWIFT_DARWIN_SUPPORTED_ARCHS "" CACHE STRING
228-
"Semicolon-separated list of architectures to configure on Darwin platforms. \
229-
If left empty all default architectures are configured.")
230-
231-
set(SWIFT_DARWIN_MODULE_ARCHS "" CACHE STRING
232-
"Semicolon-separated list of architectures to configure Swift module-only \
233-
targets on Darwin platforms. These targets are in addition to the full \
234-
library targets.")
235-
236-
237216
#
238217
# User-configurable Android specific options.
239218
#

branches/rxwei-patch-1/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Please make sure you use Python 2.x. Python 3.x is not supported currently.
7676

7777
#### macOS
7878

79-
To build for macOS, you need [Xcode 11 beta](https://developer.apple.com/xcode/downloads/).
79+
To build for macOS, you need [Xcode 10.2 beta](https://developer.apple.com/xcode/downloads/).
8080
The required version of Xcode changes frequently, and is often a beta release.
8181
Check this document or the host information on <https://ci.swift.org> for the
8282
current required version.
@@ -141,26 +141,26 @@ more environments.
141141

142142
To build using Ninja, run:
143143

144-
swift/utils/build-script --release-debuginfo
144+
utils/build-script --release-debuginfo
145145

146146
When developing Swift, it helps to build what you're working on in a debug
147147
configuration while building the rest of the project with optimizations. Below
148148
are some examples of using debug variants:
149149

150-
swift/utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
151-
swift/utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
152-
swift/utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
150+
utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
151+
utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
152+
utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
153153

154154
Limiting the amount of debug code in the compiler has a very large impact on
155155
Swift compile times, and in turn the test execution time. If you want to build
156156
the entire project in debug, you can run:
157157

158-
swift/utils/build-script --debug
158+
utils/build-script --debug
159159

160160
For documentation of all available arguments, as well as additional usage
161161
information, see the inline help:
162162

163-
swift/utils/build-script -h
163+
utils/build-script -h
164164

165165
#### Xcode
166166

@@ -223,7 +223,7 @@ script is used by swift.org's CI to produce snapshots and can allow for one to
223223
locally reproduce such builds for development or distribution purposes. E.x.:
224224

225225
```
226-
$ ./swift/utils/build-toolchain $BUNDLE_PREFIX
226+
$ ./utils/build-toolchain $BUNDLE_PREFIX
227227
```
228228

229229
where ``$BUNDLE_PREFIX`` is a string that will be prepended to the build
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Name: Accelerate
2+
Enumerators:
3+
- Name: BNNSDataTypeFloatBit
4+
Availability: nonswift
5+
- Name: BNNSDataTypeIntBit
6+
Availability: nonswift
7+
- Name: BNNSDataTypeUIntBit
8+
Availability: nonswift
9+
- Name: BNNSDataTypeIndexedBit
10+
Availability: nonswift
11+
- Name: BNNSDataTypeFloat16
12+
SwiftPrivate: true
13+
- Name: BNNSDataTypeFloat32
14+
SwiftPrivate: true
15+
- Name: BNNSDataTypeInt8
16+
SwiftPrivate: true
17+
- Name: BNNSDataTypeInt16
18+
SwiftPrivate: true
19+
- Name: BNNSDataTypeInt32
20+
SwiftPrivate: true
21+
- Name: BNNSDataTypeUInt8
22+
SwiftPrivate: true
23+
- Name: BNNSDataTypeUInt16
24+
SwiftPrivate: true
25+
- Name: BNNSDataTypeUInt32
26+
SwiftPrivate: true
27+
- Name: BNNSDataTypeIndexed8
28+
SwiftPrivate: true
29+
30+
- Name: BNNSPoolingFunctionMax
31+
SwiftPrivate: true
32+
- Name: BNNSPoolingFunctionAverage
33+
SwiftPrivate: true
34+
35+
- Name: BNNSActivationFunctionIdentity
36+
SwiftPrivate: true
37+
- Name: BNNSActivationFunctionRectifiedLinear
38+
SwiftPrivate: true
39+
- Name: BNNSActivationFunctionLeakyRectifiedLinear
40+
SwiftPrivate: true
41+
- Name: BNNSActivationFunctionSigmoid
42+
SwiftPrivate: true
43+
- Name: BNNSActivationFunctionTanh
44+
SwiftPrivate: true
45+
- Name: BNNSActivationFunctionScaledTanh
46+
SwiftPrivate: true
47+
- Name: BNNSActivationFunctionAbs
48+
SwiftPrivate: true
49+
- Name: BNNSActivationFunctionLinear
50+
SwiftPrivate: true
51+
- Name: BNNSActivationFunctionClamp
52+
SwiftPrivate: true
53+
- Name: BNNSActivationFunctionIntegerLinearSaturate
54+
SwiftPrivate: true
55+
- Name: BNNSActivationFunctionIntegerLinearSaturatePerChannel
56+
SwiftPrivate: true
57+
- Name: BNNSActivationFunctionSoftmax
58+
SwiftPrivate: true
59+
60+
- Name: BNNSFlagsUseClientPtr
61+
SwiftPrivate: true

branches/rxwei-patch-1/apinotes/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
set(sources
2+
Accelerate.apinotes
23
Dispatch.apinotes
4+
ScriptingBridge.apinotes
35
os.apinotes
46
)
57

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Name: ScriptingBridge
3+
Classes:
4+
- Name: SBElementArray
5+
SwiftImportAsNonGeneric: true

branches/rxwei-patch-1/benchmark/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ set(SWIFT_BENCH_MODULES
108108
single-source/NSError
109109
single-source/NSStringConversion
110110
single-source/NibbleSort
111-
single-source/NIOChannelPipeline
112111
single-source/NopDeinit
113112
single-source/ObjectAllocation
114113
single-source/ObjectiveCBridging

0 commit comments

Comments
 (0)