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

Always pass -xc++: Tell the compiler the language to compile #2104

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Always pass -xc++: Tell the compiler the language to compile #2104

merged 1 commit into from
Feb 9, 2024

Conversation

hzeller
Copy link
Collaborator

@hzeller hzeller commented Feb 9, 2024

Bazel just invokes the compiler (gcc or clang) in its basic form and expects it to figure out if the language is C or C++.

Make sure it always is told that it is C++; not all compiler installatins are set-up to auto-detect (looking at you, clang-installation-on-NixOS...).

Works around
Issue NixOS/nixpkgs#216047
Issue NixOS/nixpkgs#150655

Bazel just invokes the compiler (gcc or clang) in its basic form
and expects it to figure out if the language is C or C++.

Make sure it always is told that it is C++; not all compiler
installatins are set-up to auto-detect (looking at you,
clang-installation-on-NixOS...).

Works around
  Issue NixOS/nixpkgs#216047
  Issue NixOS/nixpkgs#150655
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (99d1aa7) 92.91% compared to head (5972d79) 92.91%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2104   +/-   ##
=======================================
  Coverage   92.91%   92.91%           
=======================================
  Files         358      358           
  Lines       26572    26572           
=======================================
  Hits        24689    24689           
  Misses       1883     1883           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hzeller hzeller merged commit 25fe0c7 into chipsalliance:master Feb 9, 2024
30 of 33 checks passed
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