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

Grpc.Tools: Use x86 protoc binaries on arm64 Windows #32017

Merged

Conversation

tonydnewell
Copy link
Contributor

A workaround for #31975 - use x86 protoc binaries on Windows arm64.

Unable to test as I don't have access to Windows-arm64.

Also not sure how NUnit PlatformAttribute handles arm64 (could not find any information). It is possible that tests will fail if run on Windows-arm64 with full .NET framework if NUnit doesn't distinguish between x64 and arm64 (just identifies a 64 bit platform). Not sure that we run tests on Windows-arm64.

@tonydnewell tonydnewell changed the title Use x86 protoc binaries on arm64 Windows Grpc.Tools: Use x86 protoc binaries on arm64 Windows Jan 4, 2023
@jtattermusch jtattermusch added the release notes: yes Indicates if PR needs to be in release notes label Jan 16, 2023
@jtattermusch jtattermusch self-requested a review January 16, 2023 10:08
@jtattermusch jtattermusch self-assigned this Jan 16, 2023
Copy link
Contributor

@jtattermusch jtattermusch left a comment

Choose a reason for hiding this comment

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

LGTM.

@jtattermusch jtattermusch merged commit aea0240 into grpc:master Jan 16, 2023
@jtattermusch
Copy link
Contributor

Within the next 24 hours after merging, a Grpc.Tools nuget with the fix should show up in https://packages.grpc.io/ (and also the daily nuget feed: https://github.com/grpc/grpc-dotnet#grpc-nuget-feed).
It would be good to get a verification from the user.

@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Jan 17, 2023
@tonydnewell
Copy link
Contributor Author

@jtattermusch the Grpc.Tools nuget in the nightly builds has dummy binaries (zero length) for most platforms so cannot be used for testing.

@jtattermusch
Copy link
Contributor

@jtattermusch the Grpc.Tools nuget in the nightly builds has dummy binaries (zero length) for most platforms so cannot be used for testing.

Filed #32179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported Specifies if the PR has been imported to the internal repository lang/C# release notes: yes Indicates if PR needs to be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants