|
30 | 30 | # and default to that. |
31 | 31 | # * The version that Ceph downloads if `-DWITH_SYSTEM_BOOST:BOOL=ON` is not given |
32 | 32 | # is declared in `cmake/modules/BuildBoost.cmake` line `set(boost_version ...)`. |
33 | | - # |
34 | | - # If you want to upgrade to boost >= 1.86, you need a Ceph version that |
35 | | - # has this PR in: |
36 | | - # https://github.com/ceph/ceph/pull/61312 |
37 | | - boost183, |
| 33 | + boost187, |
38 | 34 | bzip2, |
39 | 35 | cryptsetup, |
40 | 36 | cunit, |
@@ -199,11 +195,11 @@ let |
199 | 195 |
|
200 | 196 | # If you change this, make sure to update: |
201 | 197 | # * The pinned RocksDB version commit, see comment on `rocksdb` in this file. |
202 | | - version = "19.2.3"; |
| 198 | + version = "20.2.0"; |
203 | 199 |
|
204 | 200 | src = fetchurl { |
205 | 201 | url = "https://download.ceph.com/tarballs/ceph-${version}.tar.gz"; |
206 | | - hash = "sha256-zlgp28C81SZbaFJ4yvQk4ZgYz4K/aZqtcISTO8LscSU="; |
| 202 | + hash = "sha256-jeBk1pgx7zJzOVOfIzx47IJ/o1HEDO2amRbwtBdMZoU="; |
207 | 203 | }; |
208 | 204 |
|
209 | 205 | ceph-common = |
|
241 | 237 | meta = getMeta "Ceph common module for code shared by manager modules"; |
242 | 238 | }; |
243 | 239 |
|
244 | | - boost' = boost183.override { |
| 240 | + boost' = boost187.override { |
245 | 241 | enablePython = true; |
246 | 242 | inherit python; |
247 | 243 | }; |
@@ -300,40 +296,6 @@ stdenv.mkDerivation (finalAttrs: { |
300 | 296 | ; |
301 | 297 |
|
302 | 298 | patches = [ |
303 | | - ./patches/boost-1.85.patch |
304 | | - |
305 | | - (fetchpatch2 { |
306 | | - name = "ceph-boost-1.86-uuid.patch"; |
307 | | - url = "https://github.com/ceph/ceph/commit/01306208eac492ee0e67bff143fc32d0551a2a6f.patch?full_index=1"; |
308 | | - hash = "sha256-OnDrr72inzGXXYxPFQevsRZImSvI0uuqFHqtFU2dPQE="; |
309 | | - }) |
310 | | - |
311 | | - # See: |
312 | | - # * <https://github.com/boostorg/python/issues/394> |
313 | | - # * <https://aur.archlinux.org/cgit/aur.git/commit/?h=ceph&id=8c5cc7d8deec002f7596b6d0860859a0a718f12b> |
314 | | - # * <https://github.com/ceph/ceph/pull/60999> |
315 | | - ./patches/boost-1.86-PyModule.patch |
316 | | - |
317 | | - (fetchpatch2 { |
318 | | - name = "ceph-cmake-4.patch"; |
319 | | - url = "https://gitlab.alpinelinux.org/ashpool/aports/-/raw/d22b70eafe33c3daabe4eea6913c5be87d9463ad/community/ceph19/cpp_redis.patch"; |
320 | | - hash = "sha256-wxPIsYt25CjXhJ6kmr/MXwFD58Sl4y4W+r9jAMND+uw="; |
321 | | - }) |
322 | | - |
323 | | - # See: |
324 | | - # * <https://github.com/ceph/ceph/pull/55560> |
325 | | - # * <https://github.com/ceph/ceph/pull/60575> |
326 | | - (fetchpatch2 { |
327 | | - name = "ceph-systemd-sans-cluster-name.patch"; |
328 | | - url = "https://github.com/ceph/ceph/commit/5659920c7c128cb8d9552580dbe23dd167a56c31.patch?full_index=1"; |
329 | | - hash = "sha256-Uch8ZghyTowUvSq0p/RxiVpdG1Yqlww9inpVksO6zyk="; |
330 | | - }) |
331 | | - (fetchpatch2 { |
332 | | - name = "ceph-systemd-prefix.patch"; |
333 | | - url = "https://github.com/ceph/ceph/commit/9b38df488d7101b02afa834ea518fd52076d582a.patch?full_index=1"; |
334 | | - hash = "sha256-VcbJhCGTUdNISBd6P96Mm5M3fFVmZ8r7pMl+srQmnIQ="; |
335 | | - }) |
336 | | - |
337 | 299 | # Remove once Ceph supports arrow-cpp >= 20, see: |
338 | 300 | # * https://tracker.ceph.com/issues/71269 |
339 | 301 | # * https://github.com/NixOS/nixpkgs/issues/406306 |
|
0 commit comments