Skip to content

Statically link Visual Studio redistributables on Windows builds#16602

Merged
philipp-spiess merged 8 commits into
mainfrom
fix/windows-statically-link-clib
Feb 18, 2025
Merged

Statically link Visual Studio redistributables on Windows builds#16602
philipp-spiess merged 8 commits into
mainfrom
fix/windows-statically-link-clib

Conversation

@philipp-spiess

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author
Screenshot 2025-02-17 at 13 05 25

@RobinMalfait RobinMalfait left a comment

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.

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
Copy Markdown
Contributor Author

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

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