]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
build: split ceph_ver.h
authorAdam Kupczyk <akupczyk@ibm.com>
Mon, 24 Jun 2024 08:22:46 +0000 (08:22 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Wed, 17 Jul 2024 14:29:22 +0000 (14:29 +0000)
commit92d70cf63e59905a880fb24faddb9030ef991eb8
tree022fd70db43969f78d6e7704ae8bc1427379c343
parent35a7b9b34338e2cf900fcbce2f1546d92555a0a7
build: split ceph_ver.h

Split ceph_ver.h into:
1) ceph_ver.h containing git-related macros
2) ceph_release.h containing just human written ceph version number /
   ceph version name.

The benefit is that denc.h which needs to know CEPH_RELEASE value
can skip including git-related macros. There are many compilation units
that use denc.h and only few that need git-related macros.
Reduces amount of files to recompile after SHA1 changes.
It is only relevant for developer environment.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 1a56293f2c890d9222fab5e1e91c34e2d864aef9)
src/CMakeLists.txt
src/ceph_release.h.in.cmake [new file with mode: 0644]
src/ceph_ver.h.in.cmake
src/include/denc.h