Skip to content
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

Merged
merged 3 commits into from
Mar 17, 2020

Conversation

rolfbjarne
Copy link
Member

@rolfbjarne rolfbjarne commented Mar 16, 2020

Partial fix for #4634.
Fixes #8005.

@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Mar 16, 2020
@rolfbjarne rolfbjarne changed the title [mtouch/mmp] Rework how we find developer tools. Partial fix for #4634. [mtouch/mmp] Rework how we find developer tools. Partial fix for #4634 and fixes #8005. Mar 16, 2020
Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ it


public static void RunStrip (IList<string> options)
{
RunXcodeTool ("strup", options);
Copy link
Contributor

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);
}
Copy link
Contributor

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

Copy link
Member Author

@rolfbjarne rolfbjarne Mar 16, 2020

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.

Copy link
Contributor

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)

@monojenkins
Copy link
Collaborator

Build failure
Build failed or was aborted

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

47 tests failed, 43 tests passed.

Failed tests

  • xammac tests/Mac Modern/Release: BuildFailure
  • link all/Mac Modern/Debug: BuildFailure
  • link all/Mac Modern/Release: BuildFailure
  • monotouch-test/iOS Unified 32-bits - simulator/Debug: BuildFailure
  • framework-test/iOS Unified 32-bits - simulator/Debug: BuildFailure
  • interdependent-binding-projects/iOS Unified 32-bits - simulator/Debug: BuildFailure
  • link all/iOS Unified 32-bits - simulator/Debug: BuildFailure
  • link all/iOS Unified 32-bits - simulator/Release: BuildFailure
  • link sdk/iOS Unified 32-bits - simulator/Debug: BuildFailure
  • link sdk/iOS Unified 32-bits - simulator/Release: BuildFailure
  • monotouch-test/iOS Unified 32-bits - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/iOS Unified 32-bits - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/iOS Unified 32-bits - simulator/Release (all optimizations): BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • framework-test/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • interdependent-binding-projects/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • link all/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • link all/iOS Unified 64-bits - simulator/Release: BuildFailure
  • link sdk/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • link sdk/iOS Unified 64-bits - simulator/Release: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): BuildFailure
  • monotouch-test/tvOS - simulator/Debug: BuildFailure
  • framework-test/tvOS - simulator/Debug: BuildFailure
  • interdependent-binding-projects/tvOS - simulator/Debug: BuildFailure
  • link all/tvOS - simulator/Debug: BuildFailure
  • link all/tvOS - simulator/Release: BuildFailure
  • link sdk/tvOS - simulator/Debug: BuildFailure
  • link sdk/tvOS - simulator/Release: BuildFailure
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/tvOS - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/tvOS - simulator/Release (all optimizations): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug: BuildFailure
  • framework-test/watchOS 32-bits - simulator/Debug: BuildFailure
  • interdependent-binding-projects/watchOS 32-bits - simulator/Debug: BuildFailure
  • link all/watchOS 32-bits - simulator/Debug: BuildFailure
  • link all/watchOS 32-bits - simulator/Release: BuildFailure
  • link sdk/watchOS 32-bits - simulator/Debug: BuildFailure
  • link sdk/watchOS 32-bits - simulator/Release: BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): BuildFailure
  • MSBuild tests/iOS (net461): Failed (Execution failed with exit code 4)
  • MSBuild tests/iOS (netstandard2.0): Failed (Execution failed with exit code 4)
  • mmptest/macOS/Debug: Failed (Execution failed with exit code 4)
  • MTouch tests/NUnit: BuildFailure

@rolfbjarne
Copy link
Member Author

build

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

5 tests failed, 85 tests passed.

Failed tests

  • xammac tests/Mac Modern/Release: BuildFailure
  • monotouch-test/iOS Unified 32-bits - simulator/Debug (static registrar): Failed
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): Failed
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): Failed
  • mmptest/macOS/Debug: Failed (Execution failed with exit code 4)

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

1 tests failed, 89 tests passed.

Failed tests

  • xammac tests/Mac Modern/Release: BuildFailure

@rolfbjarne
Copy link
Member Author

Test failure is due to https://github.com/xamarin/maccore/issues/2177.

@rolfbjarne rolfbjarne merged commit 13a56ff into dotnet:master Mar 17, 2020
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Mar 17, 2020
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Mar 17, 2020
rolfbjarne added a commit that referenced this pull request Mar 18, 2020
dalexsoto pushed a commit that referenced this pull request Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
5 participants