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

Statically link Visual Studio redistributables on Windows builds #16602

Merged
merged 8 commits into from
Feb 18, 2025

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Feb 17, 2025

This PR statically links the C runtime on Windows builds so we no longer require installing Visual Studio redistributables.

Test plan

Relying on CI here to not break anything for Windows.

@philipp-spiess philipp-spiess requested a review from a team as a code owner February 17, 2025 15:13
@philipp-spiess
Copy link
Member Author

Screenshot 2025-02-17 at 13 05 25

Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

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

Not 100% sure how to test this, but relying on CI builds makes sense 💪

Actually, I wonder why it works on CI and not in some environments from our users 🤔

@philipp-spiess
Copy link
Member Author

@RobinMalfait I suspect the CI runners have MSVC redistributables installed 🤔

@philipp-spiess philipp-spiess merged commit 23723e1 into main Feb 18, 2025
5 checks passed
@philipp-spiess philipp-spiess deleted the fix/windows-statically-link-clib branch February 18, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants