mirror of https://github.com/ceph/ceph
8f7643792c
prior to this change, libcommon is a convenient library which gets linked into librados, librbd and libcephfs and all ceph executables. this incurs some problems: - double dose of libcommon in memory space and HDD: waste of memory and disk space. - if an application links to two libraries including libcommon at the same time. take librados and libcephfs as an example, they could interfere with each other by changing the other guy's status. after this change, libcommon is tuned into a shared library and renamed to libceph-common. it will be installed into $prefix/lib/ceph, and packaged in librados2. ceph.spec.in,debian/librados2.install: package libceph-common in librados2. CMakeLists.txt: - do not link against libboost-* if not necessary. - s/common/ceph-common/g - install libceph-common into $prefix/lib/ceph - set rpath to $prefix/lib/ceph - link against ceph-common if an executable needs access to non public symbols in ceph. Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
source | ||
.gitignore | ||
ceph-base.dirs | ||
ceph-base.docs | ||
ceph-base.install | ||
ceph-base.lintian-overrides | ||
ceph-base.postinst | ||
ceph-base.prerm | ||
ceph-common.dirs | ||
ceph-common.install | ||
ceph-common.postinst | ||
ceph-common.postrm | ||
ceph-fuse.install | ||
ceph-mds.dirs | ||
ceph-mds.install | ||
ceph-mds.postinst | ||
ceph-mds.prerm | ||
ceph-mgr.dirs | ||
ceph-mgr.install | ||
ceph-mgr.postinst | ||
ceph-mgr.prerm | ||
ceph-mon.dirs | ||
ceph-mon.install | ||
ceph-mon.postinst | ||
ceph-mon.prerm | ||
ceph-osd.dirs | ||
ceph-osd.install | ||
ceph-osd.postinst | ||
ceph-osd.prerm | ||
ceph-resource-agents.install | ||
ceph-test.install | ||
changelog | ||
compat | ||
control | ||
copyright | ||
libcephfs-dev.install | ||
libcephfs-java.jlibs | ||
libcephfs-jni.install | ||
libcephfs2.install | ||
librados-dev.install | ||
librados2.install | ||
libradosstriper-dev.install | ||
libradosstriper1.install | ||
librbd-dev.install | ||
librbd1.install | ||
librgw-dev.install | ||
librgw2.install | ||
python-cephfs.install | ||
python-rados.install | ||
python-rbd.install | ||
python-rgw.install | ||
python3-ceph-argparse.install | ||
python3-cephfs.install | ||
python3-rados.install | ||
python3-rbd.install | ||
python3-rgw.install | ||
radosgw.dirs | ||
radosgw.install | ||
radosgw.postinst | ||
radosgw.prerm | ||
rbd-fuse.install | ||
rbd-mirror.install | ||
rbd-nbd.install | ||
rules | ||
watch |