mirror of
https://github.com/ceph/ceph
synced 2025-01-11 21:50:26 +00:00
Merge pull request #28275 from tchaikov/wip-cmake-asan
ceph.in: do not preload libasan if it is found Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
commit
ff5f4a57eb
@ -129,9 +129,8 @@ if os.path.exists(os.path.join(MYPDIR, "CMakeCache.txt")) \
|
||||
pythonlib_path = os.path.join(lib_path,
|
||||
"cython_modules",
|
||||
get_pythonlib_dir())
|
||||
if asan_lib_path.endswith('NOTFOUND'):
|
||||
with_asan = False
|
||||
elif with_seastar and build_type == 'Debug':
|
||||
if (with_seastar and build_type == 'Debug' and
|
||||
not asan_lib_path.endswith('NOTFOUND')):
|
||||
with_asan = True
|
||||
respawn_in_path(lib_path, pybind_path, pythonlib_path,
|
||||
asan_lib_path if with_asan else None)
|
||||
|
Loading…
Reference in New Issue
Block a user