]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: work around xxhash 'inlining failed' errors in debug builds 58429/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 26 Jun 2024 22:17:13 +0000 (18:17 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 4 Jul 2024 16:28:22 +0000 (12:28 -0400)
commit6d5751a5245577db3cc3591a51e64bfd13716574
tree99fde1fb0a7e4ebf3f75ba62562e224b740969d6
parentebfbbc4cf687f9672205e5b5c8a785a889b407e4
cmake: work around xxhash 'inlining failed' errors in debug builds

rgw enables the XXH_INLINE_ALL define, but this causes debug builds to
fail with errors like "inlining failed in call to ‘always_inline’"

for build types Debug and RelWithDebInfo, add extra define
XXH_NO_INLINE_HINTS to remove the always_inline hints causing this error

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt