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

cmake: do not link against librados.a #18576

Merged
merged 4 commits into from Oct 27, 2017

Conversation

tchaikov
Copy link
Contributor

in hope to reduce the size of debug-info a little bit

Copy link
Member

@jdurgin jdurgin left a comment

Choose a reason for hiding this comment

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

good idea! lgtm assuming it builds

a test for librados should be only depending on librados

Signed-off-by: Kefu Chai <kchai@redhat.com>
* in hope to shrink the test, and the debug-info rpm package
* also add librados to radostest's target_link_libraries(),  otherwise we might
   run into linker order issue, like

Undefined reference in
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librados/test.cc:61
to `rados_application_enable'

Signed-off-by: Kefu Chai <kchai@redhat.com>
link librados.so in hope to reduce the size of librdb, also the size of
debug-info.

Signed-off-by: Kefu Chai <kchai@redhat.com>
rados_a is librados.a, which is not neeeded anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

pushed to ceph/ceph-ci:wip-18576-kefu

@tchaikov tchaikov merged commit 78116c3 into ceph:master Oct 27, 2017
@tchaikov tchaikov deleted the wip-cmake-no-rados_a branch October 27, 2017 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants