Repository navigation
Conversation
7cff8ef to
3b702cc
Compare
| usr/share/man/man8/osdmaptool.8 | ||
| usr/share/man/man8/ceph-kvstore-tool.8 | ||
| etc/sudoers.d/ceph-smartctl | ||
| usr/lib/liblancedb.so |
There was a problem hiding this comment.
if we really need to package a shared library for a ceph dependency, please rename it to something like libcephlancedb.so so it won't conflict with other non-ceph packages. but i would generally prefer to use static linkage for these (hopefully-temporary?) bundled dependencies to avoid complexity here
if it helps, #48178 has an example cmake module that uses cargo to build a static rust library for linkage into ceph
There was a problem hiding this comment.
i think it would be better to link liblancedb as a static library (will add this build option to lancedb-c repo).
@soumyakoduri will this make it easier for the circular link issue that you have with the SAL crate? or make things worse?
There was a problem hiding this comment.
This would mean, the new SAL crate also should be linked as static library right? Will that cause symbol collision from Rust compiler as stated here -
rust-lang/rust#44322
https://alanwu.space/post/symbol-hygiene/
There was a problem hiding this comment.
@soumyakoduri what if we link statically your crate, that would include liblancedb already?
if we dont use your crate, we link statically liblancedb to the rgw, and if we do use your crate, we don't link it to the rgw directly, and assume the symbols would be found in your lib?
There was a problem hiding this comment.
yes..that sounds good and might work.
There was a problem hiding this comment.
you can try it out with the latest lancedb-c main (lancedb/lancedb-c#61 was merged).
it has a cmake option BUILD_SHARED_LIBS that could be set to OFF to build static libs (it is ON by default).
you can pass it in the CMAKE_ARGS to the lancedb-c external project.
note that we also produce a .pc file now
f2054e4 to
8a781a2
Compare
|
rgw regression test https://pulpito-ng.ceph.com/runs/yuvalif-2026-07-14_06:54:55-rgw-wip-support-ubuntu-distro-default-trial
|
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
bd2eeb7 to
8cdd74e
Compare
* also fix shaman build failures with lancedb-c. see: https://shaman.ceph.com/builds/ceph/wip-add-lancedb/e7ce95d8e2e279b373f3c486bd1f64c39b23883f/ * add ubuntu support by installing newer cargo version * use new lancedb_connect_builder_execute API after lancedb-c update * test s3vectors against a random distro * supress possibly-lost valgrind issues * fix some compiler warning in lancedb-c that turn into error in ceph builds * lancedb-c valgrind tests cover "possibly-lost" * add an option for building liblancedb as a static library * removed unused variable lancedb-c submodule Signed-off-by: Yuval Lifshitz <[email protected]>
8cdd74e to
0457412
Compare
|
closing after cherry-pick ro |
No description provided.