-
Notifications
You must be signed in to change notification settings - Fork 212
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
Don't try to moc generate env_config.hpp file. #550
Conversation
This removes one more warning from rviz_common builds. Signed-off-by: Chris Lalancette <[email protected]>
macOS warnings are expected, they happen in nightlies as well. The Windows warnings do not happen in the nightlies, but I also think they are spurious. They happen on almost all PRs targeting rviz2, but they never happen in the nightlies. I can only suspect that there is some environmental difference between the nightlies and the CI jobs, but we haven't figured out what yet. I doubt this PR is causing them in particular. @wjwwood Are you comfortable with me merging this with the above caveat? |
You mean test failures or warnings? If there's an example of other CI with these failures or if you run CI on master and they're there then that's ok with me. Those look like serious failures though... |
Yeah, they are. But I get them with all PRs, even ones like #562 which was really innocuous. Like I said, I think there is some environmental difference between CI and nightlies. But your idea to run an equivalent CI against master is a good one. Here you go: |
All right, the master branch showed the same test failures. So I'm going to go ahead and merge this. Thanks! |
* restore compatibility with older Qt versions (#561) Signed-off-by: Dirk Thomas <[email protected]> * Suppress warnings when building with older Qt versions. (#562) Signed-off-by: Chris Lalancette <[email protected]> * Don't try to moc generate env_config.hpp file. (#550) This removes one more warning from rviz_common builds. Signed-off-by: Chris Lalancette <[email protected]> * rewrite hack to avoid CMake warning with assimp 5.0.1 and older, apply cross platform (#565) Signed-off-by: Dirk Thomas <[email protected]> * Use dedicated TransformListener thread (#551) Signed-off-by: ymd-stella <[email protected]> * restore alphabetical include order (#563) Signed-off-by: Karsten Knese <[email protected]> * Don't install test header files in rviz_rendering. (#564) * Don't install test header files in rviz_rendering. This change started as a relatively simple try at not installing test includes when installing rviz_rendering. As you can see, it ballooned into quite a large change, so here is an explanation of why. We shouldn't install test include header files when installing the package; that just ends up on the end user system, and is a non-supported API. Worse, we don't want to compile test code in our main library. Yet rviz_rendering is currently doing both of these things. Unfortunately, it is somewhat tricky to make that code and header file private. The problem is that that test code is used in rviz_rendering, rviz_common, rviz_default_plugins, and rviz_rendering_tests. One solution might be to extract that test code into its own package, and then have all of the other packages depend on it. The problem is that that test package would both be depended on by rviz_rendering (for tests), and depends itself on rviz_rendering (for its functionality), creating a dependency loop. The solution I opted for here is to copy the test code into the appropriate packages. This leads to some duplication of functionality, but it effectively breaks the dependency loop and succeeds in eliminating the test code from our installed library. Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Dirk Thomas <[email protected]> Co-authored-by: Chris Lalancette <[email protected]> Co-authored-by: ymd-stella <[email protected]> Co-authored-by: Karsten Knese <[email protected]>
This removes one more warning from rviz_common builds.
Signed-off-by: Chris Lalancette [email protected]