because of https://bugzilla.redhat.com/show_bug.cgi?id=2278689,
the rebuilt abseil package provided by fedora has different settings
than the ones if the tree is built with the sanitizer enabled. this
inconsistency leads to a crash.
to address this problem, we have to reinstate the abseil submodule, so
we can built it with the same compiler options with which we build the
tree.
in this change
* Revert "build: drop abseil submodule, replace with distribution abseil"
* update CMake building system with abseil header include settings
* bump up the abseil submodule to the latest LTS branch of abseil:
lts_2024_01_16
* update scylla-gdb.py to adapt to the new structure of
flat_hash_map
This reverts commit 8635d24424.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
Closes scylladb/scylladb#18511
22 lines
398 B
CMake
22 lines
398 B
CMake
add_library(cdc STATIC)
|
|
target_sources(cdc
|
|
PRIVATE
|
|
cdc_partitioner.cc
|
|
generation.cc
|
|
log.cc
|
|
metadata.cc
|
|
split.cc)
|
|
target_include_directories(cdc
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(cdc
|
|
PUBLIC
|
|
absl::headers
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
PRIVATE
|
|
replica)
|
|
|
|
check_headers(check-headers cdc
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|