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
20 lines
387 B
CMake
20 lines
387 B
CMake
add_library(schema STATIC)
|
|
target_sources(schema
|
|
PRIVATE
|
|
caching_options.cc
|
|
schema.cc
|
|
schema_registry.cc)
|
|
target_include_directories(schema
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(schema
|
|
PUBLIC
|
|
cql3
|
|
idl
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
absl::headers)
|
|
|
|
check_headers(check-headers schema
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|