diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-01 20:45:28 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-01 20:45:28 +0300 |
commit | c71dfbc7a152b6f951bca559dcfa23af6d3952a3 (patch) | |
tree | fe52870e806f35cce8853bd4a0e0b6ec3619bf10 /library | |
parent | 05995d9c65035b08087f9971beea7a009b2b1872 (diff) | |
download | ydb-c71dfbc7a152b6f951bca559dcfa23af6d3952a3.tar.gz |
intermediate changes
ref:1bd5d52142d3b1cd797d1dcc1dc7c82ea4a091be
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/accurate_accumulate/CMakeLists.txt | 17 | ||||
-rw-r--r-- | library/cpp/digest/old_crc/gencrc/CMakeLists.txt | 4 | ||||
-rw-r--r-- | library/cpp/lfalloc/CMakeLists.txt | 17 | ||||
-rw-r--r-- | library/cpp/linear_regression/CMakeLists.txt | 20 | ||||
-rw-r--r-- | library/cpp/testing/benchmark/CMakeLists.txt | 24 | ||||
-rw-r--r-- | library/cpp/testing/benchmark/main/CMakeLists.txt (renamed from library/python/symbols/python/CMakeLists.txt) | 16 | ||||
-rw-r--r-- | library/cpp/threading/skip_list/CMakeLists.txt (renamed from library/python/symbols/registry/CMakeLists.txt) | 8 | ||||
-rw-r--r-- | library/python/symbols/libc/CMakeLists.txt | 28 |
8 files changed, 91 insertions, 43 deletions
diff --git a/library/cpp/accurate_accumulate/CMakeLists.txt b/library/cpp/accurate_accumulate/CMakeLists.txt new file mode 100644 index 0000000000..4db4e1b24d --- /dev/null +++ b/library/cpp/accurate_accumulate/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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(library-cpp-accurate_accumulate) +target_link_libraries(library-cpp-accurate_accumulate PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-accurate_accumulate PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp +) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 7736a69cd9..4ae8cb297c 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(gencrc) target_link_libraries(gencrc PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check ) target_sources(gencrc PRIVATE @@ -22,10 +23,7 @@ target_link_flags(gencrc -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/library/cpp/lfalloc/CMakeLists.txt b/library/cpp/lfalloc/CMakeLists.txt new file mode 100644 index 0000000000..99da2da1d7 --- /dev/null +++ b/library/cpp/lfalloc/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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(library-cpp-lfalloc) +target_link_libraries(library-cpp-lfalloc PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(library-cpp-lfalloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/linear_regression/CMakeLists.txt b/library/cpp/linear_regression/CMakeLists.txt new file mode 100644 index 0000000000..4d62e3876c --- /dev/null +++ b/library/cpp/linear_regression/CMakeLists.txt @@ -0,0 +1,20 @@ + +# 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(library-cpp-linear_regression) +target_link_libraries(library-cpp-linear_regression PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-accurate_accumulate +) +target_sources(library-cpp-linear_regression PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp +) diff --git a/library/cpp/testing/benchmark/CMakeLists.txt b/library/cpp/testing/benchmark/CMakeLists.txt new file mode 100644 index 0000000000..2df1ac1d91 --- /dev/null +++ b/library/cpp/testing/benchmark/CMakeLists.txt @@ -0,0 +1,24 @@ + +# 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-testing-benchmark) +target_link_libraries(cpp-testing-benchmark PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-re2 + library-cpp-colorizer + cpp-getopt-small + library-cpp-json + library-cpp-linear_regression + cpp-threading-poor_man_openmp +) +target_sources(cpp-testing-benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp +) diff --git a/library/python/symbols/python/CMakeLists.txt b/library/cpp/testing/benchmark/main/CMakeLists.txt index 3993e19c91..3a0ffe9241 100644 --- a/library/python/symbols/python/CMakeLists.txt +++ b/library/cpp/testing/benchmark/main/CMakeLists.txt @@ -7,19 +7,19 @@ -add_library(python-symbols-python INTERFACE) -target_link_libraries(python-symbols-python INTERFACE +add_library(testing-benchmark-main INTERFACE) +target_link_libraries(testing-benchmark-main INTERFACE contrib-libs-cxxsupp yutil - python-symbols-registry + cpp-testing-benchmark ) -add_global_library_for(python-symbols-python.global python-symbols-python) -target_link_libraries(python-symbols-python.global PUBLIC +add_global_library_for(testing-benchmark-main.global testing-benchmark-main) +target_link_libraries(testing-benchmark-main.global PUBLIC contrib-libs-cxxsupp yutil - python-symbols-registry + cpp-testing-benchmark ) -target_sources(python-symbols-python.global PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/python/syms.cpp +target_sources(testing-benchmark-main.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp ) diff --git a/library/python/symbols/registry/CMakeLists.txt b/library/cpp/threading/skip_list/CMakeLists.txt index 89e8f9ba17..31a28bc9f0 100644 --- a/library/python/symbols/registry/CMakeLists.txt +++ b/library/cpp/threading/skip_list/CMakeLists.txt @@ -7,11 +7,11 @@ -add_library(python-symbols-registry) -target_link_libraries(python-symbols-registry PUBLIC +add_library(cpp-threading-skip_list) +target_link_libraries(cpp-threading-skip_list PUBLIC contrib-libs-cxxsupp yutil ) -target_sources(python-symbols-registry PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/registry/syms.cpp +target_sources(cpp-threading-skip_list PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp ) diff --git a/library/python/symbols/libc/CMakeLists.txt b/library/python/symbols/libc/CMakeLists.txt deleted file mode 100644 index ef018b607f..0000000000 --- a/library/python/symbols/libc/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ - -# 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(python-symbols-libc INTERFACE) -target_link_libraries(python-symbols-libc INTERFACE - contrib-libs-cxxsupp - yutil - python-symbols-registry -) - -add_global_library_for(python-symbols-libc.global python-symbols-libc) -target_compile_options(python-symbols-libc.global PRIVATE - -Wno-deprecated-declarations -) -target_link_libraries(python-symbols-libc.global PUBLIC - contrib-libs-cxxsupp - yutil - python-symbols-registry -) -target_sources(python-symbols-libc.global PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/libc/syms.cpp -) |