diff options
| author | Misty De Meo | 2015-12-04 13:58:22 -0800 |
|---|---|---|
| committer | Misty De Meo | 2015-12-07 13:17:43 -0800 |
| commit | 3a1d7e7259440abe61cc1cc9319d179caba4e8b6 (patch) | |
| tree | 41f94c87303c6af4494a2ccd809bb218deeb44da /Library/Homebrew/dev-cmd | |
| parent | 7b26c585c2a26ec0dad201852ca4934c77fcc493 (diff) | |
| download | brew-3a1d7e7259440abe61cc1cc9319d179caba4e8b6.tar.bz2 | |
MacOS: refactor sdk_path lookup
* Pull SDK lookup code into a new `locator` class, which caches its
results
* SDKLocator only queries one SDK location, not all SDK locations
* Build a map of all installed SDKs inside that location, instead of
just the requested SDK
* Ask xcrun for --show-sdk-platform-path first so that all SDKs can be
found, instead of asking xcodebuild for a specific SDK
* Add a new `SDK` class, which tracks the version and the prefix; add a
new `MacOS.sdk` method which returns an `SDK` instance instead of a
bare path; MacOS.sdk_path still returns a bare path
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions
