We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47cb588 + 0e96420 commit f31fdbaCopy full SHA for f31fdba
README.md
@@ -90,6 +90,15 @@ following options:
90
* [llbuild](https://github.com/apple/swift-llbuild) cloned parallel to your SwiftPM clone
91
* Possibly, [a more recent Swift snapshot](https://swift.org/download)
92
93
+###Choosing Swift version
94
+
95
+The `SWIFT_EXEC` environment variable specifies the `swiftc` executable path used by `swift build`. If it is not set, SPM will try to locate it:
96
97
+1. In `swift-build`'s parent directory.
98
+2. (on OS X) by calling `xcrun --find swiftc`
99
+3. in PATH
100
101
102
There is further development-oriented documentation in [Documentation/Internals](Documentation/Internals).
103
104
0 commit comments