aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorilnaz <ilnaz@ydb.tech>2022-10-27 16:57:27 +0300
committerilnaz <ilnaz@ydb.tech>2022-10-27 16:57:27 +0300
commit7409037ca690d39e67c2601f0448c94fe3f54367 (patch)
treebe37e04846bd3df3ce39c5518492619e7675b49c /tools
parent2ab33806be812b8ef4d1260977673a64dc88d2cf (diff)
downloadydb-7409037ca690d39e67c2601f0448c94fe3f54367.tar.gz
Support aws profiles
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt1
-rw-r--r--tools/archiver/CMakeLists.darwin.txt28
-rw-r--r--tools/archiver/CMakeLists.linux-aarch64.txt32
-rw-r--r--tools/archiver/CMakeLists.linux.txt34
-rw-r--r--tools/archiver/CMakeLists.txt15
5 files changed, 110 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index b0e6ac4979..89462519db 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -6,5 +6,6 @@
# original buildsystem will not be accepted.
+add_subdirectory(archiver)
add_subdirectory(enum_parser)
add_subdirectory(rescompiler)
diff --git a/tools/archiver/CMakeLists.darwin.txt b/tools/archiver/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..2b009ca5e1
--- /dev/null
+++ b/tools/archiver/CMakeLists.darwin.txt
@@ -0,0 +1,28 @@
+
+# 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_executable(archiver)
+target_link_libraries(archiver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ library-cpp-archive
+ cpp-digest-md5
+ cpp-getopt-small
+)
+target_link_options(archiver PRIVATE
+ -Wl,-no_deduplicate
+ -Wl,-sdk_version,10.15
+ -fPIC
+ -fPIC
+)
+target_sources(archiver PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp
+)
+vcs_info(archiver)
diff --git a/tools/archiver/CMakeLists.linux-aarch64.txt b/tools/archiver/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..58061e88ce
--- /dev/null
+++ b/tools/archiver/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# 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_executable(archiver)
+target_link_libraries(archiver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lfalloc
+ library-cpp-archive
+ cpp-digest-md5
+ cpp-getopt-small
+)
+target_link_options(archiver PRIVATE
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+target_sources(archiver PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp
+)
+vcs_info(archiver)
diff --git a/tools/archiver/CMakeLists.linux.txt b/tools/archiver/CMakeLists.linux.txt
new file mode 100644
index 0000000000..df98982aea
--- /dev/null
+++ b/tools/archiver/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# 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_executable(archiver)
+target_link_libraries(archiver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-malloc-tcmalloc
+ libs-tcmalloc-no_percpu_cache
+ library-cpp-cpuid_check
+ library-cpp-archive
+ cpp-digest-md5
+ cpp-getopt-small
+)
+target_link_options(archiver PRIVATE
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+target_sources(archiver PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp
+)
+vcs_info(archiver)
diff --git a/tools/archiver/CMakeLists.txt b/tools/archiver/CMakeLists.txt
new file mode 100644
index 0000000000..3e0811fb22
--- /dev/null
+++ b/tools/archiver/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+# 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.
+
+
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()