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
28 lines
556 B
CMake
28 lines
556 B
CMake
add_library(replica STATIC)
|
|
target_sources(replica
|
|
PRIVATE
|
|
distributed_loader.cc
|
|
database.cc
|
|
table.cc
|
|
tablets.cc
|
|
distributed_loader.cc
|
|
memtable.cc
|
|
exceptions.cc
|
|
dirty_memory_manager.cc
|
|
mutation_dump.cc)
|
|
target_include_directories(replica
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(replica
|
|
PUBLIC
|
|
db
|
|
absl::headers
|
|
wasmtime_bindings
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
PRIVATE
|
|
absl::raw_hash_set)
|
|
|
|
check_headers(check-headers replica
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|