-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
[cmake] Workaround missing stdalign.h in windows portability test #32764
[cmake] Workaround missing stdalign.h in windows portability test #32764
Conversation
The adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490 is green so this is ready for review&merge. |
FYI @gnossen |
Oh, that's fun. :-/ Wonder how MSVC or CMake picks the default. |
I think I found it! Though it's odd. The very last bit grabs the latest version, so it seems like we're not hitting that case. But otherwise it seems to just look for a match to |
Ugh. Looks like CMake defaults to the Windows SDK version that matches the host Windows version, rather than the latest one: https://github.com/Kitware/CMake/blob/f52a2fd26d13fa33d34dd1320f82d3f8aa49f3c3/Source/cmGlobalGenerator.cxx#L624 See also this discussion, and this comment in particular: So I guess that means |
Improved the workaround from #32764 as suggested in #32764 (comment). Once merged, I'll backport to 1.54.x and 1.53.x together with #32764 (these have switched to VS2019)
…pc#32764) Tentative fix for b/275694647. Also see grpc#32662 Adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490 Once merged, I'll backport to 1.54.x and 1.53.x (these have switched to VS2019)
Improved the workaround from grpc#32764 as suggested in grpc#32764 (comment). Once merged, I'll backport to 1.54.x and 1.53.x together with grpc#32764 (these have switched to VS2019)
…pc#32764) Tentative fix for b/275694647. Also see grpc#32662 Adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490 Once merged, I'll backport to 1.54.x and 1.53.x (these have switched to VS2019)
Improved the workaround from grpc#32764 as suggested in grpc#32764 (comment). Once merged, I'll backport to 1.54.x and 1.53.x together with grpc#32764 (these have switched to VS2019)
…pc#32764) Tentative fix for b/275694647. Also see grpc#32662 Adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490 Once merged, I'll backport to 1.54.x and 1.53.x (these have switched to VS2019)
Improved the workaround from grpc#32764 as suggested in grpc#32764 (comment). Once merged, I'll backport to 1.54.x and 1.53.x together with grpc#32764 (these have switched to VS2019)
Improved the workaround from #32764 as suggested in #32764 (comment). Once merged, I'll backport to 1.54.x and 1.53.x together with #32764 (these have switched to VS2019)
Tentative fix for b/275694647. Also see #32662
Adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490
Once merged, I'll backport to 1.54.x and 1.53.x (these have switched to VS2019)