diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/yt | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/yt')
-rw-r--r-- | library/cpp/yt/assert/ya.make | 9 | ||||
-rw-r--r-- | library/cpp/yt/coding/unittests/ya.make | 15 | ||||
-rw-r--r-- | library/cpp/yt/coding/ya.make | 22 | ||||
-rw-r--r-- | library/cpp/yt/containers/ya.make | 16 | ||||
-rw-r--r-- | library/cpp/yt/cpu_clock/ya.make | 21 | ||||
-rw-r--r-- | library/cpp/yt/exception/ya.make | 9 | ||||
-rw-r--r-- | library/cpp/yt/malloc/ya.make | 9 | ||||
-rw-r--r-- | library/cpp/yt/memory/unittests/ya.make | 22 | ||||
-rw-r--r-- | library/cpp/yt/memory/ya.make | 38 | ||||
-rw-r--r-- | library/cpp/yt/misc/unittests/ya.make | 15 | ||||
-rw-r--r-- | library/cpp/yt/misc/ya.make | 28 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/unittests/ya.make | 17 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/ya.make | 22 | ||||
-rw-r--r-- | library/cpp/yt/string/unittests/ya.make | 17 | ||||
-rw-r--r-- | library/cpp/yt/string/ya.make | 34 | ||||
-rw-r--r-- | library/cpp/yt/system/ya.make | 9 | ||||
-rw-r--r-- | library/cpp/yt/threading/ya.make | 29 | ||||
-rw-r--r-- | library/cpp/yt/yson/ya.make | 13 | ||||
-rw-r--r-- | library/cpp/yt/yson_string/unittests/ya.make | 15 | ||||
-rw-r--r-- | library/cpp/yt/yson_string/ya.make | 23 |
20 files changed, 383 insertions, 0 deletions
diff --git a/library/cpp/yt/assert/ya.make b/library/cpp/yt/assert/ya.make new file mode 100644 index 00000000000..a9833ab70e9 --- /dev/null +++ b/library/cpp/yt/assert/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + assert.cpp +) + +END() diff --git a/library/cpp/yt/coding/unittests/ya.make b/library/cpp/yt/coding/unittests/ya.make new file mode 100644 index 00000000000..ab94ee8796a --- /dev/null +++ b/library/cpp/yt/coding/unittests/ya.make @@ -0,0 +1,15 @@ +GTEST() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + zig_zag_ut.cpp + varint_ut.cpp +) + +PEERDIR( + library/cpp/yt/coding + library/cpp/testing/gtest +) + +END() diff --git a/library/cpp/yt/coding/ya.make b/library/cpp/yt/coding/ya.make new file mode 100644 index 00000000000..639d94e755c --- /dev/null +++ b/library/cpp/yt/coding/ya.make @@ -0,0 +1,22 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( +) + +PEERDIR( + library/cpp/yt/exception +) + +END() + +RECURSE_FOR_TESTS( + unittests +) + +IF (NOT OPENSOURCE) + RECURSE( + benchmark + ) +ENDIF() diff --git a/library/cpp/yt/containers/ya.make b/library/cpp/yt/containers/ya.make new file mode 100644 index 00000000000..fbc70dbd7c8 --- /dev/null +++ b/library/cpp/yt/containers/ya.make @@ -0,0 +1,16 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( +) + +PEERDIR( + library/cpp/yt/assert +) + +END() + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/cpu_clock/ya.make b/library/cpp/yt/cpu_clock/ya.make new file mode 100644 index 00000000000..60ea0e940e8 --- /dev/null +++ b/library/cpp/yt/cpu_clock/ya.make @@ -0,0 +1,21 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + clock.cpp +) + +PEERDIR( + library/cpp/yt/assert +) + +END() + +RECURSE( + benchmark +) + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/exception/ya.make b/library/cpp/yt/exception/ya.make new file mode 100644 index 00000000000..ff0014adcf9 --- /dev/null +++ b/library/cpp/yt/exception/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + exception.cpp +) + +END() diff --git a/library/cpp/yt/malloc/ya.make b/library/cpp/yt/malloc/ya.make new file mode 100644 index 00000000000..252f7f7b3d0 --- /dev/null +++ b/library/cpp/yt/malloc/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + malloc.cpp +) + +END() diff --git a/library/cpp/yt/memory/unittests/ya.make b/library/cpp/yt/memory/unittests/ya.make new file mode 100644 index 00000000000..ff0e6398191 --- /dev/null +++ b/library/cpp/yt/memory/unittests/ya.make @@ -0,0 +1,22 @@ +GTEST(unittester-library-memory) + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +IF (NOT OS_WINDOWS) + ALLOCATOR(YT) +ENDIF() + +SRCS( + atomic_intrusive_ptr_ut.cpp + chunked_memory_pool_ut.cpp + chunked_memory_pool_output_ut.cpp + intrusive_ptr_ut.cpp + weak_ptr_ut.cpp +) + +PEERDIR( + library/cpp/testing/gtest + library/cpp/yt/memory +) + +END() diff --git a/library/cpp/yt/memory/ya.make b/library/cpp/yt/memory/ya.make new file mode 100644 index 00000000000..c83121673de --- /dev/null +++ b/library/cpp/yt/memory/ya.make @@ -0,0 +1,38 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + blob.cpp + chunked_input_stream.cpp + chunked_memory_allocator.cpp + chunked_memory_pool.cpp + chunked_memory_pool_output.cpp + chunked_output_stream.cpp + ref.cpp + ref_tracked.cpp + shared_range.cpp +) + +PEERDIR( + library/cpp/yt/assert + library/cpp/yt/misc + library/cpp/yt/malloc +) + +CHECK_DEPENDENT_DIRS( + ALLOW_ONLY ALL + build + contrib + library + util + library/cpp/yt/assert + library/cpp/yt/misc + library/cpp/yt/malloc +) + +END() + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/misc/unittests/ya.make b/library/cpp/yt/misc/unittests/ya.make new file mode 100644 index 00000000000..bc985812eda --- /dev/null +++ b/library/cpp/yt/misc/unittests/ya.make @@ -0,0 +1,15 @@ +GTEST(unittester-library-misc) + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + enum_ut.cpp + guid_ut.cpp + preprocessor_ut.cpp +) + +PEERDIR( + library/cpp/yt/misc +) + +END() diff --git a/library/cpp/yt/misc/ya.make b/library/cpp/yt/misc/ya.make new file mode 100644 index 00000000000..6b3605f3877 --- /dev/null +++ b/library/cpp/yt/misc/ya.make @@ -0,0 +1,28 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + guid.cpp + source_location.cpp + variant.cpp +) + +PEERDIR( + library/cpp/yt/exception +) + +CHECK_DEPENDENT_DIRS( + ALLOW_ONLY ALL + build + contrib + library + util + yt/yt/library/small_containers +) + +END() + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/small_containers/unittests/ya.make b/library/cpp/yt/small_containers/unittests/ya.make new file mode 100644 index 00000000000..bf3deade90e --- /dev/null +++ b/library/cpp/yt/small_containers/unittests/ya.make @@ -0,0 +1,17 @@ +GTEST(unittester-small-containers) + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + compact_flat_map_ut.cpp + compact_heap_ut.cpp + compact_set_ut.cpp + compact_vector_ut.cpp +) + +PEERDIR( + library/cpp/yt/small_containers + library/cpp/testing/gtest +) + +END() diff --git a/library/cpp/yt/small_containers/ya.make b/library/cpp/yt/small_containers/ya.make new file mode 100644 index 00000000000..a8bf8029d0a --- /dev/null +++ b/library/cpp/yt/small_containers/ya.make @@ -0,0 +1,22 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +PEERDIR( + library/cpp/yt/assert + library/cpp/yt/malloc +) + +CHECK_DEPENDENT_DIRS( + ALLOW_ONLY ALL + build + contrib + library + util +) + +END() + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/string/unittests/ya.make b/library/cpp/yt/string/unittests/ya.make new file mode 100644 index 00000000000..8fd64d36627 --- /dev/null +++ b/library/cpp/yt/string/unittests/ya.make @@ -0,0 +1,17 @@ +GTEST(unittester-library-string) + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + enum_ut.cpp + format_ut.cpp + guid_ut.cpp + string_ut.cpp +) + +PEERDIR( + library/cpp/yt/string + library/cpp/testing/gtest +) + +END() diff --git a/library/cpp/yt/string/ya.make b/library/cpp/yt/string/ya.make new file mode 100644 index 00000000000..95b07ee0d1f --- /dev/null +++ b/library/cpp/yt/string/ya.make @@ -0,0 +1,34 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + enum.cpp + guid.cpp + string.cpp + format.cpp +) + +PEERDIR( + library/cpp/yt/assert + library/cpp/yt/exception + library/cpp/yt/misc + library/cpp/yt/small_containers +) + +CHECK_DEPENDENT_DIRS( + ALLOW_ONLY ALL + build + contrib + library + util + library/cpp/yt/assert + library/cpp/yt/misc + library/cpp/yt/small_containers +) + +END() + +RECURSE_FOR_TESTS( + unittests +) diff --git a/library/cpp/yt/system/ya.make b/library/cpp/yt/system/ya.make new file mode 100644 index 00000000000..22aab5151e7 --- /dev/null +++ b/library/cpp/yt/system/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + thread_id.cpp +) + +END() diff --git a/library/cpp/yt/threading/ya.make b/library/cpp/yt/threading/ya.make new file mode 100644 index 00000000000..5c1f3d14081 --- /dev/null +++ b/library/cpp/yt/threading/ya.make @@ -0,0 +1,29 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + at_fork.cpp + event_count.cpp + fork_aware_spin_lock.cpp + fork_aware_rw_spin_lock.cpp + futex.cpp + public.cpp + recursive_spin_lock.cpp + rw_spin_lock.cpp + spin_lock_base.cpp + spin_lock.cpp + spin_wait.cpp + spin_wait_hook.cpp +) + +PEERDIR( + library/cpp/yt/assert + library/cpp/yt/cpu_clock + library/cpp/yt/system + library/cpp/yt/memory +) + +END() + +RECURSE_FOR_TESTS(unittests) diff --git a/library/cpp/yt/yson/ya.make b/library/cpp/yt/yson/ya.make new file mode 100644 index 00000000000..f8bd9fc15d7 --- /dev/null +++ b/library/cpp/yt/yson/ya.make @@ -0,0 +1,13 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + consumer.cpp +) + +PEERDIR( + library/cpp/yt/yson_string +) + +END() diff --git a/library/cpp/yt/yson_string/unittests/ya.make b/library/cpp/yt/yson_string/unittests/ya.make new file mode 100644 index 00000000000..f301e5b438f --- /dev/null +++ b/library/cpp/yt/yson_string/unittests/ya.make @@ -0,0 +1,15 @@ +GTEST() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + convert_ut.cpp +) + +PEERDIR( + library/cpp/yt/yson_string + library/cpp/testing/gtest + library/cpp/testing/gtest_extensions +) + +END() diff --git a/library/cpp/yt/yson_string/ya.make b/library/cpp/yt/yson_string/ya.make new file mode 100644 index 00000000000..ba693760f10 --- /dev/null +++ b/library/cpp/yt/yson_string/ya.make @@ -0,0 +1,23 @@ +LIBRARY() + +INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) + +SRCS( + convert.cpp + string.cpp +) + +PEERDIR( + library/cpp/yt/assert + library/cpp/yt/coding + library/cpp/yt/exception + library/cpp/yt/string + library/cpp/yt/memory + library/cpp/yt/misc +) + +END() + +RECURSE_FOR_TESTS( + unittests +) |