]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: partial revert of BOOST_USE_VALGRIND when ALLOCATOR=libc 39263/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 14:46:33 +0000 (09:46 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 14:46:42 +0000 (09:46 -0500)
commit3c3a6519cce35d5643a9c05937d3661683fdac2f
tree733835d39fa6e72b9eea5ffe66e62b2a3e2e9fae
parent615b3df1abb6ccd24b1c1c2b8dfa1758e0c6ff1c
cmake: partial revert of BOOST_USE_VALGRIND when ALLOCATOR=libc

the WITH_SYSTEM_BOOST binaries are not built with BOOST_USE_VALGRIND, so
it probably isn't safe to define for the headers only

this flag is needed for teuthology testing, and the shaman builds use
WITH_SYSTEM_BOOST=OFF. so the better fix is to enable WITH_BOOST_VALGRIND
so BuildBoost.cmake will build the libraries with valgrind support and add
-DBOOST_USE_VALGRIND to the necessary targets

this change was merged in https://github.com/ceph/ceph-build/pull/1736

Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Casey Bodley <cbodley@redhat.com>
CMakeLists.txt