Skip to content

cmake: do not link against librados.a - #18576

Merged
tchaikov merged 4 commits into
ceph:masterfrom
tchaikov:wip-cmake-no-rados_a
Oct 27, 2017
Merged

tchaikov merged 4 commits into
ceph:masterfrom
tchaikov:wip-cmake-no-rados_a

Conversation

@tchaikov

Copy link
Copy Markdown
Contributor

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

@jdurgin jdurgin left a comment

Copy link
Copy Markdown
Member

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 <[email protected]>
* 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 <[email protected]>
link librados.so in hope to reduce the size of librdb, also the size of
debug-info.

Signed-off-by: Kefu Chai <[email protected]>
rados_a is librados.a, which is not neeeded anymore.

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov

Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants