Skip to content

Don't load cc toolchain from rules_cc#779

Merged
aiuto merged 4 commits intomainfrom
meteorcloudy-patch-1
Nov 7, 2023
Merged

Don't load cc toolchain from rules_cc#779
aiuto merged 4 commits intomainfrom
meteorcloudy-patch-1

Conversation

@meteorcloudy
Copy link
Member

@meteorcloudy meteorcloudy commented Nov 7, 2023

The cc toolchain autoconfig in rules_cc is out of sync from Bazel and doesn't work with VS2022.

Related: bazelbuild/continuous-integration#1770

The cc toolchain autoconfig is out of sync from Bazel and doesn't work with VS2022.

Related: bazelbuild/continuous-integration#1770
Copy link
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

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

examples/rich_structure/WORKSPACE needs the same change.

But the centos build fails now. with
  | gcc: error: unrecognized command line option '-std=c++14'

Did rules CC change in a way to believe it is always above 14?

@meteorcloudy
Copy link
Member Author

Did rules CC change in a way to believe it is always above 14?

Yes, with Bazel@HEAD, we already switch the default C++ standard to 14: bazelbuild/bazel#18280

We should switch to use centos7_java11_devtoolset10 or just drop this platform.

@aiuto
Copy link
Collaborator

aiuto commented Nov 7, 2023

We should switch to use centos7_java11_devtoolset10 or just drop this platform.
We can't drop centos. We need it for the RPM builder tests.

@meteorcloudy
Copy link
Member Author

We can't drop centos. We need it for the RPM builder tests.

Got it, added in back in .bcr/presubmit.yml

Copy link
Contributor

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

Thanks Yun!

@aiuto aiuto merged commit e97d155 into main Nov 7, 2023
@aiuto aiuto deleted the meteorcloudy-patch-1 branch November 7, 2023 16:28
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.

3 participants