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

[workspace] Use host OS VTK 9.1 when on Ubuntu 22.04 #18340

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

jwnimmer-tri
Copy link
Collaborator

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

This changes all builds on Jammy except for wheel builds.


This change is Reviewable

@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot linux-jammy-unprovisioned-clang-bazel-experimental-release please
@drake-jenkins-bot linux-jammy-unprovisioned-gcc-bazel-experimental-debug please
@drake-jenkins-bot linux-jammy-unprovisioned-gcc-bazel-experimental-everything-release please
@drake-jenkins-bot linux-jammy-unprovisioned-gcc-bazel-experimental-release please

@jwnimmer-tri
Copy link
Collaborator Author

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

@jwnimmer-tri jwnimmer-tri added priority: high release notes: fix This pull request contains fixes (no new features) and removed status: do not review labels Nov 17, 2022
@jwnimmer-tri jwnimmer-tri marked this pull request as ready for review November 17, 2022 16:21
@jwnimmer-tri
Copy link
Collaborator Author

I've confirmed that this fixes our TRI-internal CI build errors for Jammy + VTK + OpenCV + etc:

08:18:43  //common:opencv_pydrake_test                                    (cached) PASSED in 0.0s

+@rpoyner-tri for feature review, please. Or @svenevs you're welcome to take over feature review, if you have time.

+@EricCousineau-TRI for platform review per schedule, please.

Copy link
Contributor

@EricCousineau-TRI EricCousineau-TRI left a comment

Choose a reason for hiding this comment

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

:lgtm_strong: platform with small nits

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: 2 unresolved discussions, LGTM missing from assignee rpoyner-tri(platform), labeled "do not merge" (waiting on @jwnimmer-tri and @rpoyner-tri)

a discussion (no related file):
nit Worth porting opencv_pydrake_test to Drake to confirm?



tools/workspace/vtk/build_binaries_with_docker line 49 at r1 (raw file):


build focal --build-arg PLATFORM=ubuntu:20.04
extract focal

nit Worth comment stating why Jammy isn't necessary?

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: 2 unresolved discussions, labeled "do not merge" (waiting on @jwnimmer-tri)

This change all builds on Jammy except for wheel builds.
Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

Reviewable status: labeled "do not merge" (waiting on @EricCousineau-TRI and @rpoyner-tri)

a discussion (no related file):

Previously, EricCousineau-TRI (Eric Cousineau) wrote…

nit Worth porting opencv_pydrake_test to Drake to confirm?

Even better, I can re-enable the OpenCV movie-streaming unit tests now.



tools/workspace/vtk/build_binaries_with_docker line 49 at r1 (raw file):

Previously, EricCousineau-TRI (Eric Cousineau) wrote…

nit Worth comment stating why Jammy isn't necessary?

Done.

@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot linux-jammy-clang-bazel-experimental-debug please
@drake-jenkins-bot linux-jammy-clang-bazel-experimental-release please
@drake-jenkins-bot linux-jammy-gcc-bazel-experimental-debug please
@drake-jenkins-bot linux-jammy-gcc-bazel-experimental-everything-release please
@drake-jenkins-bot linux-jammy-gcc-bazel-experimental-snopt-mosek-packaging please
@drake-jenkins-bot linux-jammy-gcc-cmake-experimental-release please

Copy link
Contributor

@EricCousineau-TRI EricCousineau-TRI left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: labeled "do not merge" (waiting on @jwnimmer-tri)

a discussion (no related file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

Even better, I can re-enable the OpenCV movie-streaming unit tests now.

Sweet!


@jwnimmer-tri jwnimmer-tri merged commit f75b3a9 into RobotLocomotion:master Nov 17, 2022
@jwnimmer-tri jwnimmer-tri deleted the jammy-vtk branch November 17, 2022 18:10
adeeb10abbas pushed a commit to adeeb10abbas/drake that referenced this pull request Nov 28, 2022
…#18340)

This change all builds on Jammy except for wheel builds.
@cohnt
Copy link
Contributor

cohnt commented Dec 5, 2022

I ran into some issues with this change when I was rebuilding. I was getting messages down the lines of
Middleman _middlemen/@vtk_S_S_Cvtkkwiml-BazelCppSemantics_build_arch_k8-opt failed: missing input file 'external/vtk/include/vtk-9.1/vtk_kwiml.h', owner: '@vtk//:include/vtk-9.1/vtk_kwiml.h'
Installing libvtk9-dev and libvtk9.1 with apt-get fixed it for me.

(I'm not really commenting asking for anything, just putting it out here in case someone else runs into the issue.)

@EricCousineau-TRI
Copy link
Contributor

Thanks!
Typically when you get compilation failures, you should be sure to run install_prereqs to see if you're missing a dependency. In this case, it should have resolved the error you ran into.

xuchenhan-tri pushed a commit to xuchenhan-tri/drake that referenced this pull request Feb 6, 2023
…#18340)

This change all builds on Jammy except for wheel builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high release notes: fix This pull request contains fixes (no new features)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants