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
compressor/zstd: add zstd compression plugin #13075
Conversation
retest this please |
retest this please. |
this needs a small fix, see
ceph/ceph-ci@wip-sage-testing
|
@liewegas included ceph/ceph-ci@f8ef7f6 . |
the debian build fails: -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so.2.0.0 -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so.2 -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zstd.h -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zbuff.h -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zdict.h -- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/lib/libzstd.a CMake Error at src/compressor/zstd/lib/cmake_install.cmake:78 (file): file INSTALL cannot find "/build/ceph-11.1.0-6995-gf8ef7f6/obj-x86_64-linux-gnu/src/compressor/zstd/lib/libzstd.1.1.1024.so". Call Stack (most recent call first): src/compressor/zstd/cmake_install.cmake:37 (include) src/compressor/cmake_install.cmake:39 (include) src/cmake_install.cmake:387 (include) cmake_install.cmake:37 (include) |
|
||
# libzstd - build it statically | ||
list(APPEND ZSTD_CMAKE_ARGS | ||
-DCMAKE_C_COMPILER_ARGS="-fPIC -Wno-unused-variable -O3") |
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.
from the build log:
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_C_COMPILER_ARGS
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.
@cbodley fixed and repushed.
changelog
pushed to https://shaman.ceph.com/builds/ceph/wip-zstd/, let's see if it builds. |
https://jenkins.ceph.com/job/ceph-pull-requests/17475/consoleFull#27421202540526d21-3511-427d-909c-dd086c0d1034 |
test failed due to a known issue already got fixed on master. |
Signed-off-by: Sage Weil <sage@redhat.com>
Build/link of zstd itself is maybe not ideal, but it works fine. Signed-off-by: Sage Weil <sage@redhat.com> Signed-off-by: Kefu Chai <kchai@redhat.com>
rebased against master. |
No description provided.