Closed vzsg closed 4 years ago
With this PR in:
The default Swift version will be 5.2.1, with the promise that it will be updated quickly as new toolchains drop.
Living legacy projects can still pin old versions manually.
On top of the .swift-version file, the SWIFT_VERSION configuration variable can be used to specify the pinned Swift version.
.swift-version
SWIFT_VERSION
This helps consistency with other build parameters and may be easier to explain than the hidden file.
Clang is no longer installed for Swift 5.x.
It was just wasted build time and cache space anyway.
The README has a practical example for SWIFT_BUILD_FLAGS.
With this PR in:
The default Swift version will be 5.2.1, with the promise that it will be updated quickly as new toolchains drop.
Living legacy projects can still pin old versions manually.
On top of the
.swift-version
file, theSWIFT_VERSION
configuration variable can be used to specify the pinned Swift version.This helps consistency with other build parameters and may be easier to explain than the hidden file.
Clang is no longer installed for Swift 5.x.
It was just wasted build time and cache space anyway.
The README has a practical example for SWIFT_BUILD_FLAGS.