Skip to content

Commit a3ead02

Browse files
committed
Merge remote-tracking branch 'upstream/master' into a-couple-of-tangents
2 parents 356b3b4 + e65dfc8 commit a3ead02

File tree

517 files changed

+9632
-3748
lines changed

Some content is hidden

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

517 files changed

+9632
-3748
lines changed

CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,17 @@ option(SWIFT_STDLIB_ENABLE_SIB_TARGETS
223223
"Should we generate sib targets for the stdlib or not?"
224224
FALSE)
225225

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+
226237
#
227238
# User-configurable Android specific options.
228239
#

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 10.2 beta](https://developer.apple.com/xcode/downloads/).
79+
To build for macOS, you need [Xcode 11 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-
utils/build-script --release-debuginfo
144+
swift/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-
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
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
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-
utils/build-script --debug
158+
swift/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-
utils/build-script -h
163+
swift/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-
$ ./utils/build-toolchain $BUNDLE_PREFIX
226+
$ ./swift/utils/build-toolchain $BUNDLE_PREFIX
227227
```
228228

229229
where ``$BUNDLE_PREFIX`` is a string that will be prepended to the build

apinotes/Accelerate.apinotes

Lines changed: 0 additions & 61 deletions
This file was deleted.

apinotes/CMakeLists.txt

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

apinotes/ScriptingBridge.apinotes

Lines changed: 0 additions & 5 deletions
This file was deleted.

benchmark/single-source/RandomValues.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public func run_RandomIntegersLCG(_ N: Int) {
6363
for _ in 0 ..< 100_000 {
6464
x &+= Int64.random(in: 0...10_000, using: &generator)
6565
}
66-
CheckResults(x == 498214315)
66+
blackHole(x)
6767
}
6868
}
6969

0 commit comments

Comments
 (0)