aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/openssl
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/openssl
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/openssl')
-rw-r--r--library/cpp/openssl/holders/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/openssl/holders/CMakeLists.linux.txt21
-rw-r--r--library/cpp/openssl/holders/CMakeLists.txt19
-rw-r--r--library/cpp/openssl/init/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/openssl/init/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/openssl/init/CMakeLists.linux.txt20
-rw-r--r--library/cpp/openssl/init/CMakeLists.txt18
-rw-r--r--library/cpp/openssl/io/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/openssl/io/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/openssl/io/CMakeLists.linux.txt23
-rw-r--r--library/cpp/openssl/io/CMakeLists.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/openssl/method/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.linux.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.txt19
16 files changed, 279 insertions, 49 deletions
diff --git a/library/cpp/openssl/holders/CMakeLists.darwin.txt b/library/cpp/openssl/holders/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..90f445a87b
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.darwin.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8352c8c11d
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.linux.txt b/library/cpp/openssl/holders/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8352c8c11d
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt
index 90f445a87b..3e0811fb22 100644
--- a/library/cpp/openssl/holders/CMakeLists.txt
+++ b/library/cpp/openssl/holders/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-holders)
-target_link_libraries(cpp-openssl-holders PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
-)
-target_sources(cpp-openssl-holders PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
-)
+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()
diff --git a/library/cpp/openssl/init/CMakeLists.darwin.txt b/library/cpp/openssl/init/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6049df14dc
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.darwin.txt
@@ -0,0 +1,19 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/init/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..acd1cea691
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.linux-aarch64.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.linux.txt b/library/cpp/openssl/init/CMakeLists.linux.txt
new file mode 100644
index 0000000000..acd1cea691
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.linux.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt
index 6049df14dc..3e0811fb22 100644
--- a/library/cpp/openssl/init/CMakeLists.txt
+++ b/library/cpp/openssl/init/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-init)
-target_link_libraries(cpp-openssl-init PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
-)
-target_sources(cpp-openssl-init PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
-)
+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()
diff --git a/library/cpp/openssl/io/CMakeLists.darwin.txt b/library/cpp/openssl/io/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..42f1810dab
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/io/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c87fe246d0
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,23 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.linux.txt b/library/cpp/openssl/io/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c87fe246d0
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.linux.txt
@@ -0,0 +1,23 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt
index 42f1810dab..3e0811fb22 100644
--- a/library/cpp/openssl/io/CMakeLists.txt
+++ b/library/cpp/openssl/io/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-io)
-target_link_libraries(cpp-openssl-io PUBLIC
- contrib-libs-cxxsupp
- yutil
- certs
- OpenSSL::OpenSSL
- cpp-openssl-init
- cpp-openssl-method
-)
-target_sources(cpp-openssl-io PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
-)
+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()
diff --git a/library/cpp/openssl/method/CMakeLists.darwin.txt b/library/cpp/openssl/method/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..81ee4aeeca
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.darwin.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ce67321420
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.linux.txt b/library/cpp/openssl/method/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ce67321420
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt
index 81ee4aeeca..3e0811fb22 100644
--- a/library/cpp/openssl/method/CMakeLists.txt
+++ b/library/cpp/openssl/method/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-method)
-target_link_libraries(cpp-openssl-method PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
- cpp-openssl-holders
-)
-target_sources(cpp-openssl-method PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
-)
+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()