diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /library/cpp/blockcodecs/codecs | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/blockcodecs/codecs')
18 files changed, 264 insertions, 0 deletions
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0af596c5de --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt @@ -0,0 +1,29 @@ + +# 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(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/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..fd7180543c --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0acda91a4d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c6d20bf8fc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..92e6f5f9db --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..acaf2f9e8d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..995fd58dfc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2e13dbce8c --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-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. + + +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/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..894ad9b9a8 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# 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(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 +) |