diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-15 13:35:56 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-15 13:35:56 +0300 |
commit | 094638589de6a6c9f91fad0005843fc1c1adc957 (patch) | |
tree | 7d55b9e950eb724da222548997547bf6710b1b58 /util | |
parent | bc921e787bed8a51a43725b78382e806800c44c1 (diff) | |
download | ydb-094638589de6a6c9f91fad0005843fc1c1adc957.tar.gz |
intermediate changes
ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
Diffstat (limited to 'util')
83 files changed, 0 insertions, 1728 deletions
diff --git a/util/charset/benchmark/to_lower/metrics/ya.make b/util/charset/benchmark/to_lower/metrics/ya.make deleted file mode 100644 index 5bb3461a8d..0000000000 --- a/util/charset/benchmark/to_lower/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - agorodilov - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/charset/benchmark/to_lower) - -END() diff --git a/util/charset/benchmark/to_lower/ya.make b/util/charset/benchmark/to_lower/ya.make deleted file mode 100644 index 74c47e6de5..0000000000 --- a/util/charset/benchmark/to_lower/ya.make +++ /dev/null @@ -1,11 +0,0 @@ -OWNER(yazevnul) - -Y_BENCHMARK() - -ALLOCATOR(B) - -SRCS( - main.cpp -) - -END() diff --git a/util/charset/benchmark/utf8_to_wide/metrics/ya.make b/util/charset/benchmark/utf8_to_wide/metrics/ya.make deleted file mode 100644 index c406e25bee..0000000000 --- a/util/charset/benchmark/utf8_to_wide/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - agorodilov - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/charset/benchmark/utf8_to_wide) - -END() diff --git a/util/charset/benchmark/utf8_to_wide/ya.make b/util/charset/benchmark/utf8_to_wide/ya.make deleted file mode 100644 index 4631fd7c41..0000000000 --- a/util/charset/benchmark/utf8_to_wide/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -Y_BENCHMARK() - -OWNER(agorodilov) - -SRCS( - main.cpp -) - -END() diff --git a/util/charset/benchmark/ya.make b/util/charset/benchmark/ya.make deleted file mode 100644 index de3e04ef22..0000000000 --- a/util/charset/benchmark/ya.make +++ /dev/null @@ -1,12 +0,0 @@ -OWNER( - agorodilov - g:util -) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - to_lower - to_lower/metrics - utf8_to_wide - utf8_to_wide/metrics -) diff --git a/util/charset/ut/ya.make b/util/charset/ut/ya.make deleted file mode 100644 index 6526815e92..0000000000 --- a/util/charset/ut/ya.make +++ /dev/null @@ -1,17 +0,0 @@ -UNITTEST_FOR(util/charset) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -DATA(arcadia/util/charset/ut/utf8) - -SRCS( - utf8_ut.cpp - wide_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -REQUIREMENTS(ram:17) - -END() diff --git a/util/charset/ya.make b/util/charset/ya.make deleted file mode 100644 index 26d38cb10b..0000000000 --- a/util/charset/ya.make +++ /dev/null @@ -1,35 +0,0 @@ -LIBRARY() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -NO_UTIL() - -IF (TSTRING_IS_STD_STRING) - CFLAGS(GLOBAL -DTSTRING_IS_STD_STRING) -ENDIF() - -JOIN_SRCS( - all_charset.cpp - generated/unidata.cpp - recode_result.cpp - unicode_table.cpp - unidata.cpp - utf8.cpp - wide.cpp -) - -IF (ARCH_X86_64 AND NOT DISABLE_INSTRUCTION_SETS) - SRC_CPP_SSE41(wide_sse41.cpp) -ELSE() - SRC( - wide_sse41.cpp - -DSSE41_STUB - ) -ENDIF() - -END() - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/datetime/ut/ya.make b/util/datetime/ut/ya.make deleted file mode 100644 index c2bc714059..0000000000 --- a/util/datetime/ut/ya.make +++ /dev/null @@ -1,15 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - datetime/base_ut.cpp - datetime/parser_deprecated_ut.cpp - datetime/parser_ut.cpp - datetime/uptime_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/datetime/ya.make b/util/datetime/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/datetime/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/digest/benchmark/murmur/ya.make b/util/digest/benchmark/murmur/ya.make deleted file mode 100644 index 39559996ab..0000000000 --- a/util/digest/benchmark/murmur/ya.make +++ /dev/null @@ -1,7 +0,0 @@ -G_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/digest/benchmark/ya.make b/util/digest/benchmark/ya.make deleted file mode 100644 index bfc0faff9e..0000000000 --- a/util/digest/benchmark/ya.make +++ /dev/null @@ -1,3 +0,0 @@ -RECURSE( - murmur -) diff --git a/util/digest/ut/ya.make b/util/digest/ut/ya.make deleted file mode 100644 index 4cd8e95857..0000000000 --- a/util/digest/ut/ya.make +++ /dev/null @@ -1,16 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - digest/city_ut.cpp - digest/fnv_ut.cpp - digest/multi_ut.cpp - digest/murmur_ut.cpp - digest/sequence_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/digest/ya.make b/util/digest/ya.make deleted file mode 100644 index e378a7e419..0000000000 --- a/util/digest/ya.make +++ /dev/null @@ -1,12 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -PROVIDES(cityhash) - -RECURSE( - benchmark -) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/draft/ut/ya.make b/util/draft/ut/ya.make deleted file mode 100644 index 37ab9413c5..0000000000 --- a/util/draft/ut/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -UNITTEST() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCDIR(util/draft) - -PEERDIR( - util/draft -) - -SRCS( - date_ut.cpp - datetime_ut.cpp - holder_vector_ut.cpp - memory_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/draft/ya.make b/util/draft/ya.make deleted file mode 100644 index e00674b682..0000000000 --- a/util/draft/ya.make +++ /dev/null @@ -1,26 +0,0 @@ -LIBRARY() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -NO_UTIL() - -IF (TSTRING_IS_STD_STRING) - CFLAGS(GLOBAL -DTSTRING_IS_STD_STRING) -ENDIF() - -SRCS( - date.cpp - datetime.cpp - enum.cpp - holder_vector.cpp - ip.cpp - matrix.cpp - memory.cpp -) - -END() - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/folder/ut/ya.make b/util/folder/ut/ya.make deleted file mode 100644 index 64877d9b58..0000000000 --- a/util/folder/ut/ya.make +++ /dev/null @@ -1,17 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - folder/dirut_ut.cpp - folder/filelist_ut.cpp - folder/fts_ut.cpp - folder/iterator_ut.cpp - folder/path_ut.cpp - folder/pathsplit_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/folder/ya.make b/util/folder/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/folder/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/generic/benchmark/cont_speed/ya.make b/util/generic/benchmark/cont_speed/ya.make deleted file mode 100644 index 6ff3fe767c..0000000000 --- a/util/generic/benchmark/cont_speed/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/benchmark/fastclp2/metrics/ya.make b/util/generic/benchmark/fastclp2/metrics/ya.make deleted file mode 100644 index b2d17ebad3..0000000000 --- a/util/generic/benchmark/fastclp2/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/generic/benchmark/fastclp2) - -END() diff --git a/util/generic/benchmark/fastclp2/ya.make b/util/generic/benchmark/fastclp2/ya.make deleted file mode 100644 index 976977014f..0000000000 --- a/util/generic/benchmark/fastclp2/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/benchmark/log2/metrics/ya.make b/util/generic/benchmark/log2/metrics/ya.make deleted file mode 100644 index eb987e38d2..0000000000 --- a/util/generic/benchmark/log2/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/generic/benchmark/log2) - -END() diff --git a/util/generic/benchmark/log2/ya.make b/util/generic/benchmark/log2/ya.make deleted file mode 100644 index 45d751909e..0000000000 --- a/util/generic/benchmark/log2/ya.make +++ /dev/null @@ -1,17 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -PEERDIR( - library/cpp/fast_log -) - -END() diff --git a/util/generic/benchmark/rotate_bits/metrics/ya.make b/util/generic/benchmark/rotate_bits/metrics/ya.make deleted file mode 100644 index ac27d2f845..0000000000 --- a/util/generic/benchmark/rotate_bits/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/generic/benchmark/rotate_bits) - -END() diff --git a/util/generic/benchmark/rotate_bits/ya.make b/util/generic/benchmark/rotate_bits/ya.make deleted file mode 100644 index 976977014f..0000000000 --- a/util/generic/benchmark/rotate_bits/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/benchmark/singleton/ya.make b/util/generic/benchmark/singleton/ya.make deleted file mode 100644 index 12d3d316c8..0000000000 --- a/util/generic/benchmark/singleton/ya.make +++ /dev/null @@ -1,11 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - f.cpp - main.cpp -) - -END() diff --git a/util/generic/benchmark/smart_pointers/ya.make b/util/generic/benchmark/smart_pointers/ya.make deleted file mode 100644 index 7059abc3a4..0000000000 --- a/util/generic/benchmark/smart_pointers/ya.make +++ /dev/null @@ -1,10 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/benchmark/sort/ya.make b/util/generic/benchmark/sort/ya.make deleted file mode 100644 index 7059abc3a4..0000000000 --- a/util/generic/benchmark/sort/ya.make +++ /dev/null @@ -1,10 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/benchmark/string/ya.make b/util/generic/benchmark/string/ya.make deleted file mode 100644 index c2956de6a1..0000000000 --- a/util/generic/benchmark/string/ya.make +++ /dev/null @@ -1,11 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - string.cpp - std_string.cpp -) - -END() diff --git a/util/generic/benchmark/vector_count_ctor/metrics/ya.make b/util/generic/benchmark/vector_count_ctor/metrics/ya.make deleted file mode 100644 index c48f89b564..0000000000 --- a/util/generic/benchmark/vector_count_ctor/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/generic/benchmark/vector_count_ctor) - -END() diff --git a/util/generic/benchmark/vector_count_ctor/ya.make b/util/generic/benchmark/vector_count_ctor/ya.make deleted file mode 100644 index 42ce442819..0000000000 --- a/util/generic/benchmark/vector_count_ctor/ya.make +++ /dev/null @@ -1,16 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -ALLOCATOR(B) - -SRCS( - main.cpp - f.cpp -) - -END() diff --git a/util/generic/benchmark/ya.make b/util/generic/benchmark/ya.make deleted file mode 100644 index 635860a646..0000000000 --- a/util/generic/benchmark/ya.make +++ /dev/null @@ -1,19 +0,0 @@ -OWNER(yazevnul g:util) - -SUBSCRIBER(g:util-subscribers) - -RECURSE( - fastclp2 - fastclp2/metrics - log2 - log2/metrics - rotate_bits - rotate_bits/metrics - singleton - smart_pointers - sort - string - vector_count_ctor - vector_count_ctor/metrics - cont_speed -) diff --git a/util/generic/fuzz/vector/ya.make b/util/generic/fuzz/vector/ya.make deleted file mode 100644 index b8614f6411..0000000000 --- a/util/generic/fuzz/vector/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -FUZZ() - -OWNER( - pg - g:util -) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/generic/fuzz/ya.make b/util/generic/fuzz/ya.make deleted file mode 100644 index dc60b12a0c..0000000000 --- a/util/generic/fuzz/ya.make +++ /dev/null @@ -1,3 +0,0 @@ -RECURSE( - vector -) diff --git a/util/generic/ut/ya.make b/util/generic/ut/ya.make deleted file mode 100644 index 6eaf24cc5f..0000000000 --- a/util/generic/ut/ya.make +++ /dev/null @@ -1,73 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -FORK_TESTS() - -SRCS( - generic/adaptor_ut.cpp - generic/algorithm_ut.cpp - generic/array_ref_ut.cpp - generic/array_size_ut.cpp - generic/bitmap_ut.cpp - generic/bitops_ut.cpp - generic/buffer_ut.cpp - generic/cast_ut.cpp - generic/deque_ut.cpp - generic/explicit_type_ut.cpp - generic/flags_ut.cpp - generic/function_ut.cpp - generic/guid_ut.cpp - generic/hash_primes_ut.cpp - generic/hash_ut.cpp - generic/intrlist_ut.cpp - generic/is_in_ut.cpp - generic/iterator_ut.cpp - generic/iterator_range_ut.cpp - generic/lazy_value_ut.cpp - generic/list_ut.cpp - generic/map_ut.cpp - generic/mapfindptr_ut.cpp - generic/maybe_ut.cpp - generic/mem_copy_ut.cpp - generic/objects_counter_ut.cpp - generic/overloaded_ut.cpp - generic/ptr_ut.cpp - generic/queue_ut.cpp - generic/serialized_enum_ut.cpp - generic/set_ut.cpp - generic/singleton_ut.cpp - generic/size_literals_ut.cpp - generic/stack_ut.cpp - generic/store_policy_ut.cpp - generic/strbuf_ut.cpp - generic/string_ut.cpp - generic/typelist_ut.cpp - generic/typetraits_ut.cpp - generic/utility_ut.cpp - generic/va_args_ut.cpp - generic/vector_ut.cpp - generic/xrange_ut.cpp - generic/yexception_ut.c - generic/yexception_ut.cpp - generic/ylimits_ut.cpp - generic/ymath_ut.cpp - generic/scope_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -IF (NOT OS_IOS AND NOT ARCH_PPC64LE) - # Abseil fails to build (with linkage error) on ios and with compilation error on PowerPC - # (somewhere in unscaledcycleclock.cc). - PEERDIR( - library/cpp/containers/absl_flat_hash - ) - - SRCS( - generic/string_transparent_hash_ut.cpp - ) -ENDIF() - -END() diff --git a/util/generic/ya.make b/util/generic/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/generic/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/memory/benchmark/pool/metrics/ya.make b/util/memory/benchmark/pool/metrics/ya.make deleted file mode 100644 index c671bc5c1c..0000000000 --- a/util/memory/benchmark/pool/metrics/ya.make +++ /dev/null @@ -1,18 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/memory/benchmark/pool) - -END() diff --git a/util/memory/benchmark/pool/ya.make b/util/memory/benchmark/pool/ya.make deleted file mode 100644 index 5f4f7d3f15..0000000000 --- a/util/memory/benchmark/pool/ya.make +++ /dev/null @@ -1,10 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/memory/benchmark/ya.make b/util/memory/benchmark/ya.make deleted file mode 100644 index 2259b9434e..0000000000 --- a/util/memory/benchmark/ya.make +++ /dev/null @@ -1,7 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - pool - pool/metrics -) diff --git a/util/memory/ut/ya.make b/util/memory/ut/ya.make deleted file mode 100644 index d3a988617d..0000000000 --- a/util/memory/ut/ya.make +++ /dev/null @@ -1,16 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - memory/addstorage_ut.cpp - memory/blob_ut.cpp - memory/pool_ut.cpp - memory/smallobj_ut.cpp - memory/tempbuf_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/memory/ya.make b/util/memory/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/memory/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/network/ut/ya.make b/util/network/ut/ya.make deleted file mode 100644 index 1ba03e167c..0000000000 --- a/util/network/ut/ya.make +++ /dev/null @@ -1,23 +0,0 @@ -UNITTEST_FOR(util) - -REQUIREMENTS(network:full) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -PEERDIR( - library/cpp/threading/future -) - -SRCS( - network/address_ut.cpp - network/endpoint_ut.cpp - network/ip_ut.cpp - network/poller_ut.cpp - network/sock_ut.cpp - network/socket_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/network/ya.make b/util/network/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/network/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/random/benchmark/prng/metrics/ya.make b/util/random/benchmark/prng/metrics/ya.make deleted file mode 100644 index 1f56aac0bd..0000000000 --- a/util/random/benchmark/prng/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/random/benchmark/prng) - -END() diff --git a/util/random/benchmark/prng/ya.make b/util/random/benchmark/prng/ya.make deleted file mode 100644 index 976977014f..0000000000 --- a/util/random/benchmark/prng/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/random/benchmark/ya.make b/util/random/benchmark/ya.make deleted file mode 100644 index 7d753ae6e7..0000000000 --- a/util/random/benchmark/ya.make +++ /dev/null @@ -1,10 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - prng - prng/metrics -) diff --git a/util/random/ut/ya.make b/util/random/ut/ya.make deleted file mode 100644 index 5080b339de..0000000000 --- a/util/random/ut/ya.make +++ /dev/null @@ -1,19 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - random/common_ops_ut.cpp - random/easy_ut.cpp - random/entropy_ut.cpp - random/fast_ut.cpp - random/normal_ut.cpp - random/mersenne_ut.cpp - random/random_ut.cpp - random/shuffle_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/random/ya.make b/util/random/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/random/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/stream/ut/ya.make b/util/stream/ut/ya.make deleted file mode 100644 index f0176dd7b4..0000000000 --- a/util/stream/ut/ya.make +++ /dev/null @@ -1,30 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - stream/aligned_ut.cpp - stream/buffer_ut.cpp - stream/buffered_ut.cpp - stream/direct_io_ut.cpp - stream/file_ut.cpp - stream/format_ut.cpp - stream/hex_ut.cpp - stream/input_ut.cpp - stream/ios_ut.cpp - stream/labeled_ut.cpp - stream/length_ut.cpp - stream/mem_ut.cpp - stream/multi_ut.cpp - stream/printf_ut.cpp - stream/str_ut.cpp - stream/tokenizer_ut.cpp - stream/walk_ut.cpp - stream/zerocopy_output_ut.cpp - stream/zlib_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/stream/ya.make b/util/stream/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/stream/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/string/benchmark/ascii/ya.make b/util/string/benchmark/ascii/ya.make deleted file mode 100644 index f95b9e0fa8..0000000000 --- a/util/string/benchmark/ascii/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -Y_BENCHMARK() - -OWNER(pg) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/benchmark/cast/ya.make b/util/string/benchmark/cast/ya.make deleted file mode 100644 index f95b9e0fa8..0000000000 --- a/util/string/benchmark/cast/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -Y_BENCHMARK() - -OWNER(pg) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/benchmark/float_to_string/metrics/ya.make b/util/string/benchmark/float_to_string/metrics/ya.make deleted file mode 100644 index 4b8c4cc07d..0000000000 --- a/util/string/benchmark/float_to_string/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/string/benchmark/float_to_string) - -END() diff --git a/util/string/benchmark/float_to_string/ya.make b/util/string/benchmark/float_to_string/ya.make deleted file mode 100644 index 8136ad34f0..0000000000 --- a/util/string/benchmark/float_to_string/ya.make +++ /dev/null @@ -1,12 +0,0 @@ -OWNER(yazevnul) - -Y_BENCHMARK() - -# to minimize allocations overhead -ALLOCATOR(B) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/benchmark/join/metrics/ya.make b/util/string/benchmark/join/metrics/ya.make deleted file mode 100644 index 08ff3a149f..0000000000 --- a/util/string/benchmark/join/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - salmin - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/string/benchmark/join) - -END() diff --git a/util/string/benchmark/join/ya.make b/util/string/benchmark/join/ya.make deleted file mode 100644 index dfcc1d264e..0000000000 --- a/util/string/benchmark/join/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -Y_BENCHMARK() - -OWNER( - salmin - g:util -) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/benchmark/subst_global/metrics/ya.make b/util/string/benchmark/subst_global/metrics/ya.make deleted file mode 100644 index d8c30ad460..0000000000 --- a/util/string/benchmark/subst_global/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/string/benchmark/subst_global) - -END() diff --git a/util/string/benchmark/subst_global/ya.make b/util/string/benchmark/subst_global/ya.make deleted file mode 100644 index 8136ad34f0..0000000000 --- a/util/string/benchmark/subst_global/ya.make +++ /dev/null @@ -1,12 +0,0 @@ -OWNER(yazevnul) - -Y_BENCHMARK() - -# to minimize allocations overhead -ALLOCATOR(B) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/benchmark/ya.make b/util/string/benchmark/ya.make deleted file mode 100644 index 266b53c7b3..0000000000 --- a/util/string/benchmark/ya.make +++ /dev/null @@ -1,16 +0,0 @@ -OWNER( - g:util - yazevnul -) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - ascii - cast - float_to_string - float_to_string/metrics - join - join/metrics - subst_global - subst_global/metrics -) diff --git a/util/string/fuzzing/collapse/ya.make b/util/string/fuzzing/collapse/ya.make deleted file mode 100644 index b8614f6411..0000000000 --- a/util/string/fuzzing/collapse/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -FUZZ() - -OWNER( - pg - g:util -) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/fuzzing/escape_c/ya.make b/util/string/fuzzing/escape_c/ya.make deleted file mode 100644 index 61e64ac9de..0000000000 --- a/util/string/fuzzing/escape_c/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -FUZZ() - -SRCS( - main.cpp -) - -END() diff --git a/util/string/fuzzing/strtod/ya.make b/util/string/fuzzing/strtod/ya.make deleted file mode 100644 index b8614f6411..0000000000 --- a/util/string/fuzzing/strtod/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -FUZZ() - -OWNER( - pg - g:util -) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/string/fuzzing/ya.make b/util/string/fuzzing/ya.make deleted file mode 100644 index 617e0f2b1d..0000000000 --- a/util/string/fuzzing/ya.make +++ /dev/null @@ -1,11 +0,0 @@ -OWNER( - g:util - pg -) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - collapse - escape_c - strtod -) diff --git a/util/string/ut/ya.make b/util/string/ut/ya.make deleted file mode 100644 index 6e80812825..0000000000 --- a/util/string/ut/ya.make +++ /dev/null @@ -1,24 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - string/builder_ut.cpp - string/cast_ut.cpp - string/escape_ut.cpp - string/join_ut.cpp - string/hex_ut.cpp - string/printf_ut.cpp - string/split_ut.cpp - string/strip_ut.cpp - string/subst_ut.cpp - string/type_ut.cpp - string/util_ut.cpp - string/vector_ut.cpp - string/ascii_ut.cpp -) - -INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) - -END() diff --git a/util/string/ya.make b/util/string/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/string/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/system/benchmark/cpu_id/metrics/ya.make b/util/system/benchmark/cpu_id/metrics/ya.make deleted file mode 100644 index 8c55def99b..0000000000 --- a/util/system/benchmark/cpu_id/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/system/benchmark/cpu_id) - -END() diff --git a/util/system/benchmark/cpu_id/ya.make b/util/system/benchmark/cpu_id/ya.make deleted file mode 100644 index 976977014f..0000000000 --- a/util/system/benchmark/cpu_id/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/system/benchmark/create_destroy_thread/metrics/ya.make b/util/system/benchmark/create_destroy_thread/metrics/ya.make deleted file mode 100644 index d526487e1a..0000000000 --- a/util/system/benchmark/create_destroy_thread/metrics/ya.make +++ /dev/null @@ -1,21 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -PY2TEST() - -SIZE(LARGE) - -TAG( - ya:force_sandbox - sb:intel_e5_2660v1 - ya:fat -) - -TEST_SRCS(main.py) - -DEPENDS(util/system/benchmark/create_destroy_thread) - -END() diff --git a/util/system/benchmark/create_destroy_thread/ya.make b/util/system/benchmark/create_destroy_thread/ya.make deleted file mode 100644 index 03eb0ec8e0..0000000000 --- a/util/system/benchmark/create_destroy_thread/ya.make +++ /dev/null @@ -1,9 +0,0 @@ -OWNER(yazevnul) - -Y_BENCHMARK() - -SRCS( - main.cpp -) - -END() diff --git a/util/system/benchmark/rdtsc/ya.make b/util/system/benchmark/rdtsc/ya.make deleted file mode 100644 index 7059abc3a4..0000000000 --- a/util/system/benchmark/rdtsc/ya.make +++ /dev/null @@ -1,10 +0,0 @@ -Y_BENCHMARK() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -END() diff --git a/util/system/benchmark/ya.make b/util/system/benchmark/ya.make deleted file mode 100644 index 12fa9af9d6..0000000000 --- a/util/system/benchmark/ya.make +++ /dev/null @@ -1,18 +0,0 @@ -OWNER( - yazevnul - g:util -) -SUBSCRIBER(g:util-subscribers) - -RECURSE( - cpu_id - cpu_id/metrics - create_destroy_thread - create_destroy_thread/metrics -) - -IF (NOT OS_WINDOWS) - RECURSE( - rdtsc - ) -ENDIF() diff --git a/util/system/ut/stdin_osfhandle/ya.make b/util/system/ut/stdin_osfhandle/ya.make deleted file mode 100644 index d71ab22e69..0000000000 --- a/util/system/ut/stdin_osfhandle/ya.make +++ /dev/null @@ -1,14 +0,0 @@ -PROGRAM() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - main.cpp -) - -NO_UTIL() - -BUILD_ONLY_IF(OS_WINDOWS) - -END() diff --git a/util/system/ut/ya.make b/util/system/ut/ya.make deleted file mode 100644 index 127e7c261e..0000000000 --- a/util/system/ut/ya.make +++ /dev/null @@ -1,88 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -FORK_TESTS() - -FORK_SUBTESTS() - -SPLIT_FACTOR(40) - -TIMEOUT(300) - -SIZE(MEDIUM) - -IF (OS_DARWIN) - SIZE(LARGE) - TAG(ya:fat ya:force_sandbox ya:exotic_platform) - TIMEOUT(3600) -ENDIF() - -PEERDIR( - library/cpp/testing/benchmark -) - -SRCS( - system/align_ut.cpp - system/atexit_ut.cpp - system/atomic_ut.cpp - system/backtrace_ut.cpp - system/byteorder_ut.cpp - system/compat_ut.cpp - system/compiler_ut.cpp - system/context_ut.cpp - system/condvar_ut.cpp - system/cpu_id_ut.cpp - system/datetime_ut.cpp - system/daemon_ut.cpp - system/direct_io_ut.cpp - system/env_ut.cpp - system/error_ut.cpp - system/event_ut.cpp - system/execpath_ut.cpp - system/file_ut.cpp - system/filemap_ut.cpp - system/flock_ut.cpp - system/fs_ut.cpp - system/fstat_ut.cpp - system/getpid_ut.cpp - system/guard_ut.cpp - system/hi_lo_ut.cpp - system/hostname_ut.cpp - system/info_ut.cpp - system/interrupt_signals_ut.cpp - system/mem_info_ut.cpp - system/mincore_ut.cpp - system/mutex_ut.cpp - system/nice_ut.cpp - system/pipe_ut.cpp - system/platform_ut.cpp - system/progname_ut.cpp - system/rusage_ut.cpp - system/rwlock_ut.cpp - system/sanitizers_ut.cpp - system/shellcommand_ut.cpp - system/spinlock_ut.cpp - system/src_root_ut.cpp - system/src_location_ut.cpp - system/shmat_ut.cpp - system/tempfile_ut.cpp - system/thread_ut.cpp - system/tls_ut.cpp - system/types_ut.cpp - system/type_name_ut.cpp - system/user_ut.cpp - system/unaligned_mem_ut.cpp - system/yassert_ut.cpp -) - -IF (OS_WINDOWS) - DEPENDS( - util/system/ut/stdin_osfhandle - ) -ENDIF() - -REQUIREMENTS(ram:12) - -END() diff --git a/util/system/ya.make b/util/system/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/system/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/tests/benchmark/ya.make b/util/tests/benchmark/ya.make deleted file mode 100644 index 134cbfabd1..0000000000 --- a/util/tests/benchmark/ya.make +++ /dev/null @@ -1,11 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_ROOT_RELATIVE( - util/charset/benchmark - util/generic/benchmark - util/random/benchmark - util/memory/benchmark - util/string/benchmark - util/system/benchmark -) diff --git a/util/tests/cython/ya.make b/util/tests/cython/ya.make deleted file mode 100644 index b928c19026..0000000000 --- a/util/tests/cython/ya.make +++ /dev/null @@ -1,39 +0,0 @@ -PY23_TEST() - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCDIR(util) - -NO_WSHADOW() - -PY_SRCS( - NAMESPACE - util - folder/path_ut.pyx - generic/array_ref_ut.pyx - generic/deque_ut.pyx - generic/maybe_ut.pyx - generic/ptr_ut.pyx - generic/string_ut.pyx - generic/vector_ut.pyx - generic/list_ut.pyx - generic/hash_set_ut.pyx - generic/hash_ut.pyx - memory/blob_ut.pyx - stream/str_ut.pyx - string/cast_ut.pyx - system/types_ut.pyx - digest/multi_ut.pyx -) - -TEST_SRCS( - test_digest.py - test_folder.py - test_generic.py - test_memory.py - test_stream.py - test_system.py -) - -END() diff --git a/util/tests/fuzzing/ya.make b/util/tests/fuzzing/ya.make deleted file mode 100644 index d9a8f9df9f..0000000000 --- a/util/tests/fuzzing/ya.make +++ /dev/null @@ -1,7 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_ROOT_RELATIVE( - util/string/fuzzing - util/generic/fuzz -) diff --git a/util/tests/style/ya.make b/util/tests/style/ya.make deleted file mode 100644 index 3014797060..0000000000 --- a/util/tests/style/ya.make +++ /dev/null @@ -1,7 +0,0 @@ -CPP_STYLE_TEST() - -OWNER(pg) - -STYLE(util/**/*.cpp util/**/*.h util/**/*.c) - -END() diff --git a/util/tests/sym_versions/ya.make b/util/tests/sym_versions/ya.make deleted file mode 100644 index 3957c60fc9..0000000000 --- a/util/tests/sym_versions/ya.make +++ /dev/null @@ -1,42 +0,0 @@ -PY2TEST() - -OWNER( - pg - g:util -) -SUBSCRIBER(g:util-subscribers) - -TEST_SRCS(test_glibc.py) - -PEERDIR( - library/python/resource -) - -RESOURCE( - ya.make /test_binaries -) - -DEPENDS( - # start binaries - util/generic/ut - util/charset/ut - util/datetime/ut - util/digest/ut - util/draft/ut - util/folder/ut - util/memory/ut - util/network/ut - util/random/ut - util/stream/ut - util/string/ut - util/system/ut - util/thread/ut - # end binaries - contrib/python/pyelftools/readelf -) - -FORK_SUBTESTS() - -SPLIT_FACTOR(10) - -END() diff --git a/util/tests/ut/ya.make b/util/tests/ut/ya.make deleted file mode 100644 index 94278cbde1..0000000000 --- a/util/tests/ut/ya.make +++ /dev/null @@ -1,26 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - ysaveload_ut.cpp -) - -END() - -RECURSE_ROOT_RELATIVE( - util/charset/ut - util/datetime/ut - util/digest/ut - util/draft/ut - util/folder/ut - util/generic/ut - util/memory/ut - util/network/ut - util/random/ut - util/stream/ut - util/string/ut - util/system/ut - util/thread/ut -) diff --git a/util/tests/ya.make b/util/tests/ya.make deleted file mode 100644 index e1e85c2931..0000000000 --- a/util/tests/ya.make +++ /dev/null @@ -1,13 +0,0 @@ -RECURSE( - benchmark - cython - fuzzing - ut - style -) - -IF (OS_LINUX) - RECURSE( - sym_versions - ) -ENDIF() diff --git a/util/thread/ut/ya.make b/util/thread/ut/ya.make deleted file mode 100644 index 93198bfaf1..0000000000 --- a/util/thread/ut/ya.make +++ /dev/null @@ -1,18 +0,0 @@ -UNITTEST_FOR(util) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -SRCS( - thread/factory_ut.cpp - thread/lfqueue_ut.cpp - thread/lfstack_ut.cpp - thread/pool_ut.cpp - thread/singleton_ut.cpp -) - -PEERDIR( - library/cpp/threading/future -) - -END() diff --git a/util/thread/ya.make b/util/thread/ya.make deleted file mode 100644 index 79c9498ddd..0000000000 --- a/util/thread/ya.make +++ /dev/null @@ -1,6 +0,0 @@ -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -RECURSE_FOR_TESTS( - ut -) diff --git a/util/ya.make b/util/ya.make deleted file mode 100644 index 523c80a17d..0000000000 --- a/util/ya.make +++ /dev/null @@ -1,391 +0,0 @@ -LIBRARY(yutil) - -OWNER(g:util) -SUBSCRIBER(g:util-subscribers) - -NEED_CHECK() - -NO_UTIL() - -# stream -# string -PEERDIR( - util/charset - contrib/libs/zlib - contrib/libs/double-conversion -) - -PEERDIR( - contrib/libs/libc_compat -) - -# datetime -JOIN_SRCS( - all_datetime.cpp - datetime/base.cpp - datetime/constants.cpp - datetime/cputimer.cpp - datetime/systime.cpp - datetime/uptime.cpp -) - -SRCS( - datetime/parser.rl6 - digest/city.cpp - random/random.cpp - string/cast.cpp -) - -IF (OS_WINDOWS) - SRCS( - datetime/strptime.cpp - ) -ENDIF() - -# digest -JOIN_SRCS( - all_digest.cpp - digest/fnv.cpp - digest/multi.cpp - digest/murmur.cpp - digest/numeric.cpp - digest/sequence.cpp -) - -JOIN_SRCS( - all_util.cpp - ysafeptr.cpp - ysaveload.cpp - str_stl.cpp -) - -# folder -JOIN_SRCS( - all_folder.cpp - folder/dirut.cpp - folder/filelist.cpp - folder/fts.cpp - folder/fwd.cpp - folder/iterator.cpp - folder/path.cpp - folder/pathsplit.cpp - folder/tempdir.cpp -) - -IF (OS_WINDOWS) - SRCS( - folder/lstat_win.c - folder/dirent_win.c - ) -ENDIF() - -# generic -JOIN_SRCS( - all_generic.cpp - generic/scope.cpp - generic/adaptor.cpp - generic/algorithm.cpp - generic/array_ref.cpp - generic/array_size.cpp - generic/bitmap.cpp - generic/bitops.cpp - generic/bt_exception.cpp - generic/buffer.cpp - generic/cast.cpp - generic/deque.cpp - generic/explicit_type.cpp - generic/fastqueue.cpp - generic/flags.cpp - generic/function.cpp - generic/fwd.cpp - generic/guid.cpp - generic/hash.cpp - generic/hash_primes.cpp - generic/hash_set.cpp - generic/hide_ptr.cpp - generic/intrlist.cpp - generic/is_in.cpp - generic/iterator.cpp - generic/iterator_range.cpp - generic/lazy_value.cpp - generic/list.cpp - generic/map.cpp - generic/mapfindptr.cpp - generic/maybe.cpp - generic/mem_copy.cpp - generic/noncopyable.cpp - generic/object_counter.cpp - generic/overloaded.cpp - generic/ptr.cpp - generic/queue.cpp - generic/refcount.cpp - generic/serialized_enum.cpp - generic/set.cpp - generic/singleton.cpp - generic/size_literals.cpp - generic/stack.cpp - generic/store_policy.cpp - generic/strbuf.cpp - generic/strfcpy.cpp - generic/string.cpp - generic/typelist.cpp - generic/typetraits.cpp - generic/utility.cpp - generic/va_args.cpp - generic/vector.cpp - generic/xrange.cpp - generic/yexception.cpp - generic/ylimits.cpp - generic/ymath.cpp -) - -# memory -JOIN_SRCS( - all_memory.cpp - memory/addstorage.cpp - memory/alloc.cpp - memory/blob.cpp - memory/mmapalloc.cpp - memory/pool.cpp - memory/segmented_string_pool.cpp - memory/segpool_alloc.cpp - memory/smallobj.cpp - memory/tempbuf.cpp -) - -# network -JOIN_SRCS( - all_network.cpp - network/address.cpp - network/endpoint.cpp - network/hostip.cpp - network/init.cpp - network/interface.cpp - network/iovec.cpp - network/ip.cpp - network/nonblock.cpp - network/pair.cpp - network/poller.cpp - network/pollerimpl.cpp - network/sock.cpp - network/socket.cpp -) - -# random -JOIN_SRCS( - all_random.cpp - random/common_ops.cpp - random/easy.cpp - random/entropy.cpp - random/fast.cpp - random/lcg_engine.cpp - random/mersenne32.cpp - random/mersenne64.cpp - random/mersenne.cpp - random/normal.cpp - random/shuffle.cpp - random/init_atfork.cpp -) - -JOIN_SRCS( - all_stream.cpp - stream/aligned.cpp - stream/buffer.cpp - stream/buffered.cpp - stream/debug.cpp - stream/direct_io.cpp - stream/file.cpp - stream/format.cpp - stream/fwd.cpp - stream/hex.cpp - stream/holder.cpp - stream/input.cpp - stream/labeled.cpp - stream/length.cpp - stream/mem.cpp - stream/multi.cpp - stream/null.cpp - stream/output.cpp - stream/pipe.cpp - stream/printf.cpp - stream/str.cpp - stream/tee.cpp - stream/tempbuf.cpp - stream/tokenizer.cpp - stream/trace.cpp - stream/walk.cpp - stream/zerocopy.cpp - stream/zerocopy_output.cpp - stream/zlib.cpp -) - -JOIN_SRCS( - all_string.cpp - string/ascii.cpp - string/builder.cpp - string/cstriter.cpp - string/escape.cpp - string/hex.cpp - string/join.cpp - string/printf.cpp - string/reverse.cpp - string/split.cpp - string/strip.cpp - string/strspn.cpp - string/subst.cpp - string/type.cpp - string/util.cpp - string/vector.cpp -) - -IF (GCC OR CLANG OR CLANG_CL) - CFLAGS(-Wnarrowing) -ENDIF() - -IF (ARCH_ARM) - CFLAGS(-D_FORTIFY_SOURCE=0) -ENDIF() - -IF (TSTRING_IS_STD_STRING) - CFLAGS(GLOBAL -DTSTRING_IS_STD_STRING) -ENDIF() - -JOIN_SRCS( - all_system_1.cpp - system/atexit.cpp - system/backtrace.cpp - system/compat.cpp - system/condvar.cpp - system/context.cpp - system/daemon.cpp - system/datetime.cpp - system/defaults.c - system/direct_io.cpp - system/dynlib.cpp - system/env.cpp - system/error.cpp - system/event.cpp - system/execpath.cpp - system/fasttime.cpp - system/file.cpp - system/file_lock.cpp - system/filemap.cpp - system/flock.cpp - system/fs.cpp - system/fstat.cpp - system/getpid.cpp - system/hi_lo.cpp - system/hostname.cpp - system/hp_timer.cpp - system/info.cpp -) - -IF (OS_WINDOWS) - SRCS(system/err.cpp) -ENDIF() - -JOIN_SRCS( - all_system_2.cpp - system/align.cpp - system/atomic.cpp - system/byteorder.cpp - system/cpu_id.cpp - system/fhandle.cpp - system/guard.cpp - system/interrupt_signals.cpp - system/madvise.cpp - system/maxlen.cpp - system/mem_info.cpp - system/mincore.cpp - system/mktemp.cpp - system/mlock.cpp - system/mutex.cpp - system/nice.cpp - system/pipe.cpp - system/platform.cpp - system/progname.cpp - system/protect.cpp - system/rusage.cpp - system/rwlock.cpp - system/sanitizers.cpp - system/sem.cpp - system/shellcommand.cpp - system/shmat.cpp - system/sigset.cpp - system/spinlock.cpp - system/spin_wait.cpp - system/src_location.cpp - system/sys_alloc.cpp - system/sysstat.cpp - system/tempfile.cpp - system/thread.cpp - system/tls.cpp - system/types.cpp - system/type_name.cpp - system/unaligned_mem.cpp - system/user.cpp - system/utime.cpp - system/yassert.cpp - system/yield.cpp -) - -SRC_CPP_NO_LTO(system/compiler.cpp) - -IF (OS_WINDOWS) - SRCS( - system/fs_win.cpp - system/winint.cpp - ) -ELSEIF (OS_CYGWIN OR OS_IOS) - # no asm context switching on cygwin or iOS -ELSE() - IF (ARCH_X86_64 OR ARCH_I386) - SRCS( - system/context_x86.asm - ) - ENDIF() - IF (ARCH_AARCH64 OR ARCH_ARM64) - SRCS( - system/context_aarch64.S - ) - ENDIF() -ENDIF() - -IF (OS_LINUX) - SRCS( - system/valgrind.cpp - ) - EXTRALIBS( - -lrt - -ldl - ) -ENDIF() - -IF (MUSL) - PEERDIR( - contrib/libs/linuxvdso - ) -ELSE() - IF (OS_LINUX OR SUN OR CYGWIN OR OS_WINDOWS) - SRCS( - system/mktemp_system.cpp - ) - ENDIF() -ENDIF() - -# thread -JOIN_SRCS( - all_thread.cpp - thread/factory.cpp - thread/fwd.cpp - thread/lfqueue.cpp - thread/lfstack.cpp - thread/pool.cpp - thread/singleton.cpp -) - -END() - -RECURSE_FOR_TESTS( - tests/ut -) |