-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Make vstart work with cmake out of tree builds #5457
Conversation
I pushed updates to fix that first failure from loic-bot (it hasn't rebuilt though?). It's building on gitbuilders though. |
@tchaikov since you were interested in the last cmake PR I wonder if you would have time to review this one too? |
oops, never mind, you already commented on one of the commits here |
@jcsp i ran into this problem:
did you have the same issue here or how did you work around it? |
I posted a fix to build isa with cmake #5500 and |
# Gather symlinks to EC plugins in one dir, because with CMake they | ||
# are built into multiple locations | ||
mkdir -p ec_plugins | ||
for file in ./src/erasure-code/jerasure/*.so* src/erasure-code/lrc/*.so* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we simply put:
for file in src/erasure-code/*/libec_*.so*;
instead of enumerating all the erasure plugin directories?
since, with the fix (oritwas@ed2fdd9) by @oritwas and probably future erasure plugins, we need always keep this file in sync.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, sounds sensible -- done.
@oritwas thanks, |
...instead of in src/test/dencoder. While the source lives in test/, the dencoder tool is built and distributed as a first class binary, so it's awkward for paths in dev/test to have it in a unique location. Signed-off-by: John Spray <john.spray@redhat.com>
Scripts expect the generated init-ceph script to be +x, and CMake does that if the file you feed into it is +x. This matches what we already do with ceph.in. Signed-off-by: John Spray <john.spray@redhat.com>
Avoid need for separate ceph.in and ceph.in.cmake files. Signed-off-by: John Spray <john.spray@redhat.com>
A little bit more of a tongue-twisting command line to do string replacement, but saves us from having separate ceph.in files for cmake vs autotools. Signed-off-by: John Spray <john.spray@redhat.com>
...for working with out-of-tree builds. Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: John Spray <john.spray@redhat.com>
a la what we currently do for PYTHONPATH and LD_LIBRARY_PATH, but for cmake out of tree builds. Signed-off-by: John Spray <john.spray@redhat.com>
...for the benefit of rbd. Signed-off-by: John Spray <john.spray@redhat.com>
@jcsp it looks great! will give it a spin. |
works , thanks |
Make vstart work with cmake out of tree builds Reviewed-by: Kefu Chai <kchai@redhat.com>
works for me also. thanks. |
No description provided.