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

CLion MSVC Support #6500

Merged
merged 10 commits into from
Jul 24, 2024
Merged

Conversation

LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Jun 24, 2024

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #6451

Description of this change

Fixes windows specific issues and adds support for MSVC. Since, the MSVCCompilerToVersionCacheService is only available since 231 all earlier versions are not supported.

Limitations:

  • Debugging only using LLDB
  • Path mapping is not correct when debugging

@LeFrosch LeFrosch force-pushed the Daniel.Brauner/windows branch 5 times, most recently from 352c32e to f28e1c6 Compare June 24, 2024 12:29
@LeFrosch LeFrosch marked this pull request as ready for review June 24, 2024 13:27
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Jun 24, 2024
@LeFrosch LeFrosch requested a review from ujohnny June 24, 2024 13:27
@LeFrosch LeFrosch force-pushed the Daniel.Brauner/windows branch 2 times, most recently from eaa77f3 to b374efb Compare July 15, 2024 06:05
@@ -184,6 +189,35 @@ private ImmutableMap<TargetKey, BlazeCTargetInfoService.TargetInfo> calculatePer
return infoMap.build();
}

private CompilerSpecificSwitchBuilder selectSwitchBuilder(
Copy link
Collaborator

Choose a reason for hiding this comment

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

static?

return new GCCSwitchBuilder();
}

private CidrCompilerSwitches buildSwitchBuilder(
Copy link
Collaborator

Choose a reason for hiding this comment

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

static?

@ujohnny ujohnny changed the title CLion Windows Support CLion MSVC Support Jul 24, 2024
@LeFrosch LeFrosch merged commit 26709ab into bazelbuild:master Jul 24, 2024
6 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Jul 24, 2024
@LeFrosch LeFrosch deleted the Daniel.Brauner/windows branch September 19, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants