diff options
author | reshilkin <reshilkin@yandex-team.com> | 2023-07-25 17:32:59 +0300 |
---|---|---|
committer | root <root@qavm-2ed34686.qemu> | 2023-07-25 17:32:59 +0300 |
commit | 4b24a7df4a2e15ae87c76489938287018ad62fda (patch) | |
tree | 4e55e6c7ef1d70264c548dc2b45c83afc298702f /library/cpp | |
parent | e7e4a402ea255d3d495a0c41bf07999a4066bd6a (diff) | |
download | ydb-4b24a7df4a2e15ae87c76489938287018ad62fda.tar.gz |
Add explicit sanitizer dependencies
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/CMakeLists.darwin-x86_64.txt | 1 | ||||
-rw-r--r-- | library/cpp/CMakeLists.linux-aarch64.txt | 1 | ||||
-rw-r--r-- | library/cpp/CMakeLists.linux-x86_64.txt | 1 | ||||
-rw-r--r-- | library/cpp/CMakeLists.windows-x86_64.txt | 1 | ||||
-rw-r--r-- | library/cpp/sanitizer/CMakeLists.txt | 9 | ||||
-rw-r--r-- | library/cpp/sanitizer/include/CMakeLists.darwin-x86_64.txt | 17 | ||||
-rw-r--r-- | library/cpp/sanitizer/include/CMakeLists.linux-aarch64.txt | 18 | ||||
-rw-r--r-- | library/cpp/sanitizer/include/CMakeLists.linux-x86_64.txt | 18 | ||||
-rw-r--r-- | library/cpp/sanitizer/include/CMakeLists.txt | 17 | ||||
-rw-r--r-- | library/cpp/sanitizer/include/CMakeLists.windows-x86_64.txt | 17 |
10 files changed, 100 insertions, 0 deletions
diff --git a/library/cpp/CMakeLists.darwin-x86_64.txt b/library/cpp/CMakeLists.darwin-x86_64.txt index 86cbdf3d7e0..81a8d715c00 100644 --- a/library/cpp/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/CMakeLists.darwin-x86_64.txt @@ -68,6 +68,7 @@ add_subdirectory(random_provider) add_subdirectory(regex) add_subdirectory(resource) add_subdirectory(retry) +add_subdirectory(sanitizer) add_subdirectory(scheme) add_subdirectory(sighandler) add_subdirectory(sliding_window) diff --git a/library/cpp/CMakeLists.linux-aarch64.txt b/library/cpp/CMakeLists.linux-aarch64.txt index 4f422c15bc5..5e6834dea18 100644 --- a/library/cpp/CMakeLists.linux-aarch64.txt +++ b/library/cpp/CMakeLists.linux-aarch64.txt @@ -67,6 +67,7 @@ add_subdirectory(random_provider) add_subdirectory(regex) add_subdirectory(resource) add_subdirectory(retry) +add_subdirectory(sanitizer) add_subdirectory(scheme) add_subdirectory(sighandler) add_subdirectory(sliding_window) diff --git a/library/cpp/CMakeLists.linux-x86_64.txt b/library/cpp/CMakeLists.linux-x86_64.txt index 86cbdf3d7e0..81a8d715c00 100644 --- a/library/cpp/CMakeLists.linux-x86_64.txt +++ b/library/cpp/CMakeLists.linux-x86_64.txt @@ -68,6 +68,7 @@ add_subdirectory(random_provider) add_subdirectory(regex) add_subdirectory(resource) add_subdirectory(retry) +add_subdirectory(sanitizer) add_subdirectory(scheme) add_subdirectory(sighandler) add_subdirectory(sliding_window) diff --git a/library/cpp/CMakeLists.windows-x86_64.txt b/library/cpp/CMakeLists.windows-x86_64.txt index 86cbdf3d7e0..81a8d715c00 100644 --- a/library/cpp/CMakeLists.windows-x86_64.txt +++ b/library/cpp/CMakeLists.windows-x86_64.txt @@ -68,6 +68,7 @@ add_subdirectory(random_provider) add_subdirectory(regex) add_subdirectory(resource) add_subdirectory(retry) +add_subdirectory(sanitizer) add_subdirectory(scheme) add_subdirectory(sighandler) add_subdirectory(sliding_window) diff --git a/library/cpp/sanitizer/CMakeLists.txt b/library/cpp/sanitizer/CMakeLists.txt new file mode 100644 index 00000000000..6ec5506f436 --- /dev/null +++ b/library/cpp/sanitizer/CMakeLists.txt @@ -0,0 +1,9 @@ + +# 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_subdirectory(include) diff --git a/library/cpp/sanitizer/include/CMakeLists.darwin-x86_64.txt b/library/cpp/sanitizer/include/CMakeLists.darwin-x86_64.txt new file mode 100644 index 00000000000..f10f4f47291 --- /dev/null +++ b/library/cpp/sanitizer/include/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,17 @@ + +# 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(cpp-sanitizer-include INTERFACE) +target_include_directories(cpp-sanitizer-include INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/libs/clang14-rt/include +) +target_link_libraries(cpp-sanitizer-include INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/sanitizer/include/CMakeLists.linux-aarch64.txt b/library/cpp/sanitizer/include/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..b4d9af08ae4 --- /dev/null +++ b/library/cpp/sanitizer/include/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-sanitizer-include INTERFACE) +target_include_directories(cpp-sanitizer-include INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/libs/clang14-rt/include +) +target_link_libraries(cpp-sanitizer-include INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/sanitizer/include/CMakeLists.linux-x86_64.txt b/library/cpp/sanitizer/include/CMakeLists.linux-x86_64.txt new file mode 100644 index 00000000000..b4d9af08ae4 --- /dev/null +++ b/library/cpp/sanitizer/include/CMakeLists.linux-x86_64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-sanitizer-include INTERFACE) +target_include_directories(cpp-sanitizer-include INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/libs/clang14-rt/include +) +target_link_libraries(cpp-sanitizer-include INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/sanitizer/include/CMakeLists.txt b/library/cpp/sanitizer/include/CMakeLists.txt new file mode 100644 index 00000000000..f8b31df0c11 --- /dev/null +++ b/library/cpp/sanitizer/include/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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 (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/sanitizer/include/CMakeLists.windows-x86_64.txt b/library/cpp/sanitizer/include/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..f10f4f47291 --- /dev/null +++ b/library/cpp/sanitizer/include/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# 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(cpp-sanitizer-include INTERFACE) +target_include_directories(cpp-sanitizer-include INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/libs/clang14-rt/include +) +target_link_libraries(cpp-sanitizer-include INTERFACE + contrib-libs-cxxsupp + yutil +) |