diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-07-17 19:43:16 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-07-22 22:14:24 +0000 |
commit | 4e8568e32e516d87b5f24e4ec6e7af3a399fcb01 (patch) | |
tree | aa0f0d93624ba872fcf7a6645756119f7d4d8aaf /recipes-extended/ceph | |
parent | 498cb48b05d6e9b8d31704adb736852f37301b1c (diff) | |
download | meta-virtualization-4e8568e32e516d87b5f24e4ec6e7af3a399fcb01.tar.gz |
ceph: build rocksdb, disable QAT, use bundled dependencies (no pip)
By building rocksdb out of the tree, we can avoid incompatiblity
issues in the API with a dependency.
QAT doesn't build well, so disable it.
Ensure that we are using our python dependencies otherwise pip
will be run at build / package time.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/ceph')
-rw-r--r-- | recipes-extended/ceph/ceph_git.bb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-extended/ceph/ceph_git.bb b/recipes-extended/ceph/ceph_git.bb index 56160393..c0b97e0e 100644 --- a/recipes-extended/ceph/ceph_git.bb +++ b/recipes-extended/ceph/ceph_git.bb | |||
@@ -15,7 +15,7 @@ SRC_URI = "gitsm://github.com/ceph/ceph.git;protocol=https;branch=main \ | |||
15 | file://0001-cephadm-build.py-avoid-using-python3-from-sysroot-wh.patch \ | 15 | file://0001-cephadm-build.py-avoid-using-python3-from-sysroot-wh.patch \ |
16 | " | 16 | " |
17 | 17 | ||
18 | SRCREV="c14e68e1617b77c40bcd5da7e689d626a851c900" | 18 | SRCREV="103cd8e78bcfe7f69647013187c053c9ccb76685" |
19 | PV = "19.0.0+git" | 19 | PV = "19.0.0+git" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
@@ -25,9 +25,9 @@ DEPENDS = "boost bzip2 curl cryptsetup expat gperf-native \ | |||
25 | nspr nss ninja-native \ | 25 | nspr nss ninja-native \ |
26 | oath openldap openssl \ | 26 | oath openldap openssl \ |
27 | python3 python3-native python3-cython-native python3-pyyaml-native \ | 27 | python3 python3-native python3-cython-native python3-pyyaml-native \ |
28 | rabbitmq-c rocksdb snappy thrift udev \ | 28 | rabbitmq-c snappy thrift udev \ |
29 | valgrind xfsprogs zlib libgcc zstd re2 \ | 29 | valgrind xfsprogs zlib libgcc zstd re2 \ |
30 | lmdb \ | 30 | lmdb autoconf-native automake-native \ |
31 | " | 31 | " |
32 | 32 | ||
33 | 33 | ||
@@ -74,7 +74,6 @@ EXTRA_OECMAKE += "-DWITH_MANPAGE=OFF \ | |||
74 | -DWITH_MGR=OFF \ | 74 | -DWITH_MGR=OFF \ |
75 | -DWITH_MGR_DASHBOARD_FRONTEND=OFF \ | 75 | -DWITH_MGR_DASHBOARD_FRONTEND=OFF \ |
76 | -DWITH_SYSTEM_BOOST=ON \ | 76 | -DWITH_SYSTEM_BOOST=ON \ |
77 | -DWITH_SYSTEM_ROCKSDB=ON \ | ||
78 | -DWITH_RDMA=OFF \ | 77 | -DWITH_RDMA=OFF \ |
79 | -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \ | 78 | -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \ |
80 | -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ | 79 | -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ |
@@ -82,8 +81,11 @@ EXTRA_OECMAKE += "-DWITH_MANPAGE=OFF \ | |||
82 | -DWITH_PYTHON3=3.12 \ | 81 | -DWITH_PYTHON3=3.12 \ |
83 | -DPYTHON_DESIRED=3 \ | 82 | -DPYTHON_DESIRED=3 \ |
84 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain.cmake \ | 83 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain.cmake \ |
84 | -DCEPHADM_BUNDLED_DEPENDENCIES=none \ | ||
85 | " | 85 | " |
86 | 86 | ||
87 | # -DWITH_SYSTEM_ROCKSDB=ON | ||
88 | |||
87 | do_configure:prepend () { | 89 | do_configure:prepend () { |
88 | echo "set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" >> ${WORKDIR}/toolchain.cmake | 90 | echo "set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" >> ${WORKDIR}/toolchain.cmake |
89 | echo "set( CMAKE_DESTDIR \"${D}\" )" >> ${WORKDIR}/toolchain.cmake | 91 | echo "set( CMAKE_DESTDIR \"${D}\" )" >> ${WORKDIR}/toolchain.cmake |
@@ -94,6 +96,9 @@ do_configure:prepend () { | |||
94 | 96 | ||
95 | echo "set( WITH_QATDRV OFF )" >> ${WORKDIR}/toolchain.cmake | 97 | echo "set( WITH_QATDRV OFF )" >> ${WORKDIR}/toolchain.cmake |
96 | echo "set( WITH_QATZIP OFF )" >> ${WORKDIR}/toolchain.cmake | 98 | echo "set( WITH_QATZIP OFF )" >> ${WORKDIR}/toolchain.cmake |
99 | echo "set( WITH_LIBURING OFF )" >> ${WORKDIR}/toolchain.cmake | ||
100 | echo "set( WITH_QATLIB OFF )" >> ${WORKDIR}/toolchain.cmake | ||
101 | # echo "set( WITH_SYSTEM_ROCKSDB TRUE )" >> ${WORKDIR}/toolchain.cmake | ||
97 | } | 102 | } |
98 | 103 | ||
99 | do_compile:prepend() { | 104 | do_compile:prepend() { |