Bug 243257
| Summary: | [webkitdirs] Avoid call to `xcodebuild -showsdks` when computing Xcode options | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Elliott Williams <emw> |
| Component: | Tools / Tests | Assignee: | Elliott Williams <emw> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=216568 | ||
Elliott Williams
xcodebuild -showsdks can be noticeably slow. On my system, a warmed up invocation takes ~400 ms, and when switching to a new Xcode toolchain, it can take as long as 9 sec. We only need the list of SDKs available, not any information about their contents, and that can be found by enumerating the SDK directories in the current developer dir.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Elliott Williams
Pull request: https://github.com/WebKit/WebKit/pull/2784
Radar WebKit Bug Importer
<rdar://problem/97674528>
EWS
Committed 253224@main (c6027549fd07): <https://commits.webkit.org/253224@main>
Reviewed commits have been landed. Closing PR #2784 and removing active labels.