diff options
author | dcherednik <dcherednik@ydb.tech> | 2023-11-20 13:23:37 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2023-11-20 14:34:20 +0300 |
commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /library/cpp/blockcodecs/codecs | |
parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
download | ydb-ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6.tar.gz |
add darwin-arm64 CMakeLists
Diffstat (limited to 'library/cpp/blockcodecs/codecs')
18 files changed, 263 insertions, 0 deletions
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0af596c5de --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin-arm64.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/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..fd7180543c --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin-arm64.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/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0acda91a4d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin-arm64.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/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c6d20bf8fc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin-arm64.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/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt index f8b31df0c1..2dce3a77fe 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_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..92e6f5f9db --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin-arm64.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/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..acaf2f9e8d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-arm64.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/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..995fd58dfc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin-arm64.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/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..41f29397bc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin-arm64.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-zlib INTERFACE) +target_link_libraries(blockcodecs-codecs-zlib INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-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 + contrib-libs-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 f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin-arm64.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..894ad9b9a8 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin-arm64.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 +) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc 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) |