Skip to content

[mmp] Add support for linking only the platform (Xamarin.Mac.dll) assembly on the full profile - #1990

Merged
spouliot merged 9 commits into
dotnet:masterfrom
spouliot:mmp-link-platform
May 16, 2017
Merged

[mmp] Add support for linking only the platform (Xamarin.Mac.dll) assembly on the full profile#1990
spouliot merged 9 commits into
dotnet:masterfrom
spouliot:mmp-link-platform

Conversation

@spouliot

Copy link
Copy Markdown
Contributor

Replace #1973 expect that
the test parts are still needed.

…embly on the full profile

Replace dotnet#1973 expect that
the test parts are still needed.
@spouliot

Copy link
Copy Markdown
Contributor Author

@VincentDondain ^ this will require an update to the Mac addin UI (for d15-3)

@spouliot spouliot added this to the d15-3 milestone Apr 11, 2017
@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@chamons chamons left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great. Let me build this with my tests locally and see how it shakes out.

@spouliot spouliot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@spouliot spouliot added the requires-qa-before-merge The pull request requires QA to approve it before it can be merged label Apr 12, 2017
@spouliot

Copy link
Copy Markdown
Contributor Author

I'll create a card for QA to test this

@chamons

chamons commented Apr 12, 2017

Copy link
Copy Markdown
Contributor

Building at least a few large mac samples (SourceWriter, etc) in XM 4.5 (Full) and with --linkplatform in mmp args would be grand.

@spouliot

Copy link
Copy Markdown
Contributor Author

Comment thread tools/mmp/driver.cs
}
}
},
{ "linkplatform", "Link only the Xamarin.Mac.dll platform assembly", v => App.LinkMode = LinkMode.Platform },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What about XamMac.dll? Do we want to support Classic? We might want to disallow it, just to minimize the test matrix.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a bad point. Let me add an error...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

- Extended test infrastructure change to allow classic projects that include bundling
- Setting linkplatform in MonoBundlingExtraArgs since we don't even read project setting LinkMode - Platform for classic
@monojenkins

Copy link
Copy Markdown
Contributor

Build success

Comment thread tools/mmp/error.cs Outdated
// Warning MM2016 Invalid TlsProvider `{0}` option. The only valid value `{1}` will be used.
// MM2017 Could not process XML description: {0}
// MM202x Binding Optimizer failed processing `...`.
// MM2100 Xamarin.Mac Classic API does not support Platofmr Linking.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Typo ("Platform")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in merge with master. Thanks!

@chamons

chamons commented May 15, 2017

Copy link
Copy Markdown
Contributor

Master merged but not built locally. Waiting for bots to chew on it.

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@spouliot

Copy link
Copy Markdown
Contributor Author

@chamons merge issue ? all tests fails to build due to

/Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/common/mac/ProjectTestHelpers.cs(243,97): error CS0103: The name 'GenerateOuputCommand' does not exist in the current context

@chamons

chamons commented May 16, 2017

Copy link
Copy Markdown
Contributor

Yep. On it (also got another conflict).

Too many tests, which is a good problem.

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@spouliot
spouliot merged commit 845f365 into dotnet:master May 16, 2017
@spouliot
spouliot deleted the mmp-link-platform branch May 16, 2017 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires-qa-before-merge The pull request requires QA to approve it before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants