mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
After a long discussion with Daniel, the behavior of "xcrun --sdk macosx" will always pick the best SDK to use with the Swift found by "xcrun swift". The only case in which we have a problem is if someone has explicitly specified the path to a Swift binary, or if someone is on 10.9 but only has the command line tools installed (in which case they lose anyway). In order to keep this from polluting the tests, I've changed %swift_driver to set SDKROOT to an empty path by default. Use -sdk if you need to provide an SDK in a test, not the SDKROOT environment variable. (This is what everyone has been doing so far.) This is still limited to -i and REPL modes; for compilation an explicit SDK is still required. <rdar://problem/14395800> Swift SVN r18770
3 lines
15 B
Bash
Executable File
3 lines
15 B
Bash
Executable File
#!/bin/sh
|
|
echo
|