diff options
| author | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 | 
|---|---|---|
| committer | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 | 
| commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
| tree | 4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/blockcodecs/codecs | |
| parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/blockcodecs/codecs')
36 files changed, 837 insertions, 174 deletions
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.txt new file mode 100644 index 00000000000..908fc0c4445 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-brotli INTERFACE) +target_link_libraries(blockcodecs-codecs-brotli INTERFACE +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli) +target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-brotli.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp +) diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..38d4a7598e1 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt @@ -0,0 +1,31 @@ + +# 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_library(blockcodecs-codecs-brotli INTERFACE) +target_link_libraries(blockcodecs-codecs-brotli INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli) +target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-brotli.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp +) diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt new file mode 100644 index 00000000000..38d4a7598e1 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt @@ -0,0 +1,31 @@ + +# 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_library(blockcodecs-codecs-brotli INTERFACE) +target_link_libraries(blockcodecs-codecs-brotli INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli) +target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-brotli.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp +) diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt index 908fc0c4445..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt @@ -6,24 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-brotli INTERFACE) -target_link_libraries(blockcodecs-codecs-brotli INTERFACE -  contrib-libs-cxxsupp -  yutil -  libs-brotli-enc -  libs-brotli-dec -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli) -target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  libs-brotli-enc -  libs-brotli-dec -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-brotli.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.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/blockcodecs/codecs/bzip/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin.txt new file mode 100644 index 00000000000..0dfce1c69c6 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-bzip INTERFACE) +target_link_libraries(blockcodecs-codecs-bzip INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip) +target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-bzip.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp +) diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..6ac7c4bd30d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-bzip INTERFACE) +target_link_libraries(blockcodecs-codecs-bzip INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip) +target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-bzip.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp +) diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt new file mode 100644 index 00000000000..6ac7c4bd30d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-bzip INTERFACE) +target_link_libraries(blockcodecs-codecs-bzip INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip) +target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-bzip.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp +) diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt index 0dfce1c69c6..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-bzip INTERFACE) -target_link_libraries(blockcodecs-codecs-bzip INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-libbz2 -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip) -target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-libbz2 -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-bzip.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.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/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt new file mode 100644 index 00000000000..42d960fe089 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-fastlz INTERFACE) +target_link_libraries(blockcodecs-codecs-fastlz INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz) +target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-fastlz.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp +) diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..7adf3fc2672 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-fastlz INTERFACE) +target_link_libraries(blockcodecs-codecs-fastlz INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz) +target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-fastlz.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp +) diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt new file mode 100644 index 00000000000..7adf3fc2672 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-fastlz INTERFACE) +target_link_libraries(blockcodecs-codecs-fastlz INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz) +target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-fastlz +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-fastlz.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp +) diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt index 42d960fe089..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-fastlz INTERFACE) -target_link_libraries(blockcodecs-codecs-fastlz INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-fastlz -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz) -target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-fastlz -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-fastlz.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.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/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt new file mode 100644 index 00000000000..783efe8d806 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-legacy_zstd06 INTERFACE) +target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06) +target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp +) diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..9964ee703cc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-legacy_zstd06 INTERFACE) +target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06) +target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp +) diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt new file mode 100644 index 00000000000..9964ee703cc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-legacy_zstd06 INTERFACE) +target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06) +target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd06 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp +) diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt index 783efe8d806..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-legacy_zstd06 INTERFACE) -target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-zstd06 -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06) -target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-zstd06 -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.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/blockcodecs/codecs/lz4/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin.txt new file mode 100644 index 00000000000..3f0a426090f --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-lz4 INTERFACE) +target_link_libraries(blockcodecs-codecs-lz4 INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4) +target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lz4.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..b85eb25074b --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-lz4 INTERFACE) +target_link_libraries(blockcodecs-codecs-lz4 INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4) +target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lz4.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt new file mode 100644 index 00000000000..b85eb25074b --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-lz4 INTERFACE) +target_link_libraries(blockcodecs-codecs-lz4 INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4) +target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lz4 +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lz4.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt index 3f0a426090f..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-lz4 INTERFACE) -target_link_libraries(blockcodecs-codecs-lz4 INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-lz4 -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4) -target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-lz4 -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-lz4.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.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/blockcodecs/codecs/lzma/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin.txt new file mode 100644 index 00000000000..3a7415f5de1 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-lzma INTERFACE) +target_link_libraries(blockcodecs-codecs-lzma INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lzma.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..68f881690df --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-lzma INTERFACE) +target_link_libraries(blockcodecs-codecs-lzma INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lzma.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt new file mode 100644 index 00000000000..68f881690df --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-lzma INTERFACE) +target_link_libraries(blockcodecs-codecs-lzma INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lzma.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt index 3a7415f5de1..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-lzma INTERFACE) -target_link_libraries(blockcodecs-codecs-lzma INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-lzmasdk -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) -target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-lzmasdk -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-lzma.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.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/blockcodecs/codecs/snappy/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin.txt new file mode 100644 index 00000000000..4da098e0015 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-snappy INTERFACE) +target_link_libraries(blockcodecs-codecs-snappy INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy) +target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-snappy.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp +) diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..dd1befc31b3 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-snappy INTERFACE) +target_link_libraries(blockcodecs-codecs-snappy INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy) +target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-snappy.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp +) diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt new file mode 100644 index 00000000000..dd1befc31b3 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-snappy INTERFACE) +target_link_libraries(blockcodecs-codecs-snappy INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy) +target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-snappy +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-snappy.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp +) diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt index 4da098e0015..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-snappy INTERFACE) -target_link_libraries(blockcodecs-codecs-snappy INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-snappy -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy) -target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-snappy -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-snappy.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.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/blockcodecs/codecs/zlib/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin.txt new file mode 100644 index 00000000000..49742a0aa92 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/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. + + +find_package(ZLIB REQUIRED) + +add_library(blockcodecs-codecs-zlib INTERFACE) +target_link_libraries(blockcodecs-codecs-zlib INTERFACE +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib) +target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zlib.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..1ed2ce0103b --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt @@ -0,0 +1,30 @@ + +# 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(ZLIB REQUIRED) + +add_library(blockcodecs-codecs-zlib INTERFACE) +target_link_libraries(blockcodecs-codecs-zlib INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib) +target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zlib.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt new file mode 100644 index 00000000000..1ed2ce0103b --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt @@ -0,0 +1,30 @@ + +# 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(ZLIB REQUIRED) + +add_library(blockcodecs-codecs-zlib INTERFACE) +target_link_libraries(blockcodecs-codecs-zlib INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib) +target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  ZLIB::ZLIB +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zlib.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt index 49742a0aa92..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt @@ -6,23 +6,10 @@  # original buildsystem will not be accepted. -find_package(ZLIB REQUIRED) - -add_library(blockcodecs-codecs-zlib INTERFACE) -target_link_libraries(blockcodecs-codecs-zlib INTERFACE -  contrib-libs-cxxsupp -  yutil -  ZLIB::ZLIB -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib) -target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  ZLIB::ZLIB -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-zlib.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.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/blockcodecs/codecs/zstd/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin.txt new file mode 100644 index 00000000000..353bd285e4f --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# 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_library(blockcodecs-codecs-zstd INTERFACE) +target_link_libraries(blockcodecs-codecs-zstd INTERFACE +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd) +target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zstd.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..ed2bef4ac5d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-zstd INTERFACE) +target_link_libraries(blockcodecs-codecs-zstd INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd) +target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zstd.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt new file mode 100644 index 00000000000..ed2bef4ac5d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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_library(blockcodecs-codecs-zstd INTERFACE) +target_link_libraries(blockcodecs-codecs-zstd INTERFACE +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd) +target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +  cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zstd.global PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt index 353bd285e4f..3e0811fb22e 100644 --- a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt @@ -6,22 +6,10 @@  # original buildsystem will not be accepted. - -add_library(blockcodecs-codecs-zstd INTERFACE) -target_link_libraries(blockcodecs-codecs-zstd INTERFACE -  contrib-libs-cxxsupp -  yutil -  contrib-libs-zstd -  cpp-blockcodecs-core -) - -add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd) -target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-zstd -  cpp-blockcodecs-core -) -target_sources(blockcodecs-codecs-zstd.global PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.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()  | 
