diff options
author | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
commit | b981cca279190176740c3bf5c5b4fd03be51b599 (patch) | |
tree | f5ec6210fdce0e976cbbe4dc8ae78bb6509adf49 /library/cpp/digest | |
parent | 6dc0de995652f7eeecdbdb88dc98b00bb0653a2f (diff) | |
download | ydb-b981cca279190176740c3bf5c5b4fd03be51b599.tar.gz |
Enable linux-arm platform.
Diffstat (limited to 'library/cpp/digest')
22 files changed, 362 insertions, 86 deletions
diff --git a/library/cpp/digest/argonish/CMakeLists.darwin.txt b/library/cpp/digest/argonish/CMakeLists.darwin.txt new file mode 100644 index 0000000000..617cc9aa13 --- /dev/null +++ b/library/cpp/digest/argonish/CMakeLists.darwin.txt @@ -0,0 +1,24 @@ + +# 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_subdirectory(internal) + +add_library(cpp-digest-argonish) +target_link_libraries(cpp-digest-argonish PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-poor_man_openmp + internal-proxies-avx2 + internal-proxies-ref + internal-proxies-sse2 + internal-proxies-sse41 + internal-proxies-ssse3 +) +target_sources(cpp-digest-argonish PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.cpp +) diff --git a/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..8e26c0e02b --- /dev/null +++ b/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt @@ -0,0 +1,20 @@ + +# 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_subdirectory(internal) + +add_library(cpp-digest-argonish) +target_link_libraries(cpp-digest-argonish PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-poor_man_openmp + internal-proxies-ref +) +target_sources(cpp-digest-argonish PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.cpp +) diff --git a/library/cpp/digest/argonish/CMakeLists.linux.txt b/library/cpp/digest/argonish/CMakeLists.linux.txt new file mode 100644 index 0000000000..617cc9aa13 --- /dev/null +++ b/library/cpp/digest/argonish/CMakeLists.linux.txt @@ -0,0 +1,24 @@ + +# 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_subdirectory(internal) + +add_library(cpp-digest-argonish) +target_link_libraries(cpp-digest-argonish PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-poor_man_openmp + internal-proxies-avx2 + internal-proxies-ref + internal-proxies-sse2 + internal-proxies-sse41 + internal-proxies-ssse3 +) +target_sources(cpp-digest-argonish PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.cpp +) diff --git a/library/cpp/digest/argonish/CMakeLists.txt b/library/cpp/digest/argonish/CMakeLists.txt index 617cc9aa13..3e0811fb22 100644 --- a/library/cpp/digest/argonish/CMakeLists.txt +++ b/library/cpp/digest/argonish/CMakeLists.txt @@ -6,19 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(internal) - -add_library(cpp-digest-argonish) -target_link_libraries(cpp-digest-argonish PUBLIC - contrib-libs-cxxsupp - yutil - cpp-threading-poor_man_openmp - internal-proxies-avx2 - internal-proxies-ref - internal-proxies-sse2 - internal-proxies-sse41 - internal-proxies-ssse3 -) -target_sources(cpp-digest-argonish PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.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/digest/argonish/internal/proxies/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.darwin.txt new file mode 100644 index 0000000000..4ea0d5c2d9 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.darwin.txt @@ -0,0 +1,14 @@ + +# 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_subdirectory(avx2) +add_subdirectory(macro) +add_subdirectory(ref) +add_subdirectory(sse2) +add_subdirectory(sse41) +add_subdirectory(ssse3) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..9ed3a427f3 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux-aarch64.txt @@ -0,0 +1,10 @@ + +# 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_subdirectory(macro) +add_subdirectory(ref) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux.txt new file mode 100644 index 0000000000..4ea0d5c2d9 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.linux.txt @@ -0,0 +1,14 @@ + +# 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_subdirectory(avx2) +add_subdirectory(macro) +add_subdirectory(ref) +add_subdirectory(sse2) +add_subdirectory(sse41) +add_subdirectory(ssse3) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt index 4ea0d5c2d9..3e0811fb22 100644 --- a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt @@ -6,9 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(avx2) -add_subdirectory(macro) -add_subdirectory(ref) -add_subdirectory(sse2) -add_subdirectory(sse41) -add_subdirectory(ssse3) +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/digest/argonish/internal/proxies/avx2/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.darwin.txt new file mode 100644 index 0000000000..4b8bb68b72 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.darwin.txt @@ -0,0 +1,26 @@ + +# 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(internal-proxies-avx2) +target_link_libraries(internal-proxies-avx2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-avx2 + .avx2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp + CUSTOM_FLAGS + -mavx2 + -mfma + -mbmi + -mbmi2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt new file mode 100644 index 0000000000..4b8bb68b72 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt @@ -0,0 +1,26 @@ + +# 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(internal-proxies-avx2) +target_link_libraries(internal-proxies-avx2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-avx2 + .avx2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp + CUSTOM_FLAGS + -mavx2 + -mfma + -mbmi + -mbmi2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt index 4b8bb68b72..79468a5d8d 100644 --- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt @@ -6,21 +6,8 @@ # original buildsystem will not be accepted. - -add_library(internal-proxies-avx2) -target_link_libraries(internal-proxies-avx2 PUBLIC - contrib-libs-cxxsupp - internal-proxies-macro - argonish-internal-argon2 - argonish-internal-blake2b -) -target_sources_custom(internal-proxies-avx2 - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) +if (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/digest/argonish/internal/proxies/sse2/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.darwin.txt new file mode 100644 index 0000000000..353f9e487e --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse2) +target_link_libraries(internal-proxies-sse2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse2 + .sse2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp + CUSTOM_FLAGS + -msse2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt new file mode 100644 index 0000000000..353f9e487e --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse2) +target_link_libraries(internal-proxies-sse2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse2 + .sse2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp + CUSTOM_FLAGS + -msse2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt index 353f9e487e..79468a5d8d 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt @@ -6,18 +6,8 @@ # original buildsystem will not be accepted. - -add_library(internal-proxies-sse2) -target_link_libraries(internal-proxies-sse2 PUBLIC - contrib-libs-cxxsupp - internal-proxies-macro - argonish-internal-argon2 - argonish-internal-blake2b -) -target_sources_custom(internal-proxies-sse2 - .sse2 - SRCS - ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp - CUSTOM_FLAGS - -msse2 -) +if (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/digest/argonish/internal/proxies/sse41/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.darwin.txt new file mode 100644 index 0000000000..004aaa1e52 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse41) +target_link_libraries(internal-proxies-sse41 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse41 + .sse41 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp + CUSTOM_FLAGS + -msse4.1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt new file mode 100644 index 0000000000..004aaa1e52 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse41) +target_link_libraries(internal-proxies-sse41 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse41 + .sse41 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp + CUSTOM_FLAGS + -msse4.1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt index 004aaa1e52..79468a5d8d 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt @@ -6,18 +6,8 @@ # original buildsystem will not be accepted. - -add_library(internal-proxies-sse41) -target_link_libraries(internal-proxies-sse41 PUBLIC - contrib-libs-cxxsupp - internal-proxies-macro - argonish-internal-argon2 - argonish-internal-blake2b -) -target_sources_custom(internal-proxies-sse41 - .sse41 - SRCS - ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp - CUSTOM_FLAGS - -msse4.1 -) +if (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/digest/argonish/internal/proxies/ssse3/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.darwin.txt new file mode 100644 index 0000000000..1a30e0e974 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-ssse3) +target_link_libraries(internal-proxies-ssse3 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-ssse3 + .ssse3 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp + CUSTOM_FLAGS + -mssse3 +) diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt new file mode 100644 index 0000000000..1a30e0e974 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-ssse3) +target_link_libraries(internal-proxies-ssse3 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-ssse3 + .ssse3 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp + CUSTOM_FLAGS + -mssse3 +) diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt index 1a30e0e974..79468a5d8d 100644 --- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt @@ -6,18 +6,8 @@ # original buildsystem will not be accepted. - -add_library(internal-proxies-ssse3) -target_link_libraries(internal-proxies-ssse3 PUBLIC - contrib-libs-cxxsupp - internal-proxies-macro - argonish-internal-argon2 - argonish-internal-blake2b -) -target_sources_custom(internal-proxies-ssse3 - .ssse3 - SRCS - ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp - CUSTOM_FLAGS - -mssse3 -) +if (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/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..592c03d0be --- /dev/null +++ b/library/cpp/digest/old_crc/gencrc/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_executable(gencrc) +target_link_libraries(gencrc PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc +) +target_link_options(gencrc PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) +vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -6,7 +6,9 @@ # original buildsystem will not be accepted. -if (APPLE) +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) |