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

Upgrade to Bazel 6.0 #18246

Closed
wants to merge 1 commit into from

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Nov 2, 2022

WIP for CI testing

See bazelbuild/bazel issue for upstream release information.

Requires fixes:


This change is Reviewable

@jwnimmer-tri

This comment was marked as outdated.

@jwnimmer-tri

This comment was marked as outdated.

@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot linux-focal-unprovisioned-gcc-bazel-experimental-release please

@jwnimmer-tri
Copy link
Collaborator Author

jwnimmer-tri commented Nov 10, 2022

Closing until 6.0.0rc2 comes out.

@jwnimmer-tri
Copy link
Collaborator Author

jwnimmer-tri commented Nov 18, 2022

6.0.0rc2:

@drake-jenkins-bot linux-focal-unprovisioned-gcc-bazel-experimental-release please
@drake-jenkins-bot mac-x86-monterey-clang-bazel-experimental-release please

@jwnimmer-tri
Copy link
Collaborator Author

macOS analysis error:

ERROR: external/dreal/dreal/api/BUILD.bazel:17:17: Illegal ambiguous match on configurable attribute "copts" in @dreal//dreal/api:api:
@dreal//tools:clang_build
@dreal//tools:apple
Multiple matches are not allowed unless one is unambiguously more specialized.

Probably due to this bazel change:

The @bazel_tools//tools/cpp:compiler flag now has the value clang for the auto-configured Xcode toolchain rather than the generic value compiler. A branch for clang may have to be added to select statements that do not have a default case that handles this toolchain appropriately.

@jwnimmer-tri
Copy link
Collaborator Author

jwnimmer-tri commented Nov 18, 2022

New error on Ubuntu: bazelbuild/bazel#16796.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant