aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tdigest
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-06 16:56:18 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-06 16:56:18 +0300
commitcbc0c479c131a1e63ca86fe98b031e1bcac725d8 (patch)
tree12245a82da1c7f54d54befcfb7706643e8166505 /library/cpp/tdigest
parentea8e336dc456c44b848619e120a8f3643c6125af (diff)
downloadydb-cbc0c479c131a1e63ca86fe98b031e1bcac725d8.tar.gz
External build system generator release 17
Update tools: yexport
Diffstat (limited to 'library/cpp/tdigest')
-rw-r--r--library/cpp/tdigest/CMakeLists.darwin.txt12
-rw-r--r--library/cpp/tdigest/CMakeLists.linux-aarch64.txt12
-rw-r--r--library/cpp/tdigest/CMakeLists.linux.txt12
-rw-r--r--library/cpp/tdigest/CMakeLists.txt2
4 files changed, 37 insertions, 1 deletions
diff --git a/library/cpp/tdigest/CMakeLists.darwin.txt b/library/cpp/tdigest/CMakeLists.darwin.txt
index e373216898..9dd7437db0 100644
--- a/library/cpp/tdigest/CMakeLists.darwin.txt
+++ b/library/cpp/tdigest/CMakeLists.darwin.txt
@@ -6,6 +6,18 @@
# original buildsystem will not be accepted.
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(library-cpp-tdigest)
target_link_libraries(library-cpp-tdigest PUBLIC
diff --git a/library/cpp/tdigest/CMakeLists.linux-aarch64.txt b/library/cpp/tdigest/CMakeLists.linux-aarch64.txt
index 08977c85c0..2fdc4b7b12 100644
--- a/library/cpp/tdigest/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/tdigest/CMakeLists.linux-aarch64.txt
@@ -6,6 +6,18 @@
# original buildsystem will not be accepted.
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(library-cpp-tdigest)
target_link_libraries(library-cpp-tdigest PUBLIC
diff --git a/library/cpp/tdigest/CMakeLists.linux.txt b/library/cpp/tdigest/CMakeLists.linux.txt
index 08977c85c0..2fdc4b7b12 100644
--- a/library/cpp/tdigest/CMakeLists.linux.txt
+++ b/library/cpp/tdigest/CMakeLists.linux.txt
@@ -6,6 +6,18 @@
# original buildsystem will not be accepted.
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(library-cpp-tdigest)
target_link_libraries(library-cpp-tdigest PUBLIC
diff --git a/library/cpp/tdigest/CMakeLists.txt b/library/cpp/tdigest/CMakeLists.txt
index 5bb4faffb4..eee324bb60 100644
--- a/library/cpp/tdigest/CMakeLists.txt
+++ b/library/cpp/tdigest/CMakeLists.txt
@@ -10,6 +10,6 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND
include(CMakeLists.linux-aarch64.txt)
elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin.txt)
-elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA)
include(CMakeLists.linux.txt)
endif()