]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rpm: use system libpmem on Centos 9 Stream 45341/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 10 Mar 2022 17:32:30 +0000 (18:32 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 10 Mar 2022 17:49:49 +0000 (18:49 +0100)
commit09440364731b35d5b47922a196df173d306e11dc
treecb7439f35cb11434ed2aed96bec36cd4f238a7dc
parent6917edc7438ba7c833e0573da455232693138f68
rpm: use system libpmem on Centos 9 Stream

We need libpmem 1.10 and Centos 9 Stream has it.  On top of sticking
to distro-provided packages being generally a good thing, this fixes
a build failure: libpmem 1.10 doesn't build with LTO which is enabled
by default in Centos 9 Stream.  The distro package works around it.

libpmem 1.10 is also there in Fedora 34 and Fedora 35.

Fixes: https://tracker.ceph.com/issues/54473
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
ceph.spec.in