-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mtouch/mmp] Rework how we find developer tools. Partial fix for #4634 and fixes #8005. #8121
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ it
tools/common/Driver.cs
Outdated
|
||
public static void RunStrip (IList<string> options) | ||
{ | ||
RunXcodeTool ("strup", options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ typo strip
if (!string.IsNullOrEmpty (DeveloperDirectory)) { | ||
env.Add ("DEVELOPER_DIR"); | ||
env.Add (DeveloperDirectory); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ does the above change ? or can it be cached and reused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean cache the list of environment values? Not sure if that will make much of a difference, because we cache the result from this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more for consistency across invocations than time savings. If we believe it can change then the caching is not really correct. If it can't change then it does not need to be repeated for every tool being queried. Current code makes it ambiguous (but it's not a big thing)
Build failure |
Build failure Test results47 tests failed, 43 tests passed.Failed tests
|
build |
Build failure Test results5 tests failed, 85 tests passed.Failed tests
|
Build failure Test results1 tests failed, 89 tests passed.Failed tests
|
Test failure is due to https://github.com/xamarin/maccore/issues/2177. |
…et#4634 and fixes dotnet#8005. (dotnet#8121) Partial fix for dotnet#4634. Fixes dotnet#8005.
…et#4634 and fixes dotnet#8005. (dotnet#8121) Partial fix for dotnet#4634. Fixes dotnet#8005.
Partial fix for #4634.
Fixes #8005.