diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-11-24 13:37:43 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-11-24 14:44:06 +0300 |
commit | 2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457 (patch) | |
tree | addbbf6332d3df6d6a657d3c7b8a4159ba58be63 /library/cpp/terminate_handler | |
parent | 850c48ccf9cadbf8096c6b5015e064c38d0d912e (diff) | |
download | ydb-2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457.tar.gz |
Revert commit rXXXXXX,Add env semantic
Diffstat (limited to 'library/cpp/terminate_handler')
6 files changed, 153 insertions, 0 deletions
diff --git a/library/cpp/terminate_handler/CMakeLists.darwin-arm64.txt b/library/cpp/terminate_handler/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..050a5323bd --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.darwin-arm64.txt @@ -0,0 +1,26 @@ + +# This file was generated 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-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) diff --git a/library/cpp/terminate_handler/CMakeLists.darwin-x86_64.txt b/library/cpp/terminate_handler/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..050a5323bd --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,26 @@ + +# This file was generated 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-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) diff --git a/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt b/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..48d55d42ce --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt @@ -0,0 +1,28 @@ + +# This file was generated 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-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) diff --git a/library/cpp/terminate_handler/CMakeLists.linux-x86_64.txt b/library/cpp/terminate_handler/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..48d55d42ce --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.linux-x86_64.txt @@ -0,0 +1,28 @@ + +# This file was generated 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-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) diff --git a/library/cpp/terminate_handler/CMakeLists.txt b/library/cpp/terminate_handler/CMakeLists.txt new file mode 100644 index 0000000000..2dce3a77fe --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.txt @@ -0,0 +1,19 @@ + +# This file was generated 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_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt b/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..050a5323bd --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,26 @@ + +# This file was generated 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-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) |