Skip to content

Sets the nightly clang_libcxx job to use rcl_logging_noop#291

Merged
dirk-thomas merged 2 commits intoros2:masterfrom
nburek:master
May 10, 2019
Merged

Sets the nightly clang_libcxx job to use rcl_logging_noop#291
dirk-thomas merged 2 commits intoros2:masterfrom
nburek:master

Conversation

@nburek
Copy link
Copy Markdown
Contributor

@nburek nburek commented May 10, 2019

When building with libc++ the rcl package will fail to link because it can't find the Log4cxx functions used by rcl_logging_log4cxx.

This is causing the nightly CI build for linux_clang_libcxx to fail: https://ci.ros2.org/view/nightly/job/nightly_linux_clang_libcxx/45/
See conversation here: ros2/rcl_logging#9 (comment)

This change sets a build argument to use the rcl_logging_noop logger instead of the default one.

I had explored building log4cxx from source with clang and libc++ to resolve this, but ran into issues with getting the Apache Runtime Environment to build. Because of this, we think that it is not worth the extra work to get rcl_logging_log4cxx working just for the nightly build at this point. I've created a new Github issue to track enabling this use case in rcl_logging_log4cxx later (ros2/rcl_logging#14).

When building with libc++ the rcl package will fail to link because it can't find the Log4cxx functions used by rcl_logging_log4cxx. This change sets a build argument to use the rcl_logging_noop logger instead of the default one.
@tfoote tfoote added the in progress Actively being worked on (Kanban column) label May 10, 2019
@nburek
Copy link
Copy Markdown
Contributor Author

nburek commented May 10, 2019

I have been able to test this locally on a linux machine. Without the new cmake arg it fails when compiling with clang and libc++, but succeeds when the new cmake arg is added.

This should be ready for review.

@dirk-thomas dirk-thomas merged commit 5bd4f50 into ros2:master May 10, 2019
@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label May 10, 2019
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