aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-01 20:45:28 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-01 20:45:28 +0300
commitc71dfbc7a152b6f951bca559dcfa23af6d3952a3 (patch)
treefe52870e806f35cce8853bd4a0e0b6ec3619bf10 /library/cpp
parent05995d9c65035b08087f9971beea7a009b2b1872 (diff)
downloadydb-c71dfbc7a152b6f951bca559dcfa23af6d3952a3.tar.gz
intermediate changes
ref:1bd5d52142d3b1cd797d1dcc1dc7c82ea4a091be
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/accurate_accumulate/CMakeLists.txt17
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.txt4
-rw-r--r--library/cpp/lfalloc/CMakeLists.txt17
-rw-r--r--library/cpp/linear_regression/CMakeLists.txt20
-rw-r--r--library/cpp/testing/benchmark/CMakeLists.txt24
-rw-r--r--library/cpp/testing/benchmark/main/CMakeLists.txt25
-rw-r--r--library/cpp/threading/skip_list/CMakeLists.txt17
7 files changed, 121 insertions, 3 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/cpp/testing/benchmark/main/CMakeLists.txt b/library/cpp/testing/benchmark/main/CMakeLists.txt
new file mode 100644
index 0000000000..3a0ffe9241
--- /dev/null
+++ b/library/cpp/testing/benchmark/main/CMakeLists.txt
@@ -0,0 +1,25 @@
+
+# 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(testing-benchmark-main INTERFACE)
+target_link_libraries(testing-benchmark-main INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+
+add_global_library_for(testing-benchmark-main.global testing-benchmark-main)
+target_link_libraries(testing-benchmark-main.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+target_sources(testing-benchmark-main.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp
+)
diff --git a/library/cpp/threading/skip_list/CMakeLists.txt b/library/cpp/threading/skip_list/CMakeLists.txt
new file mode 100644
index 0000000000..31a28bc9f0
--- /dev/null
+++ b/library/cpp/threading/skip_list/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(cpp-threading-skip_list)
+target_link_libraries(cpp-threading-skip_list PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-skip_list PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp
+)