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

Fix #10007: Propagate msvc-style link flags to clang-cl with Bazel #16741

Merged
1 commit merged into from
May 6, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented May 4, 2024

Fix #10007: Propagate msvc-style link flags to clang-cl with Bazel

The idea here is to set the existing config "config_msvc" not only
when "msvc-cl" is specified but also when "clang-cl" is specified.

Keep in mind that clang-cl support in protobuf remains to be only
best-effort and untested for now.

@copybara-service copybara-service bot force-pushed the test_630590450 branch 2 times, most recently from 2229b8e to 4145e25 Compare May 6, 2024 21:43
@copybara-service copybara-service bot changed the title Fix #10007: Support clang-cl in Bazel build Fix #10007: Propagate msvc-style link flags to clang-cl with Bazel May 6, 2024
The idea here is to set the existing config "config_msvc" not only
when "msvc-cl" is specified but also when "clang-cl" is specified.

Keep in mind that clang-cl support in protobuf remains to be only
best-effort and untested for now.

PiperOrigin-RevId: 631195504
@copybara-service copybara-service bot closed this pull request by merging all changes into main in 55592a2 May 6, 2024
@copybara-service copybara-service bot deleted the test_630590450 branch May 6, 2024 22:04
@github-pages github-pages bot temporarily deployed to github-pages May 6, 2024 22:04 Inactive
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.

Wrong link flags when compiling with Bazel and clang-cl
2 participants