aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorsnaury <snaury@ydb.tech>2022-09-14 11:51:07 +0300
committersnaury <snaury@ydb.tech>2022-09-14 11:51:07 +0300
commitdc37dfe86ca1c20394aad4d3d76dfd9405c0b8fa (patch)
treee3a72708266c851570bdd4be9e4dcbea40e07f0e /library/cpp
parent124ca2ab2dc0a5e43cb21c73617d5592156db1f0 (diff)
downloadydb-dc37dfe86ca1c20394aad4d3d76dfd9405c0b8fa.tar.gz
Switch commit hash maps to absl::flat_hash
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/containers/CMakeLists.txt1
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.txt22
2 files changed, 23 insertions, 0 deletions
diff --git a/library/cpp/containers/CMakeLists.txt b/library/cpp/containers/CMakeLists.txt
index cf1ec79fb8..47256015a0 100644
--- a/library/cpp/containers/CMakeLists.txt
+++ b/library/cpp/containers/CMakeLists.txt
@@ -7,6 +7,7 @@
add_subdirectory(2d_array)
+add_subdirectory(absl_flat_hash)
add_subdirectory(atomizer)
add_subdirectory(bitseq)
add_subdirectory(compact_vector)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
new file mode 100644
index 0000000000..aeed1a3f3d
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)