diff options
author | luo rixin <luorixin@huawei.com> | 2024-02-27 08:07:17 +0100 |
---|---|---|
committer | luo rixin <luorixin@huawei.com> | 2024-03-12 04:34:42 +0100 |
commit | ebedfa7ef0858b52eb7cd652f67bbd8eef6e9674 (patch) | |
tree | 3bdd650cf947214cc072ce970d6478bd2cace95e /src/CMakeLists.txt | |
parent | Merge pull request #56076 from zdover23/wip-doc-2024-03-10-glossary-crimson (diff) | |
download | ceph-ebedfa7ef0858b52eb7cd652f67bbd8eef6e9674.tar.xz ceph-ebedfa7ef0858b52eb7cd652f67bbd8eef6e9674.zip |
CMakeLists: disable Seastar_IO_URING to fix seastar unittest timeout
As pr https://github.com/ceph/ceph/pull/55787 bump liburing from 0.7 to 2.5.
with liburing-dev (2.1) installed on ubuntu jammy, Seastar_IO_URING will be set ON,
seastar will be builded with liburing-dev. Ceph bluestore use build_uring in file Builduring.cmake
to build liburing version 2.5 and set URING_INCLUDE_DIR to
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/liburing/src/include/liburing/,
seastar use URING_INCLUDE_DIR(version is 2.5) to build, but seastar link liburing.so to system
liburing-dev package(version 2.1). The liburing head file seastar building and liburing binary
seastar linked is mismatched.
I have downgraded the liburing version in file 'cmake/modules/Builduring.cmake' to liburing-2.1,
the seastar unittests work fine, no timeout.
Fixes: https://tracker.ceph.com/issues/64789
Signed-off-by: luo rixin <luorixin@huawei.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e44cecca5cf..90c9c48e06e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -380,6 +380,7 @@ if(WITH_SEASTAR) endmacro () set(Seastar_API_LEVEL "6" CACHE STRING "" FORCE) set(Seastar_HWLOC OFF CACHE BOOL "" FORCE) + set(Seastar_IO_URING OFF CACHE BOOL "" FORCE) set(Seastar_STD_OPTIONAL_VARIANT_STRINGVIEW ON CACHE BOOL "" FORCE) if(Seastar_DPDK) find_package(dpdk QUIET) |