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 /contrib/libs | |
parent | 6dc0de995652f7eeecdbdb88dc98b00bb0653a2f (diff) | |
download | ydb-b981cca279190176740c3bf5c5b4fd03be51b599.tar.gz |
Enable linux-arm platform.
Diffstat (limited to 'contrib/libs')
101 files changed, 7246 insertions, 1753 deletions
diff --git a/contrib/libs/base64/avx2/CMakeLists.darwin.txt b/contrib/libs/base64/avx2/CMakeLists.darwin.txt new file mode 100644 index 0000000000..085333714b --- /dev/null +++ b/contrib/libs/base64/avx2/CMakeLists.darwin.txt @@ -0,0 +1,35 @@ + +# 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(libs-base64-avx2) +target_link_libraries(libs-base64-avx2 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mavx2 + -std=c11 +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mavx2 + -std=c11 +) diff --git a/contrib/libs/base64/avx2/CMakeLists.linux-aarch64.txt b/contrib/libs/base64/avx2/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..3270033f63 --- /dev/null +++ b/contrib/libs/base64/avx2/CMakeLists.linux-aarch64.txt @@ -0,0 +1,17 @@ + +# 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(libs-base64-avx2) +target_link_libraries(libs-base64-avx2 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c +) diff --git a/contrib/libs/base64/avx2/CMakeLists.linux.txt b/contrib/libs/base64/avx2/CMakeLists.linux.txt new file mode 100644 index 0000000000..085333714b --- /dev/null +++ b/contrib/libs/base64/avx2/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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(libs-base64-avx2) +target_link_libraries(libs-base64-avx2 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mavx2 + -std=c11 +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mavx2 + -std=c11 +) diff --git a/contrib/libs/base64/avx2/CMakeLists.txt b/contrib/libs/base64/avx2/CMakeLists.txt index 085333714b..3e0811fb22 100644 --- a/contrib/libs/base64/avx2/CMakeLists.txt +++ b/contrib/libs/base64/avx2/CMakeLists.txt @@ -6,30 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-base64-avx2) -target_link_libraries(libs-base64-avx2 PUBLIC - contrib-libs-cxxsupp -) -target_sources(libs-base64-avx2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c -) -set_property( - SOURCE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c - APPEND - PROPERTY - COMPILE_OPTIONS - -mavx2 - -std=c11 -) -set_property( - SOURCE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c - APPEND - PROPERTY - COMPILE_OPTIONS - -mavx2 - -std=c11 -) +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/contrib/libs/base64/neon64/CMakeLists.darwin.txt b/contrib/libs/base64/neon64/CMakeLists.darwin.txt new file mode 100644 index 0000000000..0f8d09e758 --- /dev/null +++ b/contrib/libs/base64/neon64/CMakeLists.darwin.txt @@ -0,0 +1,17 @@ + +# 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(libs-base64-neon64) +target_link_libraries(libs-base64-neon64 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-neon64 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c +) diff --git a/contrib/libs/base64/neon64/CMakeLists.linux-aarch64.txt b/contrib/libs/base64/neon64/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..fc66af243b --- /dev/null +++ b/contrib/libs/base64/neon64/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# 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(libs-base64-neon64) +target_link_libraries(libs-base64-neon64 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-neon64 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c + APPEND + PROPERTY + COMPILE_OPTIONS + -march=armv8-a + -std=c11 +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c + APPEND + PROPERTY + COMPILE_OPTIONS + -march=armv8-a + -std=c11 +) diff --git a/contrib/libs/base64/neon64/CMakeLists.linux.txt b/contrib/libs/base64/neon64/CMakeLists.linux.txt new file mode 100644 index 0000000000..0f8d09e758 --- /dev/null +++ b/contrib/libs/base64/neon64/CMakeLists.linux.txt @@ -0,0 +1,17 @@ + +# 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(libs-base64-neon64) +target_link_libraries(libs-base64-neon64 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-neon64 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c +) diff --git a/contrib/libs/base64/neon64/CMakeLists.txt b/contrib/libs/base64/neon64/CMakeLists.txt index 0f8d09e758..3e0811fb22 100644 --- a/contrib/libs/base64/neon64/CMakeLists.txt +++ b/contrib/libs/base64/neon64/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-base64-neon64) -target_link_libraries(libs-base64-neon64 PUBLIC - contrib-libs-cxxsupp -) -target_sources(libs-base64-neon64 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c -) +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/contrib/libs/base64/ssse3/CMakeLists.darwin.txt b/contrib/libs/base64/ssse3/CMakeLists.darwin.txt new file mode 100644 index 0000000000..b8150d469c --- /dev/null +++ b/contrib/libs/base64/ssse3/CMakeLists.darwin.txt @@ -0,0 +1,35 @@ + +# 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(libs-base64-ssse3) +target_link_libraries(libs-base64-ssse3 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-ssse3 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mssse3 + -std=c11 +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mssse3 + -std=c11 +) diff --git a/contrib/libs/base64/ssse3/CMakeLists.linux-aarch64.txt b/contrib/libs/base64/ssse3/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..dc101b6932 --- /dev/null +++ b/contrib/libs/base64/ssse3/CMakeLists.linux-aarch64.txt @@ -0,0 +1,17 @@ + +# 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(libs-base64-ssse3) +target_link_libraries(libs-base64-ssse3 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-ssse3 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c +) diff --git a/contrib/libs/base64/ssse3/CMakeLists.linux.txt b/contrib/libs/base64/ssse3/CMakeLists.linux.txt new file mode 100644 index 0000000000..b8150d469c --- /dev/null +++ b/contrib/libs/base64/ssse3/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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(libs-base64-ssse3) +target_link_libraries(libs-base64-ssse3 PUBLIC + contrib-libs-cxxsupp +) +target_sources(libs-base64-ssse3 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mssse3 + -std=c11 +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c + APPEND + PROPERTY + COMPILE_OPTIONS + -mssse3 + -std=c11 +) diff --git a/contrib/libs/base64/ssse3/CMakeLists.txt b/contrib/libs/base64/ssse3/CMakeLists.txt index b8150d469c..3e0811fb22 100644 --- a/contrib/libs/base64/ssse3/CMakeLists.txt +++ b/contrib/libs/base64/ssse3/CMakeLists.txt @@ -6,30 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-base64-ssse3) -target_link_libraries(libs-base64-ssse3 PUBLIC - contrib-libs-cxxsupp -) -target_sources(libs-base64-ssse3 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c -) -set_property( - SOURCE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/codec_ssse3.c - APPEND - PROPERTY - COMPILE_OPTIONS - -mssse3 - -std=c11 -) -set_property( - SOURCE - ${CMAKE_SOURCE_DIR}/contrib/libs/base64/ssse3/lib.c - APPEND - PROPERTY - COMPILE_OPTIONS - -mssse3 - -std=c11 -) +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/contrib/libs/cctz/CMakeLists.linux-aarch64.txt b/contrib/libs/cctz/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..01e6420897 --- /dev/null +++ b/contrib/libs/cctz/CMakeLists.linux-aarch64.txt @@ -0,0 +1,32 @@ + +# 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(tzdata) + +add_library(contrib-libs-cctz) +target_compile_options(contrib-libs-cctz PRIVATE + -Wno-everything +) +target_include_directories(contrib-libs-cctz PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include +) +target_link_libraries(contrib-libs-cctz PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-cctz PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/civil_time_detail.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/zone_info_source.cc +) diff --git a/contrib/libs/cctz/CMakeLists.txt b/contrib/libs/cctz/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/cctz/CMakeLists.txt +++ b/contrib/libs/cctz/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) diff --git a/contrib/libs/crcutil/CMakeLists.darwin.txt b/contrib/libs/crcutil/CMakeLists.darwin.txt new file mode 100644 index 0000000000..4d458c863d --- /dev/null +++ b/contrib/libs/crcutil/CMakeLists.darwin.txt @@ -0,0 +1,34 @@ + +# 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(contrib-libs-crcutil) +target_compile_options(contrib-libs-crcutil PRIVATE + -DCRCUTIL_USE_MM_CRC32=1 + -Wno-everything +) +target_link_libraries(contrib-libs-crcutil PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-crcutil PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_128_64_gcc_amd64_sse2.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_amd64_asm.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc +) +target_sources_custom(contrib-libs-crcutil + .sse4 + SRCS + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/crc32c_sse4.cc + CUSTOM_FLAGS + -msse4.1 + -msse4.2 + -mpopcnt + -mcx16 +) diff --git a/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt b/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..78fc1df27f --- /dev/null +++ b/contrib/libs/crcutil/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_library(contrib-libs-crcutil) +target_compile_options(contrib-libs-crcutil PRIVATE + -Wno-everything +) +target_link_libraries(contrib-libs-crcutil PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-crcutil PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc +) diff --git a/contrib/libs/crcutil/CMakeLists.linux.txt b/contrib/libs/crcutil/CMakeLists.linux.txt new file mode 100644 index 0000000000..4d458c863d --- /dev/null +++ b/contrib/libs/crcutil/CMakeLists.linux.txt @@ -0,0 +1,34 @@ + +# 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(contrib-libs-crcutil) +target_compile_options(contrib-libs-crcutil PRIVATE + -DCRCUTIL_USE_MM_CRC32=1 + -Wno-everything +) +target_link_libraries(contrib-libs-crcutil PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-crcutil PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_128_64_gcc_amd64_sse2.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_amd64_asm.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc +) +target_sources_custom(contrib-libs-crcutil + .sse4 + SRCS + ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/crc32c_sse4.cc + CUSTOM_FLAGS + -msse4.1 + -msse4.2 + -mpopcnt + -mcx16 +) diff --git a/contrib/libs/crcutil/CMakeLists.txt b/contrib/libs/crcutil/CMakeLists.txt index 4d458c863d..3e0811fb22 100644 --- a/contrib/libs/crcutil/CMakeLists.txt +++ b/contrib/libs/crcutil/CMakeLists.txt @@ -6,29 +6,10 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-crcutil) -target_compile_options(contrib-libs-crcutil PRIVATE - -DCRCUTIL_USE_MM_CRC32=1 - -Wno-everything -) -target_link_libraries(contrib-libs-crcutil PUBLIC - contrib-libs-cxxsupp -) -target_sources(contrib-libs-crcutil PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_128_64_gcc_amd64_sse2.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_amd64_asm.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc -) -target_sources_custom(contrib-libs-crcutil - .sse4 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/crc32c_sse4.cc - CUSTOM_FLAGS - -msse4.1 - -msse4.2 - -mpopcnt - -mcx16 -) +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/contrib/libs/curl/CMakeLists.linux-aarch64.txt b/contrib/libs/curl/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..02e21e69af --- /dev/null +++ b/contrib/libs/curl/CMakeLists.linux-aarch64.txt @@ -0,0 +1,189 @@ + +# 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(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) +find_package(c-ares REQUIRED) + +add_library(contrib-libs-curl) +target_compile_options(contrib-libs-curl PUBLIC + -DCURL_STATICLIB +) +target_compile_options(contrib-libs-curl PRIVATE + -DBUILDING_LIBCURL + -DHAVE_CONFIG_H + -DARCADIA_CURL_DNS_RESOLVER_ARES + -Wno-everything +) +target_include_directories(contrib-libs-curl PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/include +) +target_include_directories(contrib-libs-curl PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib +) +target_link_libraries(contrib-libs-curl PUBLIC + contrib-libs-libc_compat + OpenSSL::OpenSSL + ZLIB::ZLIB + contrib-libs-nghttp2 + c-ares::c-ares +) +target_sources(contrib-libs-curl PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/altsvc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/amigaos.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-ares.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-thread.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/base64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/bufref.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/c-hyper.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/conncache.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/connect.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/content_encoding.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/cookie.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_addrinfo.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ctype.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_des.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_endian.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_fnmatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_get_line.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gethostname.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gssapi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_memrchr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_multibyte.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_core.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_wb.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_path.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_range.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_rtmp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sasl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_threads.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/doh.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dotdot.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dynbuf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easygetopt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easyoptions.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/escape.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/file.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/fileinfo.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/fopen.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/formdata.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftplistparser.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getenv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getinfo.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/gopher.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/h2h3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hash.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/headers.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hmac.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostasyn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip4.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip6.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostsyn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hsts.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_aws_sigv4.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_chunks.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_digest.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_negotiate.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_ntlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_proxy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/idn_win32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/if2ip.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/imap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_ntop.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_pton.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/krb5.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ldap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/llist.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md4.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md5.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/memdebug.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mprintf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mqtt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/multi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/netrc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/nonblock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/openldap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/parsedate.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pingpong.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pop3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/progress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/psl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rand.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rename.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rtsp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/select.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sendf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/setopt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sha256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/share.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/slist.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smb.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smtp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socketpair.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_gssapi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/speedcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/splay.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strcase.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strdup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strerror.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtok.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtoofft.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/system_win32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/telnet.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/tftp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/timediff.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/timeval.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/transfer.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/url.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/urlapi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cleartext.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cram.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/gsasl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_gssapi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/oauth2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_gssapi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_sspi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/vauth.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version_win32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/msh3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/ngtcp2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/quiche.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/vquic.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/wolfssh.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/bearssl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/hostcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/keylog.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/mbedtls_threadlock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/openssl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/rustls.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/sectransp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/vtls.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/wolfssl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/x509asn1.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/warnless.c + ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/wildcard.c +) diff --git a/contrib/libs/curl/CMakeLists.txt b/contrib/libs/curl/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/curl/CMakeLists.txt +++ b/contrib/libs/curl/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) diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d2753ebe29 --- /dev/null +++ b/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt @@ -0,0 +1,62 @@ + +# 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(libs-cxxsupp-builtins) +target_compile_options(libs-cxxsupp-builtins PRIVATE + -Wno-everything +) +target_sources(libs-cxxsupp-builtins PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/clzti2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/comparetf2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divdc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divsc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divtf3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divxc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extenddftf2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extendsftf2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixdfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixsfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfdi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfsi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsdfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunssfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfdi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfsi.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsxfti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatditf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatsitf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattidf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattisf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunditf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunsitf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntidf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntisf.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/gcc_personality_v0.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/int_util.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/lshrti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/modti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muldc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muloti4.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulsc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/multf3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulxc3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/popcountdi2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/subtf3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfdf2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfsf2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivmodti4.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/umodti3.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/clear_cache.c + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/multc3.c +) diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/cxxsupp/builtins/CMakeLists.txt +++ b/contrib/libs/cxxsupp/builtins/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) diff --git a/contrib/libs/cxxsupp/builtins/clear_cache.c b/contrib/libs/cxxsupp/builtins/clear_cache.c new file mode 100644 index 0000000000..8eec068939 --- /dev/null +++ b/contrib/libs/cxxsupp/builtins/clear_cache.c @@ -0,0 +1,159 @@ +/* ===-- clear_cache.c - Implement __clear_cache ---------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is dual licensed under the MIT and the University of Illinois Open + * Source Licenses. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + */ + +#include "int_lib.h" +#include <stddef.h> + +#if __APPLE__ + #include <libkern/OSCacheControl.h> +#endif +#if (defined(__FreeBSD__) || defined(__Bitrig__)) && defined(__arm__) + #include <sys/types.h> + #include <machine/sysarch.h> +#endif + +#if defined(__NetBSD__) && defined(__arm__) + #include <machine/sysarch.h> +#endif + +#if defined(__mips__) + #include <sys/cachectl.h> + #include <sys/syscall.h> + #include <unistd.h> + #if defined(__ANDROID__) && defined(__LP64__) + /* + * clear_mips_cache - Invalidates instruction cache for Mips. + */ + static void clear_mips_cache(const void* Addr, size_t Size) { + asm volatile ( + ".set push\n" + ".set noreorder\n" + ".set noat\n" + "beq %[Size], $zero, 20f\n" /* If size == 0, branch around. */ + "nop\n" + "daddu %[Size], %[Addr], %[Size]\n" /* Calculate end address + 1 */ + "rdhwr $v0, $1\n" /* Get step size for SYNCI. + $1 is $HW_SYNCI_Step */ + "beq $v0, $zero, 20f\n" /* If no caches require + synchronization, branch + around. */ + "nop\n" + "10:\n" + "synci 0(%[Addr])\n" /* Synchronize all caches around + address. */ + "daddu %[Addr], %[Addr], $v0\n" /* Add step size. */ + "sltu $at, %[Addr], %[Size]\n" /* Compare current with end + address. */ + "bne $at, $zero, 10b\n" /* Branch if more to do. */ + "nop\n" + "sync\n" /* Clear memory hazards. */ + "20:\n" + "bal 30f\n" + "nop\n" + "30:\n" + "daddiu $ra, $ra, 12\n" /* $ra has a value of $pc here. + Add offset of 12 to point to the + instruction after the last nop. + */ + "jr.hb $ra\n" /* Return, clearing instruction + hazards. */ + "nop\n" + ".set pop\n" + : [Addr] "+r"(Addr), [Size] "+r"(Size) + :: "at", "ra", "v0", "memory" + ); + } + #endif +#endif + +#if defined(__ANDROID__) && defined(__arm__) + #include <asm/unistd.h> +#endif + +/* + * The compiler generates calls to __clear_cache() when creating + * trampoline functions on the stack for use with nested functions. + * It is expected to invalidate the instruction cache for the + * specified range. + */ + +void __clear_cache(void *start, void *end) { +#if __i386__ || __x86_64__ +/* + * Intel processors have a unified instruction and data cache + * so there is nothing to do + */ +#elif defined(__arm__) && !defined(__APPLE__) + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__Bitrig__) + struct arm_sync_icache_args arg; + + arg.addr = (uintptr_t)start; + arg.len = (uintptr_t)end - (uintptr_t)start; + + sysarch(ARM_SYNC_ICACHE, &arg); + #elif defined(__ANDROID__) + int start_reg __asm("r0") = (int) (intptr_t) start; + const register int end_reg __asm("r1") = (int) (intptr_t) end; + const register int flags __asm("r2") = 0; + const register int syscall_nr __asm("r7") = __ARM_NR_cacheflush; + __asm __volatile("svc 0x0" : "=r"(start_reg) + : "r"(syscall_nr), "r"(start_reg), "r"(end_reg), "r"(flags) : "r0"); + if (start_reg != 0) { + compilerrt_abort(); + } + #else + compilerrt_abort(); + #endif +#elif defined(__mips__) + const uintptr_t start_int = (uintptr_t) start; + const uintptr_t end_int = (uintptr_t) end; + #if defined(__ANDROID__) && defined(__LP64__) + // Call synci implementation for short address range. + const uintptr_t address_range_limit = 256; + if ((end_int - start_int) <= address_range_limit) { + clear_mips_cache(start, (end_int - start_int)); + } else { + syscall(__NR_cacheflush, start, (end_int - start_int), BCACHE); + } + #else + syscall(__NR_cacheflush, start, (end_int - start_int), BCACHE); + #endif +#elif defined(__aarch64__) && !defined(__APPLE__) + uint64_t xstart = (uint64_t)(uintptr_t) start; + uint64_t xend = (uint64_t)(uintptr_t) end; + uint64_t addr; + + // Get Cache Type Info + uint64_t ctr_el0; + __asm __volatile("mrs %0, ctr_el0" : "=r"(ctr_el0)); + + /* + * dc & ic instructions must use 64bit registers so we don't use + * uintptr_t in case this runs in an IPL32 environment. + */ + const size_t dcache_line_size = 4 << ((ctr_el0 >> 16) & 15); + for (addr = xstart; addr < xend; addr += dcache_line_size) + __asm __volatile("dc cvau, %0" :: "r"(addr)); + __asm __volatile("dsb ish"); + + const size_t icache_line_size = 4 << ((ctr_el0 >> 0) & 15); + for (addr = xstart; addr < xend; addr += icache_line_size) + __asm __volatile("ic ivau, %0" :: "r"(addr)); + __asm __volatile("isb sy"); +#else + #if __APPLE__ + /* On Darwin, sys_icache_invalidate() provides this functionality */ + sys_icache_invalidate(start, end-start); + #else + compilerrt_abort(); + #endif +#endif +} + diff --git a/contrib/libs/cxxsupp/builtins/multc3.c b/contrib/libs/cxxsupp/builtins/multc3.c new file mode 100644 index 0000000000..0518bc2569 --- /dev/null +++ b/contrib/libs/cxxsupp/builtins/multc3.c @@ -0,0 +1,68 @@ +/* ===-- multc3.c - Implement __multc3 -------------------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is dual licensed under the MIT and the University of Illinois Open + * Source Licenses. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __multc3 for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ + +#include "int_lib.h" +#include "int_math.h" + +/* Returns: the product of a + ib and c + id */ + +COMPILER_RT_ABI long double _Complex +__multc3(long double a, long double b, long double c, long double d) +{ + long double ac = a * c; + long double bd = b * d; + long double ad = a * d; + long double bc = b * c; + long double _Complex z; + __real__ z = ac - bd; + __imag__ z = ad + bc; + if (crt_isnan(__real__ z) && crt_isnan(__imag__ z)) { + int recalc = 0; + if (crt_isinf(a) || crt_isinf(b)) { + a = crt_copysignl(crt_isinf(a) ? 1 : 0, a); + b = crt_copysignl(crt_isinf(b) ? 1 : 0, b); + if (crt_isnan(c)) + c = crt_copysignl(0, c); + if (crt_isnan(d)) + d = crt_copysignl(0, d); + recalc = 1; + } + if (crt_isinf(c) || crt_isinf(d)) { + c = crt_copysignl(crt_isinf(c) ? 1 : 0, c); + d = crt_copysignl(crt_isinf(d) ? 1 : 0, d); + if (crt_isnan(a)) + a = crt_copysignl(0, a); + if (crt_isnan(b)) + b = crt_copysignl(0, b); + recalc = 1; + } + if (!recalc && (crt_isinf(ac) || crt_isinf(bd) || + crt_isinf(ad) || crt_isinf(bc))) { + if (crt_isnan(a)) + a = crt_copysignl(0, a); + if (crt_isnan(b)) + b = crt_copysignl(0, b); + if (crt_isnan(c)) + c = crt_copysignl(0, c); + if (crt_isnan(d)) + d = crt_copysignl(0, d); + recalc = 1; + } + if (recalc) { + __real__ z = CRT_INFINITY * (a * c - b * d); + __imag__ z = CRT_INFINITY * (a * d + b * c); + } + } + return z; +} diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt new file mode 100644 index 0000000000..b5c3cdc400 --- /dev/null +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt @@ -0,0 +1,36 @@ + +# 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(libs-cxxsupp-libcxxabi-parts) +target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC + -nostdinc++ +) +target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE + -D_LIBCXXABI_BUILDING_LIBRARY + -Wno-everything +) +target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx +) +target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + APPEND + PROPERTY + COMPILE_OPTIONS + -fPIC + -fno-lto +) diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b23a1c1005 --- /dev/null +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# 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(libs-cxxsupp-libcxxabi-parts) +target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC + -nostdinc++ +) +target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE + -D_LIBCXXABI_BUILDING_LIBRARY + -Wno-everything +) +target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx +) +target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + APPEND + PROPERTY + COMPILE_OPTIONS + -fno-lto +) diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt new file mode 100644 index 0000000000..b5c3cdc400 --- /dev/null +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt @@ -0,0 +1,36 @@ + +# 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(libs-cxxsupp-libcxxabi-parts) +target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC + -nostdinc++ +) +target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE + -D_LIBCXXABI_BUILDING_LIBRARY + -Wno-everything +) +target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx +) +target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + APPEND + PROPERTY + COMPILE_OPTIONS + -fPIC + -fno-lto +) diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt index b5c3cdc400..3e0811fb22 100644 --- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt @@ -6,31 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-cxxsupp-libcxxabi-parts) -target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC - -nostdinc++ -) -target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE - -D_LIBCXXABI_BUILDING_LIBRARY - -Wno-everything -) -target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx -) -target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp -) -set_property( - SOURCE - ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp - APPEND - PROPERTY - COMPILE_OPTIONS - -fPIC - -fno-lto -) +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/contrib/libs/highwayhash/CMakeLists.darwin.txt b/contrib/libs/highwayhash/CMakeLists.darwin.txt new file mode 100644 index 0000000000..b8b5c58b9f --- /dev/null +++ b/contrib/libs/highwayhash/CMakeLists.darwin.txt @@ -0,0 +1,33 @@ + +# 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(arch) + +add_library(contrib-libs-highwayhash) +target_compile_options(contrib-libs-highwayhash PRIVATE + -Wno-everything +) +target_include_directories(contrib-libs-highwayhash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(contrib-libs-highwayhash PUBLIC + contrib-libs-cxxsupp + yutil + highwayhash-arch-avx2 + highwayhash-arch-sse41 +) +target_sources(contrib-libs-highwayhash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/arch_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/instruction_sets.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/nanobenchmark.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/os_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/scalar_sip_tree_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_portable.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/c_bindings.cc +) diff --git a/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt b/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..e06cd5cc9d --- /dev/null +++ b/contrib/libs/highwayhash/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(contrib-libs-highwayhash) +target_compile_options(contrib-libs-highwayhash PRIVATE + -Wno-everything +) +target_include_directories(contrib-libs-highwayhash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(contrib-libs-highwayhash PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(contrib-libs-highwayhash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/arch_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/instruction_sets.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/nanobenchmark.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/os_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/scalar_sip_tree_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_portable.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/c_bindings.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_tree_hash.cc +) diff --git a/contrib/libs/highwayhash/CMakeLists.linux.txt b/contrib/libs/highwayhash/CMakeLists.linux.txt new file mode 100644 index 0000000000..b8b5c58b9f --- /dev/null +++ b/contrib/libs/highwayhash/CMakeLists.linux.txt @@ -0,0 +1,33 @@ + +# 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(arch) + +add_library(contrib-libs-highwayhash) +target_compile_options(contrib-libs-highwayhash PRIVATE + -Wno-everything +) +target_include_directories(contrib-libs-highwayhash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(contrib-libs-highwayhash PUBLIC + contrib-libs-cxxsupp + yutil + highwayhash-arch-avx2 + highwayhash-arch-sse41 +) +target_sources(contrib-libs-highwayhash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/arch_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/instruction_sets.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/nanobenchmark.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/os_specific.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/scalar_sip_tree_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_portable.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/c_bindings.cc +) diff --git a/contrib/libs/highwayhash/CMakeLists.txt b/contrib/libs/highwayhash/CMakeLists.txt index b8b5c58b9f..3e0811fb22 100644 --- a/contrib/libs/highwayhash/CMakeLists.txt +++ b/contrib/libs/highwayhash/CMakeLists.txt @@ -6,28 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(arch) - -add_library(contrib-libs-highwayhash) -target_compile_options(contrib-libs-highwayhash PRIVATE - -Wno-everything -) -target_include_directories(contrib-libs-highwayhash PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash -) -target_link_libraries(contrib-libs-highwayhash PUBLIC - contrib-libs-cxxsupp - yutil - highwayhash-arch-avx2 - highwayhash-arch-sse41 -) -target_sources(contrib-libs-highwayhash PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/arch_specific.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/instruction_sets.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/nanobenchmark.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/os_specific.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_hash.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/scalar_sip_tree_hash.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_portable.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/c_bindings.cc -) +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/contrib/libs/highwayhash/arch/CMakeLists.darwin.txt b/contrib/libs/highwayhash/arch/CMakeLists.darwin.txt new file mode 100644 index 0000000000..fc6e7a4a0e --- /dev/null +++ b/contrib/libs/highwayhash/arch/CMakeLists.darwin.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(avx2) +add_subdirectory(sse41) diff --git a/contrib/libs/highwayhash/arch/CMakeLists.linux.txt b/contrib/libs/highwayhash/arch/CMakeLists.linux.txt new file mode 100644 index 0000000000..fc6e7a4a0e --- /dev/null +++ b/contrib/libs/highwayhash/arch/CMakeLists.linux.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(avx2) +add_subdirectory(sse41) diff --git a/contrib/libs/highwayhash/arch/CMakeLists.txt b/contrib/libs/highwayhash/arch/CMakeLists.txt index fc6e7a4a0e..79468a5d8d 100644 --- a/contrib/libs/highwayhash/arch/CMakeLists.txt +++ b/contrib/libs/highwayhash/arch/CMakeLists.txt @@ -6,5 +6,8 @@ # original buildsystem will not be accepted. -add_subdirectory(avx2) -add_subdirectory(sse41) +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/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt b/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt new file mode 100644 index 0000000000..2ecfdace3b --- /dev/null +++ b/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt @@ -0,0 +1,25 @@ + +# 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(highwayhash-arch-avx2) +target_compile_options(highwayhash-arch-avx2 PRIVATE + -mavx2 + -Wno-everything +) +target_include_directories(highwayhash-arch-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(highwayhash-arch-avx2 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(highwayhash-arch-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_tree_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_avx2.cc +) diff --git a/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt b/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt new file mode 100644 index 0000000000..2ecfdace3b --- /dev/null +++ b/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(highwayhash-arch-avx2) +target_compile_options(highwayhash-arch-avx2 PRIVATE + -mavx2 + -Wno-everything +) +target_include_directories(highwayhash-arch-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(highwayhash-arch-avx2 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(highwayhash-arch-avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_tree_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_avx2.cc +) diff --git a/contrib/libs/highwayhash/arch/avx2/CMakeLists.txt b/contrib/libs/highwayhash/arch/avx2/CMakeLists.txt index 2ecfdace3b..79468a5d8d 100644 --- a/contrib/libs/highwayhash/arch/avx2/CMakeLists.txt +++ b/contrib/libs/highwayhash/arch/avx2/CMakeLists.txt @@ -6,20 +6,8 @@ # original buildsystem will not be accepted. - -add_library(highwayhash-arch-avx2) -target_compile_options(highwayhash-arch-avx2 PRIVATE - -mavx2 - -Wno-everything -) -target_include_directories(highwayhash-arch-avx2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash -) -target_link_libraries(highwayhash-arch-avx2 PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(highwayhash-arch-avx2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_tree_hash.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_avx2.cc -) +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/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt b/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt new file mode 100644 index 0000000000..bd22fba25f --- /dev/null +++ b/contrib/libs/highwayhash/arch/sse41/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_library(highwayhash-arch-sse41) +target_compile_options(highwayhash-arch-sse41 PRIVATE + -msse4.1 + -Wno-everything +) +target_include_directories(highwayhash-arch-sse41 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(highwayhash-arch-sse41 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(highwayhash-arch-sse41 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_sse41.cc +) diff --git a/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt b/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt new file mode 100644 index 0000000000..bd22fba25f --- /dev/null +++ b/contrib/libs/highwayhash/arch/sse41/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_library(highwayhash-arch-sse41) +target_compile_options(highwayhash-arch-sse41 PRIVATE + -msse4.1 + -Wno-everything +) +target_include_directories(highwayhash-arch-sse41 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash +) +target_link_libraries(highwayhash-arch-sse41 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(highwayhash-arch-sse41 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_sse41.cc +) diff --git a/contrib/libs/highwayhash/arch/sse41/CMakeLists.txt b/contrib/libs/highwayhash/arch/sse41/CMakeLists.txt index bd22fba25f..79468a5d8d 100644 --- a/contrib/libs/highwayhash/arch/sse41/CMakeLists.txt +++ b/contrib/libs/highwayhash/arch/sse41/CMakeLists.txt @@ -6,19 +6,8 @@ # original buildsystem will not be accepted. - -add_library(highwayhash-arch-sse41) -target_compile_options(highwayhash-arch-sse41 PRIVATE - -msse4.1 - -Wno-everything -) -target_include_directories(highwayhash-arch-sse41 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash -) -target_link_libraries(highwayhash-arch-sse41 PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(highwayhash-arch-sse41 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_sse41.cc -) +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/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt new file mode 100644 index 0000000000..03290e1358 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt @@ -0,0 +1,487 @@ + +# 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(libs-hyperscan-runtime_avx2) +target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -mpopcnt + -DHAVE_POPCOUNT_INSTR + -mavx + -DHAVE_AVX + -mavx2 + -mfma + -mbmi + -mbmi2 + -DHAVE_AVX2 + -DCrc32c_ComputeBuf=avx2_Crc32c_ComputeBuf + -DblockInitSufPQ=avx2_blockInitSufPQ + -Dcompress_stream=avx2_compress_stream + -Dcpuid_flags=avx2_cpuid_flags + -Dcpuid_tune=avx2_cpuid_tune + -DdbIsValid=avx2_dbIsValid + -DdoAccel128=avx2_doAccel128 + -DdoAccel256=avx2_doAccel256 + -DdoAccel32=avx2_doAccel32 + -DdoAccel384=avx2_doAccel384 + -DdoAccel512=avx2_doAccel512 + -DdoAccel64=avx2_doAccel64 + -Dexpand_stream=avx2_expand_stream + -DfdrExec=avx2_fdrExec + -DfdrExecStreaming=avx2_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx2_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx2_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx2_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx2_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx2_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx2_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx2_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx2_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx2_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx2_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx2_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx2_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx2_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx2_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx2_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx2_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx2_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx2_flushStoredSomMatches_i + -DhandleSomExternal=avx2_handleSomExternal + -DhandleSomInternal=avx2_handleSomInternal + -Dhs_alloc_scratch=avx2_hs_alloc_scratch + -Dhs_clone_scratch=avx2_hs_clone_scratch + -Dhs_close_stream=avx2_hs_close_stream + -Dhs_compress_stream=avx2_hs_compress_stream + -Dhs_copy_stream=avx2_hs_copy_stream + -Dhs_database_alloc=avx2_hs_database_alloc + -Dhs_database_free=avx2_hs_database_free + -Dhs_database_info=avx2_hs_database_info + -Dhs_database_size=avx2_hs_database_size + -Dhs_deserialize_database=avx2_hs_deserialize_database + -Dhs_deserialize_database_at=avx2_hs_deserialize_database_at + -Dhs_expand_stream=avx2_hs_expand_stream + -Dhs_free_database=avx2_hs_free_database + -Dhs_free_scratch=avx2_hs_free_scratch + -Dhs_misc_alloc=avx2_hs_misc_alloc + -Dhs_misc_free=avx2_hs_misc_free + -Dhs_open_stream=avx2_hs_open_stream + -Dhs_reset_and_copy_stream=avx2_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx2_hs_reset_and_expand_stream + -Dhs_reset_stream=avx2_hs_reset_stream + -Dhs_scan=avx2_hs_scan + -Dhs_scan_stream=avx2_hs_scan_stream + -Dhs_scan_vector=avx2_hs_scan_vector + -Dhs_scratch_alloc=avx2_hs_scratch_alloc + -Dhs_scratch_free=avx2_hs_scratch_free + -Dhs_scratch_size=avx2_hs_scratch_size + -Dhs_serialize_database=avx2_hs_serialize_database + -Dhs_serialized_database_info=avx2_hs_serialized_database_info + -Dhs_serialized_database_size=avx2_hs_serialized_database_size + -Dhs_set_allocator=avx2_hs_set_allocator + -Dhs_set_database_allocator=avx2_hs_set_database_allocator + -Dhs_set_misc_allocator=avx2_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx2_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx2_hs_set_stream_allocator + -Dhs_stream_alloc=avx2_hs_stream_alloc + -Dhs_stream_free=avx2_hs_stream_free + -Dhs_stream_size=avx2_hs_stream_size + -Dhs_valid_platform=avx2_hs_valid_platform + -Dhs_version=avx2_hs_version + -DhwlmExec=avx2_hwlmExec + -DhwlmExecStreaming=avx2_hwlmExecStreaming + -DloadSomFromStream=avx2_loadSomFromStream + -Dloadcompressed128=avx2_loadcompressed128 + -Dloadcompressed256=avx2_loadcompressed256 + -Dloadcompressed32=avx2_loadcompressed32 + -Dloadcompressed384=avx2_loadcompressed384 + -Dloadcompressed512=avx2_loadcompressed512 + -Dloadcompressed64=avx2_loadcompressed64 + -Dmcsheng_pext_mask=avx2_mcsheng_pext_mask + -Dmm_mask_mask=avx2_mm_mask_mask + -Dmm_shuffle_end=avx2_mm_shuffle_end + -Dmmbit_keyshift_lut=avx2_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx2_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx2_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx2_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx2_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx2_nfaBlockExecReverse + -DnfaCheckFinalState=avx2_nfaCheckFinalState + -DnfaExecCastle_Q=avx2_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx2_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx2_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx2_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx2_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx2_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx2_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx2_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx2_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx2_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx2_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx2_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx2_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx2_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx2_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx2_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx2_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx2_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx2_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx2_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx2_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx2_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx2_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx2_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx2_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx2_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx2_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx2_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx2_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx2_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx2_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx2_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx2_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx2_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx2_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx2_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx2_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx2_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx2_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx2_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx2_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx2_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx2_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx2_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx2_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx2_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx2_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx2_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx2_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx2_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx2_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx2_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx2_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx2_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx2_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx2_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx2_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx2_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx2_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx2_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx2_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx2_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx2_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx2_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx2_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx2_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx2_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx2_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx2_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx2_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx2_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx2_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx2_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx2_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx2_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx2_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx2_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx2_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx2_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx2_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx2_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx2_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx2_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx2_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx2_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx2_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx2_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx2_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx2_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx2_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx2_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx2_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx2_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx2_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx2_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx2_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx2_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx2_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx2_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx2_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx2_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx2_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx2_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx2_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx2_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx2_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx2_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx2_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx2_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx2_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx2_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx2_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx2_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx2_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx2_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx2_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx2_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx2_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx2_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx2_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx2_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx2_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx2_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx2_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx2_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx2_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx2_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx2_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx2_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx2_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx2_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx2_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx2_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx2_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx2_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx2_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx2_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx2_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx2_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx2_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx2_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx2_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx2_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx2_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx2_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx2_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx2_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx2_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx2_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx2_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx2_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx2_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx2_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx2_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx2_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx2_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx2_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx2_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx2_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx2_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx2_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx2_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx2_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx2_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx2_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx2_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx2_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx2_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx2_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx2_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx2_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx2_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx2_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx2_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx2_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx2_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx2_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx2_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx2_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx2_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx2_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx2_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx2_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx2_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx2_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx2_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx2_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx2_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx2_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx2_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx2_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx2_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx2_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx2_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx2_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx2_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx2_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx2_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx2_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx2_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx2_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx2_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx2_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx2_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx2_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx2_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx2_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx2_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx2_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx2_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx2_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx2_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx2_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx2_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx2_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx2_nfaExecSheng_B + -DnfaExecSheng_Q=avx2_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx2_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx2_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx2_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx2_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx2_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx2_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx2_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx2_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx2_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx2_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx2_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx2_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx2_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx2_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx2_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx2_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx2_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx2_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx2_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx2_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx2_nfaExecTamarama_zombie_status + -DnfaExpandState=avx2_nfaExpandState + -DnfaGetZombieStatus=avx2_nfaGetZombieStatus + -DnfaInAcceptState=avx2_nfaInAcceptState + -DnfaInAnyAcceptState=avx2_nfaInAnyAcceptState + -DnfaInitCompressedState=avx2_nfaInitCompressedState + -DnfaQueueCompressState=avx2_nfaQueueCompressState + -DnfaQueueExec=avx2_nfaQueueExec + -DnfaQueueExec2_raw=avx2_nfaQueueExec2_raw + -DnfaQueueExecRose=avx2_nfaQueueExecRose + -DnfaQueueExecToMatch=avx2_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx2_nfaQueueExec_raw + -DnfaQueueInitState=avx2_nfaQueueInitState + -DnfaReportCurrentMatches=avx2_nfaReportCurrentMatches + -DnoodExec=avx2_noodExec + -DnoodExecStreaming=avx2_noodExecStreaming + -Dp_mask_arr=avx2_p_mask_arr + -Dp_mask_arr256=avx2_p_mask_arr256 + -DrepeatHasMatchBitmap=avx2_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx2_repeatHasMatchRange + -DrepeatHasMatchRing=avx2_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx2_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx2_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx2_repeatLastTopBitmap + -DrepeatLastTopRange=avx2_repeatLastTopRange + -DrepeatLastTopRing=avx2_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx2_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx2_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx2_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx2_repeatNextMatchRange + -DrepeatNextMatchRing=avx2_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx2_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx2_repeatNextMatchTrailer + -DrepeatPack=avx2_repeatPack + -DrepeatStoreBitmap=avx2_repeatStoreBitmap + -DrepeatStoreRange=avx2_repeatStoreRange + -DrepeatStoreRing=avx2_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx2_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx2_repeatStoreTrailer + -DrepeatUnpack=avx2_repeatUnpack + -DroseAnchoredCallback=avx2_roseAnchoredCallback + -DroseBlockExec=avx2_roseBlockExec + -DroseCallback=avx2_roseCallback + -DroseCatchUpAll=avx2_roseCatchUpAll + -DroseCatchUpMPV_i=avx2_roseCatchUpMPV_i + -DroseCatchUpSuf=avx2_roseCatchUpSuf + -DroseDelayRebuildCallback=avx2_roseDelayRebuildCallback + -DroseFloatingCallback=avx2_roseFloatingCallback + -DroseHandleChainMatch=avx2_roseHandleChainMatch + -DroseInitState=avx2_roseInitState + -DroseNfaAdaptor=avx2_roseNfaAdaptor + -DroseNfaEarliestSom=avx2_roseNfaEarliestSom + -DroseReportAdaptor=avx2_roseReportAdaptor + -DroseRunBoundaryProgram=avx2_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx2_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx2_roseRunLastFlushCombProgram + -DroseRunProgram=avx2_roseRunProgram + -DroseRunProgram_l=avx2_roseRunProgram_l + -DroseStreamEodExec=avx2_roseStreamEodExec + -DroseStreamExec=avx2_roseStreamExec + -DrshuftiExec=avx2_rshuftiExec + -DrtruffleExec=avx2_rtruffleExec + -Drun_accel=avx2_run_accel + -DsetSomFromSomAware=avx2_setSomFromSomAware + -DshuftiDoubleExec=avx2_shuftiDoubleExec + -DshuftiExec=avx2_shuftiExec + -Dsimd_onebit_masks=avx2_simd_onebit_masks + -Dsize_compress_stream=avx2_size_compress_stream + -DstoreSomToStream=avx2_storeSomToStream + -Dstorecompressed128=avx2_storecompressed128 + -Dstorecompressed256=avx2_storecompressed256 + -Dstorecompressed32=avx2_storecompressed32 + -Dstorecompressed384=avx2_storecompressed384 + -Dstorecompressed512=avx2_storecompressed512 + -Dstorecompressed64=avx2_storecompressed64 + -DstreamInitSufPQ=avx2_streamInitSufPQ + -DtruffleExec=avx2_truffleExec + -Dvbs_mask_data=avx2_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux-aarch64.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..e872634b85 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux-aarch64.txt @@ -0,0 +1,479 @@ + +# 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(libs-hyperscan-runtime_avx2) +target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE + -DHAVE_SSE41 + -DHAVE_SSE42 + -DHAVE_POPCOUNT_INSTR + -DHAVE_AVX + -DHAVE_AVX2 + -DCrc32c_ComputeBuf=avx2_Crc32c_ComputeBuf + -DblockInitSufPQ=avx2_blockInitSufPQ + -Dcompress_stream=avx2_compress_stream + -Dcpuid_flags=avx2_cpuid_flags + -Dcpuid_tune=avx2_cpuid_tune + -DdbIsValid=avx2_dbIsValid + -DdoAccel128=avx2_doAccel128 + -DdoAccel256=avx2_doAccel256 + -DdoAccel32=avx2_doAccel32 + -DdoAccel384=avx2_doAccel384 + -DdoAccel512=avx2_doAccel512 + -DdoAccel64=avx2_doAccel64 + -Dexpand_stream=avx2_expand_stream + -DfdrExec=avx2_fdrExec + -DfdrExecStreaming=avx2_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx2_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx2_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx2_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx2_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx2_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx2_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx2_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx2_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx2_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx2_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx2_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx2_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx2_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx2_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx2_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx2_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx2_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx2_flushStoredSomMatches_i + -DhandleSomExternal=avx2_handleSomExternal + -DhandleSomInternal=avx2_handleSomInternal + -Dhs_alloc_scratch=avx2_hs_alloc_scratch + -Dhs_clone_scratch=avx2_hs_clone_scratch + -Dhs_close_stream=avx2_hs_close_stream + -Dhs_compress_stream=avx2_hs_compress_stream + -Dhs_copy_stream=avx2_hs_copy_stream + -Dhs_database_alloc=avx2_hs_database_alloc + -Dhs_database_free=avx2_hs_database_free + -Dhs_database_info=avx2_hs_database_info + -Dhs_database_size=avx2_hs_database_size + -Dhs_deserialize_database=avx2_hs_deserialize_database + -Dhs_deserialize_database_at=avx2_hs_deserialize_database_at + -Dhs_expand_stream=avx2_hs_expand_stream + -Dhs_free_database=avx2_hs_free_database + -Dhs_free_scratch=avx2_hs_free_scratch + -Dhs_misc_alloc=avx2_hs_misc_alloc + -Dhs_misc_free=avx2_hs_misc_free + -Dhs_open_stream=avx2_hs_open_stream + -Dhs_reset_and_copy_stream=avx2_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx2_hs_reset_and_expand_stream + -Dhs_reset_stream=avx2_hs_reset_stream + -Dhs_scan=avx2_hs_scan + -Dhs_scan_stream=avx2_hs_scan_stream + -Dhs_scan_vector=avx2_hs_scan_vector + -Dhs_scratch_alloc=avx2_hs_scratch_alloc + -Dhs_scratch_free=avx2_hs_scratch_free + -Dhs_scratch_size=avx2_hs_scratch_size + -Dhs_serialize_database=avx2_hs_serialize_database + -Dhs_serialized_database_info=avx2_hs_serialized_database_info + -Dhs_serialized_database_size=avx2_hs_serialized_database_size + -Dhs_set_allocator=avx2_hs_set_allocator + -Dhs_set_database_allocator=avx2_hs_set_database_allocator + -Dhs_set_misc_allocator=avx2_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx2_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx2_hs_set_stream_allocator + -Dhs_stream_alloc=avx2_hs_stream_alloc + -Dhs_stream_free=avx2_hs_stream_free + -Dhs_stream_size=avx2_hs_stream_size + -Dhs_valid_platform=avx2_hs_valid_platform + -Dhs_version=avx2_hs_version + -DhwlmExec=avx2_hwlmExec + -DhwlmExecStreaming=avx2_hwlmExecStreaming + -DloadSomFromStream=avx2_loadSomFromStream + -Dloadcompressed128=avx2_loadcompressed128 + -Dloadcompressed256=avx2_loadcompressed256 + -Dloadcompressed32=avx2_loadcompressed32 + -Dloadcompressed384=avx2_loadcompressed384 + -Dloadcompressed512=avx2_loadcompressed512 + -Dloadcompressed64=avx2_loadcompressed64 + -Dmcsheng_pext_mask=avx2_mcsheng_pext_mask + -Dmm_mask_mask=avx2_mm_mask_mask + -Dmm_shuffle_end=avx2_mm_shuffle_end + -Dmmbit_keyshift_lut=avx2_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx2_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx2_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx2_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx2_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx2_nfaBlockExecReverse + -DnfaCheckFinalState=avx2_nfaCheckFinalState + -DnfaExecCastle_Q=avx2_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx2_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx2_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx2_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx2_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx2_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx2_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx2_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx2_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx2_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx2_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx2_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx2_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx2_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx2_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx2_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx2_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx2_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx2_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx2_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx2_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx2_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx2_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx2_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx2_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx2_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx2_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx2_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx2_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx2_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx2_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx2_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx2_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx2_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx2_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx2_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx2_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx2_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx2_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx2_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx2_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx2_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx2_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx2_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx2_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx2_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx2_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx2_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx2_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx2_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx2_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx2_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx2_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx2_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx2_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx2_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx2_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx2_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx2_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx2_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx2_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx2_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx2_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx2_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx2_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx2_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx2_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx2_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx2_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx2_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx2_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx2_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx2_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx2_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx2_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx2_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx2_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx2_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx2_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx2_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx2_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx2_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx2_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx2_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx2_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx2_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx2_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx2_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx2_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx2_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx2_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx2_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx2_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx2_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx2_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx2_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx2_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx2_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx2_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx2_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx2_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx2_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx2_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx2_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx2_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx2_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx2_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx2_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx2_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx2_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx2_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx2_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx2_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx2_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx2_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx2_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx2_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx2_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx2_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx2_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx2_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx2_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx2_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx2_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx2_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx2_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx2_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx2_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx2_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx2_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx2_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx2_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx2_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx2_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx2_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx2_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx2_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx2_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx2_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx2_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx2_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx2_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx2_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx2_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx2_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx2_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx2_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx2_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx2_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx2_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx2_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx2_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx2_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx2_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx2_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx2_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx2_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx2_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx2_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx2_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx2_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx2_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx2_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx2_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx2_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx2_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx2_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx2_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx2_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx2_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx2_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx2_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx2_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx2_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx2_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx2_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx2_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx2_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx2_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx2_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx2_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx2_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx2_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx2_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx2_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx2_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx2_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx2_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx2_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx2_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx2_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx2_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx2_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx2_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx2_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx2_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx2_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx2_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx2_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx2_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx2_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx2_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx2_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx2_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx2_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx2_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx2_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx2_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx2_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx2_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx2_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx2_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx2_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx2_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx2_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx2_nfaExecSheng_B + -DnfaExecSheng_Q=avx2_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx2_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx2_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx2_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx2_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx2_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx2_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx2_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx2_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx2_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx2_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx2_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx2_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx2_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx2_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx2_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx2_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx2_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx2_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx2_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx2_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx2_nfaExecTamarama_zombie_status + -DnfaExpandState=avx2_nfaExpandState + -DnfaGetZombieStatus=avx2_nfaGetZombieStatus + -DnfaInAcceptState=avx2_nfaInAcceptState + -DnfaInAnyAcceptState=avx2_nfaInAnyAcceptState + -DnfaInitCompressedState=avx2_nfaInitCompressedState + -DnfaQueueCompressState=avx2_nfaQueueCompressState + -DnfaQueueExec=avx2_nfaQueueExec + -DnfaQueueExec2_raw=avx2_nfaQueueExec2_raw + -DnfaQueueExecRose=avx2_nfaQueueExecRose + -DnfaQueueExecToMatch=avx2_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx2_nfaQueueExec_raw + -DnfaQueueInitState=avx2_nfaQueueInitState + -DnfaReportCurrentMatches=avx2_nfaReportCurrentMatches + -DnoodExec=avx2_noodExec + -DnoodExecStreaming=avx2_noodExecStreaming + -Dp_mask_arr=avx2_p_mask_arr + -Dp_mask_arr256=avx2_p_mask_arr256 + -DrepeatHasMatchBitmap=avx2_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx2_repeatHasMatchRange + -DrepeatHasMatchRing=avx2_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx2_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx2_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx2_repeatLastTopBitmap + -DrepeatLastTopRange=avx2_repeatLastTopRange + -DrepeatLastTopRing=avx2_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx2_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx2_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx2_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx2_repeatNextMatchRange + -DrepeatNextMatchRing=avx2_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx2_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx2_repeatNextMatchTrailer + -DrepeatPack=avx2_repeatPack + -DrepeatStoreBitmap=avx2_repeatStoreBitmap + -DrepeatStoreRange=avx2_repeatStoreRange + -DrepeatStoreRing=avx2_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx2_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx2_repeatStoreTrailer + -DrepeatUnpack=avx2_repeatUnpack + -DroseAnchoredCallback=avx2_roseAnchoredCallback + -DroseBlockExec=avx2_roseBlockExec + -DroseCallback=avx2_roseCallback + -DroseCatchUpAll=avx2_roseCatchUpAll + -DroseCatchUpMPV_i=avx2_roseCatchUpMPV_i + -DroseCatchUpSuf=avx2_roseCatchUpSuf + -DroseDelayRebuildCallback=avx2_roseDelayRebuildCallback + -DroseFloatingCallback=avx2_roseFloatingCallback + -DroseHandleChainMatch=avx2_roseHandleChainMatch + -DroseInitState=avx2_roseInitState + -DroseNfaAdaptor=avx2_roseNfaAdaptor + -DroseNfaEarliestSom=avx2_roseNfaEarliestSom + -DroseReportAdaptor=avx2_roseReportAdaptor + -DroseRunBoundaryProgram=avx2_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx2_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx2_roseRunLastFlushCombProgram + -DroseRunProgram=avx2_roseRunProgram + -DroseRunProgram_l=avx2_roseRunProgram_l + -DroseStreamEodExec=avx2_roseStreamEodExec + -DroseStreamExec=avx2_roseStreamExec + -DrshuftiExec=avx2_rshuftiExec + -DrtruffleExec=avx2_rtruffleExec + -Drun_accel=avx2_run_accel + -DsetSomFromSomAware=avx2_setSomFromSomAware + -DshuftiDoubleExec=avx2_shuftiDoubleExec + -DshuftiExec=avx2_shuftiExec + -Dsimd_onebit_masks=avx2_simd_onebit_masks + -Dsize_compress_stream=avx2_size_compress_stream + -DstoreSomToStream=avx2_storeSomToStream + -Dstorecompressed128=avx2_storecompressed128 + -Dstorecompressed256=avx2_storecompressed256 + -Dstorecompressed32=avx2_storecompressed32 + -Dstorecompressed384=avx2_storecompressed384 + -Dstorecompressed512=avx2_storecompressed512 + -Dstorecompressed64=avx2_storecompressed64 + -DstreamInitSufPQ=avx2_streamInitSufPQ + -DtruffleExec=avx2_truffleExec + -Dvbs_mask_data=avx2_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt new file mode 100644 index 0000000000..03290e1358 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt @@ -0,0 +1,487 @@ + +# 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(libs-hyperscan-runtime_avx2) +target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -mpopcnt + -DHAVE_POPCOUNT_INSTR + -mavx + -DHAVE_AVX + -mavx2 + -mfma + -mbmi + -mbmi2 + -DHAVE_AVX2 + -DCrc32c_ComputeBuf=avx2_Crc32c_ComputeBuf + -DblockInitSufPQ=avx2_blockInitSufPQ + -Dcompress_stream=avx2_compress_stream + -Dcpuid_flags=avx2_cpuid_flags + -Dcpuid_tune=avx2_cpuid_tune + -DdbIsValid=avx2_dbIsValid + -DdoAccel128=avx2_doAccel128 + -DdoAccel256=avx2_doAccel256 + -DdoAccel32=avx2_doAccel32 + -DdoAccel384=avx2_doAccel384 + -DdoAccel512=avx2_doAccel512 + -DdoAccel64=avx2_doAccel64 + -Dexpand_stream=avx2_expand_stream + -DfdrExec=avx2_fdrExec + -DfdrExecStreaming=avx2_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx2_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx2_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx2_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx2_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx2_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx2_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx2_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx2_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx2_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx2_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx2_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx2_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx2_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx2_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx2_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx2_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx2_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx2_flushStoredSomMatches_i + -DhandleSomExternal=avx2_handleSomExternal + -DhandleSomInternal=avx2_handleSomInternal + -Dhs_alloc_scratch=avx2_hs_alloc_scratch + -Dhs_clone_scratch=avx2_hs_clone_scratch + -Dhs_close_stream=avx2_hs_close_stream + -Dhs_compress_stream=avx2_hs_compress_stream + -Dhs_copy_stream=avx2_hs_copy_stream + -Dhs_database_alloc=avx2_hs_database_alloc + -Dhs_database_free=avx2_hs_database_free + -Dhs_database_info=avx2_hs_database_info + -Dhs_database_size=avx2_hs_database_size + -Dhs_deserialize_database=avx2_hs_deserialize_database + -Dhs_deserialize_database_at=avx2_hs_deserialize_database_at + -Dhs_expand_stream=avx2_hs_expand_stream + -Dhs_free_database=avx2_hs_free_database + -Dhs_free_scratch=avx2_hs_free_scratch + -Dhs_misc_alloc=avx2_hs_misc_alloc + -Dhs_misc_free=avx2_hs_misc_free + -Dhs_open_stream=avx2_hs_open_stream + -Dhs_reset_and_copy_stream=avx2_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx2_hs_reset_and_expand_stream + -Dhs_reset_stream=avx2_hs_reset_stream + -Dhs_scan=avx2_hs_scan + -Dhs_scan_stream=avx2_hs_scan_stream + -Dhs_scan_vector=avx2_hs_scan_vector + -Dhs_scratch_alloc=avx2_hs_scratch_alloc + -Dhs_scratch_free=avx2_hs_scratch_free + -Dhs_scratch_size=avx2_hs_scratch_size + -Dhs_serialize_database=avx2_hs_serialize_database + -Dhs_serialized_database_info=avx2_hs_serialized_database_info + -Dhs_serialized_database_size=avx2_hs_serialized_database_size + -Dhs_set_allocator=avx2_hs_set_allocator + -Dhs_set_database_allocator=avx2_hs_set_database_allocator + -Dhs_set_misc_allocator=avx2_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx2_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx2_hs_set_stream_allocator + -Dhs_stream_alloc=avx2_hs_stream_alloc + -Dhs_stream_free=avx2_hs_stream_free + -Dhs_stream_size=avx2_hs_stream_size + -Dhs_valid_platform=avx2_hs_valid_platform + -Dhs_version=avx2_hs_version + -DhwlmExec=avx2_hwlmExec + -DhwlmExecStreaming=avx2_hwlmExecStreaming + -DloadSomFromStream=avx2_loadSomFromStream + -Dloadcompressed128=avx2_loadcompressed128 + -Dloadcompressed256=avx2_loadcompressed256 + -Dloadcompressed32=avx2_loadcompressed32 + -Dloadcompressed384=avx2_loadcompressed384 + -Dloadcompressed512=avx2_loadcompressed512 + -Dloadcompressed64=avx2_loadcompressed64 + -Dmcsheng_pext_mask=avx2_mcsheng_pext_mask + -Dmm_mask_mask=avx2_mm_mask_mask + -Dmm_shuffle_end=avx2_mm_shuffle_end + -Dmmbit_keyshift_lut=avx2_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx2_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx2_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx2_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx2_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx2_nfaBlockExecReverse + -DnfaCheckFinalState=avx2_nfaCheckFinalState + -DnfaExecCastle_Q=avx2_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx2_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx2_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx2_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx2_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx2_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx2_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx2_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx2_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx2_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx2_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx2_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx2_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx2_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx2_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx2_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx2_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx2_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx2_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx2_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx2_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx2_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx2_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx2_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx2_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx2_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx2_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx2_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx2_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx2_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx2_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx2_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx2_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx2_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx2_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx2_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx2_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx2_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx2_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx2_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx2_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx2_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx2_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx2_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx2_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx2_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx2_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx2_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx2_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx2_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx2_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx2_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx2_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx2_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx2_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx2_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx2_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx2_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx2_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx2_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx2_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx2_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx2_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx2_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx2_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx2_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx2_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx2_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx2_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx2_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx2_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx2_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx2_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx2_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx2_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx2_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx2_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx2_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx2_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx2_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx2_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx2_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx2_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx2_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx2_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx2_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx2_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx2_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx2_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx2_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx2_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx2_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx2_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx2_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx2_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx2_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx2_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx2_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx2_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx2_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx2_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx2_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx2_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx2_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx2_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx2_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx2_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx2_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx2_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx2_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx2_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx2_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx2_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx2_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx2_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx2_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx2_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx2_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx2_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx2_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx2_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx2_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx2_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx2_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx2_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx2_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx2_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx2_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx2_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx2_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx2_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx2_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx2_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx2_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx2_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx2_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx2_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx2_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx2_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx2_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx2_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx2_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx2_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx2_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx2_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx2_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx2_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx2_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx2_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx2_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx2_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx2_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx2_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx2_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx2_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx2_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx2_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx2_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx2_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx2_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx2_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx2_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx2_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx2_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx2_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx2_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx2_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx2_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx2_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx2_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx2_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx2_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx2_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx2_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx2_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx2_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx2_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx2_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx2_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx2_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx2_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx2_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx2_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx2_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx2_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx2_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx2_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx2_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx2_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx2_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx2_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx2_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx2_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx2_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx2_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx2_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx2_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx2_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx2_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx2_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx2_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx2_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx2_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx2_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx2_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx2_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx2_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx2_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx2_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx2_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx2_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx2_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx2_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx2_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx2_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx2_nfaExecSheng_B + -DnfaExecSheng_Q=avx2_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx2_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx2_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx2_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx2_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx2_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx2_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx2_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx2_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx2_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx2_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx2_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx2_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx2_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx2_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx2_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx2_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx2_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx2_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx2_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx2_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx2_nfaExecTamarama_zombie_status + -DnfaExpandState=avx2_nfaExpandState + -DnfaGetZombieStatus=avx2_nfaGetZombieStatus + -DnfaInAcceptState=avx2_nfaInAcceptState + -DnfaInAnyAcceptState=avx2_nfaInAnyAcceptState + -DnfaInitCompressedState=avx2_nfaInitCompressedState + -DnfaQueueCompressState=avx2_nfaQueueCompressState + -DnfaQueueExec=avx2_nfaQueueExec + -DnfaQueueExec2_raw=avx2_nfaQueueExec2_raw + -DnfaQueueExecRose=avx2_nfaQueueExecRose + -DnfaQueueExecToMatch=avx2_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx2_nfaQueueExec_raw + -DnfaQueueInitState=avx2_nfaQueueInitState + -DnfaReportCurrentMatches=avx2_nfaReportCurrentMatches + -DnoodExec=avx2_noodExec + -DnoodExecStreaming=avx2_noodExecStreaming + -Dp_mask_arr=avx2_p_mask_arr + -Dp_mask_arr256=avx2_p_mask_arr256 + -DrepeatHasMatchBitmap=avx2_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx2_repeatHasMatchRange + -DrepeatHasMatchRing=avx2_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx2_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx2_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx2_repeatLastTopBitmap + -DrepeatLastTopRange=avx2_repeatLastTopRange + -DrepeatLastTopRing=avx2_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx2_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx2_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx2_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx2_repeatNextMatchRange + -DrepeatNextMatchRing=avx2_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx2_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx2_repeatNextMatchTrailer + -DrepeatPack=avx2_repeatPack + -DrepeatStoreBitmap=avx2_repeatStoreBitmap + -DrepeatStoreRange=avx2_repeatStoreRange + -DrepeatStoreRing=avx2_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx2_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx2_repeatStoreTrailer + -DrepeatUnpack=avx2_repeatUnpack + -DroseAnchoredCallback=avx2_roseAnchoredCallback + -DroseBlockExec=avx2_roseBlockExec + -DroseCallback=avx2_roseCallback + -DroseCatchUpAll=avx2_roseCatchUpAll + -DroseCatchUpMPV_i=avx2_roseCatchUpMPV_i + -DroseCatchUpSuf=avx2_roseCatchUpSuf + -DroseDelayRebuildCallback=avx2_roseDelayRebuildCallback + -DroseFloatingCallback=avx2_roseFloatingCallback + -DroseHandleChainMatch=avx2_roseHandleChainMatch + -DroseInitState=avx2_roseInitState + -DroseNfaAdaptor=avx2_roseNfaAdaptor + -DroseNfaEarliestSom=avx2_roseNfaEarliestSom + -DroseReportAdaptor=avx2_roseReportAdaptor + -DroseRunBoundaryProgram=avx2_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx2_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx2_roseRunLastFlushCombProgram + -DroseRunProgram=avx2_roseRunProgram + -DroseRunProgram_l=avx2_roseRunProgram_l + -DroseStreamEodExec=avx2_roseStreamEodExec + -DroseStreamExec=avx2_roseStreamExec + -DrshuftiExec=avx2_rshuftiExec + -DrtruffleExec=avx2_rtruffleExec + -Drun_accel=avx2_run_accel + -DsetSomFromSomAware=avx2_setSomFromSomAware + -DshuftiDoubleExec=avx2_shuftiDoubleExec + -DshuftiExec=avx2_shuftiExec + -Dsimd_onebit_masks=avx2_simd_onebit_masks + -Dsize_compress_stream=avx2_size_compress_stream + -DstoreSomToStream=avx2_storeSomToStream + -Dstorecompressed128=avx2_storecompressed128 + -Dstorecompressed256=avx2_storecompressed256 + -Dstorecompressed32=avx2_storecompressed32 + -Dstorecompressed384=avx2_storecompressed384 + -Dstorecompressed512=avx2_storecompressed512 + -Dstorecompressed64=avx2_storecompressed64 + -DstreamInitSufPQ=avx2_streamInitSufPQ + -DtruffleExec=avx2_truffleExec + -Dvbs_mask_data=avx2_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.txt index 03290e1358..3e0811fb22 100644 --- a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.txt +++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.txt @@ -6,482 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-hyperscan-runtime_avx2) -target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE - -msse4.1 - -DHAVE_SSE41 - -msse4.2 - -DHAVE_SSE42 - -mpopcnt - -DHAVE_POPCOUNT_INSTR - -mavx - -DHAVE_AVX - -mavx2 - -mfma - -mbmi - -mbmi2 - -DHAVE_AVX2 - -DCrc32c_ComputeBuf=avx2_Crc32c_ComputeBuf - -DblockInitSufPQ=avx2_blockInitSufPQ - -Dcompress_stream=avx2_compress_stream - -Dcpuid_flags=avx2_cpuid_flags - -Dcpuid_tune=avx2_cpuid_tune - -DdbIsValid=avx2_dbIsValid - -DdoAccel128=avx2_doAccel128 - -DdoAccel256=avx2_doAccel256 - -DdoAccel32=avx2_doAccel32 - -DdoAccel384=avx2_doAccel384 - -DdoAccel512=avx2_doAccel512 - -DdoAccel64=avx2_doAccel64 - -Dexpand_stream=avx2_expand_stream - -DfdrExec=avx2_fdrExec - -DfdrExecStreaming=avx2_fdrExecStreaming - -Dfdr_exec_fat_teddy_msks1=avx2_fdr_exec_fat_teddy_msks1 - -Dfdr_exec_fat_teddy_msks1_pck=avx2_fdr_exec_fat_teddy_msks1_pck - -Dfdr_exec_fat_teddy_msks2=avx2_fdr_exec_fat_teddy_msks2 - -Dfdr_exec_fat_teddy_msks2_pck=avx2_fdr_exec_fat_teddy_msks2_pck - -Dfdr_exec_fat_teddy_msks3=avx2_fdr_exec_fat_teddy_msks3 - -Dfdr_exec_fat_teddy_msks3_pck=avx2_fdr_exec_fat_teddy_msks3_pck - -Dfdr_exec_fat_teddy_msks4=avx2_fdr_exec_fat_teddy_msks4 - -Dfdr_exec_fat_teddy_msks4_pck=avx2_fdr_exec_fat_teddy_msks4_pck - -Dfdr_exec_teddy_msks1=avx2_fdr_exec_teddy_msks1 - -Dfdr_exec_teddy_msks1_pck=avx2_fdr_exec_teddy_msks1_pck - -Dfdr_exec_teddy_msks2=avx2_fdr_exec_teddy_msks2 - -Dfdr_exec_teddy_msks2_pck=avx2_fdr_exec_teddy_msks2_pck - -Dfdr_exec_teddy_msks3=avx2_fdr_exec_teddy_msks3 - -Dfdr_exec_teddy_msks3_pck=avx2_fdr_exec_teddy_msks3_pck - -Dfdr_exec_teddy_msks4=avx2_fdr_exec_teddy_msks4 - -Dfdr_exec_teddy_msks4_pck=avx2_fdr_exec_teddy_msks4_pck - -DflushQueuedLiterals_i=avx2_flushQueuedLiterals_i - -DflushStoredSomMatches_i=avx2_flushStoredSomMatches_i - -DhandleSomExternal=avx2_handleSomExternal - -DhandleSomInternal=avx2_handleSomInternal - -Dhs_alloc_scratch=avx2_hs_alloc_scratch - -Dhs_clone_scratch=avx2_hs_clone_scratch - -Dhs_close_stream=avx2_hs_close_stream - -Dhs_compress_stream=avx2_hs_compress_stream - -Dhs_copy_stream=avx2_hs_copy_stream - -Dhs_database_alloc=avx2_hs_database_alloc - -Dhs_database_free=avx2_hs_database_free - -Dhs_database_info=avx2_hs_database_info - -Dhs_database_size=avx2_hs_database_size - -Dhs_deserialize_database=avx2_hs_deserialize_database - -Dhs_deserialize_database_at=avx2_hs_deserialize_database_at - -Dhs_expand_stream=avx2_hs_expand_stream - -Dhs_free_database=avx2_hs_free_database - -Dhs_free_scratch=avx2_hs_free_scratch - -Dhs_misc_alloc=avx2_hs_misc_alloc - -Dhs_misc_free=avx2_hs_misc_free - -Dhs_open_stream=avx2_hs_open_stream - -Dhs_reset_and_copy_stream=avx2_hs_reset_and_copy_stream - -Dhs_reset_and_expand_stream=avx2_hs_reset_and_expand_stream - -Dhs_reset_stream=avx2_hs_reset_stream - -Dhs_scan=avx2_hs_scan - -Dhs_scan_stream=avx2_hs_scan_stream - -Dhs_scan_vector=avx2_hs_scan_vector - -Dhs_scratch_alloc=avx2_hs_scratch_alloc - -Dhs_scratch_free=avx2_hs_scratch_free - -Dhs_scratch_size=avx2_hs_scratch_size - -Dhs_serialize_database=avx2_hs_serialize_database - -Dhs_serialized_database_info=avx2_hs_serialized_database_info - -Dhs_serialized_database_size=avx2_hs_serialized_database_size - -Dhs_set_allocator=avx2_hs_set_allocator - -Dhs_set_database_allocator=avx2_hs_set_database_allocator - -Dhs_set_misc_allocator=avx2_hs_set_misc_allocator - -Dhs_set_scratch_allocator=avx2_hs_set_scratch_allocator - -Dhs_set_stream_allocator=avx2_hs_set_stream_allocator - -Dhs_stream_alloc=avx2_hs_stream_alloc - -Dhs_stream_free=avx2_hs_stream_free - -Dhs_stream_size=avx2_hs_stream_size - -Dhs_valid_platform=avx2_hs_valid_platform - -Dhs_version=avx2_hs_version - -DhwlmExec=avx2_hwlmExec - -DhwlmExecStreaming=avx2_hwlmExecStreaming - -DloadSomFromStream=avx2_loadSomFromStream - -Dloadcompressed128=avx2_loadcompressed128 - -Dloadcompressed256=avx2_loadcompressed256 - -Dloadcompressed32=avx2_loadcompressed32 - -Dloadcompressed384=avx2_loadcompressed384 - -Dloadcompressed512=avx2_loadcompressed512 - -Dloadcompressed64=avx2_loadcompressed64 - -Dmcsheng_pext_mask=avx2_mcsheng_pext_mask - -Dmm_mask_mask=avx2_mm_mask_mask - -Dmm_shuffle_end=avx2_mm_shuffle_end - -Dmmbit_keyshift_lut=avx2_mmbit_keyshift_lut - -Dmmbit_maxlevel_direct_lut=avx2_mmbit_maxlevel_direct_lut - -Dmmbit_maxlevel_from_keyshift_lut=avx2_mmbit_maxlevel_from_keyshift_lut - -Dmmbit_root_offset_from_level=avx2_mmbit_root_offset_from_level - -Dmmbit_zero_to_lut=avx2_mmbit_zero_to_lut - -DnfaBlockExecReverse=avx2_nfaBlockExecReverse - -DnfaCheckFinalState=avx2_nfaCheckFinalState - -DnfaExecCastle_Q=avx2_nfaExecCastle_Q - -DnfaExecCastle_Q2=avx2_nfaExecCastle_Q2 - -DnfaExecCastle_QR=avx2_nfaExecCastle_QR - -DnfaExecCastle_expandState=avx2_nfaExecCastle_expandState - -DnfaExecCastle_inAccept=avx2_nfaExecCastle_inAccept - -DnfaExecCastle_inAnyAccept=avx2_nfaExecCastle_inAnyAccept - -DnfaExecCastle_initCompressedState=avx2_nfaExecCastle_initCompressedState - -DnfaExecCastle_queueCompressState=avx2_nfaExecCastle_queueCompressState - -DnfaExecCastle_queueInitState=avx2_nfaExecCastle_queueInitState - -DnfaExecCastle_reportCurrent=avx2_nfaExecCastle_reportCurrent - -DnfaExecGough16_Q=avx2_nfaExecGough16_Q - -DnfaExecGough16_Q2=avx2_nfaExecGough16_Q2 - -DnfaExecGough16_QR=avx2_nfaExecGough16_QR - -DnfaExecGough16_expandState=avx2_nfaExecGough16_expandState - -DnfaExecGough16_inAccept=avx2_nfaExecGough16_inAccept - -DnfaExecGough16_inAnyAccept=avx2_nfaExecGough16_inAnyAccept - -DnfaExecGough16_initCompressedState=avx2_nfaExecGough16_initCompressedState - -DnfaExecGough16_queueCompressState=avx2_nfaExecGough16_queueCompressState - -DnfaExecGough16_queueInitState=avx2_nfaExecGough16_queueInitState - -DnfaExecGough16_reportCurrent=avx2_nfaExecGough16_reportCurrent - -DnfaExecGough16_testEOD=avx2_nfaExecGough16_testEOD - -DnfaExecGough8_Q=avx2_nfaExecGough8_Q - -DnfaExecGough8_Q2=avx2_nfaExecGough8_Q2 - -DnfaExecGough8_QR=avx2_nfaExecGough8_QR - -DnfaExecGough8_expandState=avx2_nfaExecGough8_expandState - -DnfaExecGough8_inAccept=avx2_nfaExecGough8_inAccept - -DnfaExecGough8_inAnyAccept=avx2_nfaExecGough8_inAnyAccept - -DnfaExecGough8_initCompressedState=avx2_nfaExecGough8_initCompressedState - -DnfaExecGough8_queueCompressState=avx2_nfaExecGough8_queueCompressState - -DnfaExecGough8_queueInitState=avx2_nfaExecGough8_queueInitState - -DnfaExecGough8_reportCurrent=avx2_nfaExecGough8_reportCurrent - -DnfaExecGough8_testEOD=avx2_nfaExecGough8_testEOD - -DnfaExecLbrDot_Q=avx2_nfaExecLbrDot_Q - -DnfaExecLbrDot_Q2=avx2_nfaExecLbrDot_Q2 - -DnfaExecLbrDot_QR=avx2_nfaExecLbrDot_QR - -DnfaExecLbrDot_expandState=avx2_nfaExecLbrDot_expandState - -DnfaExecLbrDot_inAccept=avx2_nfaExecLbrDot_inAccept - -DnfaExecLbrDot_inAnyAccept=avx2_nfaExecLbrDot_inAnyAccept - -DnfaExecLbrDot_initCompressedState=avx2_nfaExecLbrDot_initCompressedState - -DnfaExecLbrDot_queueCompressState=avx2_nfaExecLbrDot_queueCompressState - -DnfaExecLbrDot_queueInitState=avx2_nfaExecLbrDot_queueInitState - -DnfaExecLbrDot_reportCurrent=avx2_nfaExecLbrDot_reportCurrent - -DnfaExecLbrNVerm_Q=avx2_nfaExecLbrNVerm_Q - -DnfaExecLbrNVerm_Q2=avx2_nfaExecLbrNVerm_Q2 - -DnfaExecLbrNVerm_QR=avx2_nfaExecLbrNVerm_QR - -DnfaExecLbrNVerm_expandState=avx2_nfaExecLbrNVerm_expandState - -DnfaExecLbrNVerm_inAccept=avx2_nfaExecLbrNVerm_inAccept - -DnfaExecLbrNVerm_inAnyAccept=avx2_nfaExecLbrNVerm_inAnyAccept - -DnfaExecLbrNVerm_initCompressedState=avx2_nfaExecLbrNVerm_initCompressedState - -DnfaExecLbrNVerm_queueCompressState=avx2_nfaExecLbrNVerm_queueCompressState - -DnfaExecLbrNVerm_queueInitState=avx2_nfaExecLbrNVerm_queueInitState - -DnfaExecLbrNVerm_reportCurrent=avx2_nfaExecLbrNVerm_reportCurrent - -DnfaExecLbrShuf_Q=avx2_nfaExecLbrShuf_Q - -DnfaExecLbrShuf_Q2=avx2_nfaExecLbrShuf_Q2 - -DnfaExecLbrShuf_QR=avx2_nfaExecLbrShuf_QR - -DnfaExecLbrShuf_expandState=avx2_nfaExecLbrShuf_expandState - -DnfaExecLbrShuf_inAccept=avx2_nfaExecLbrShuf_inAccept - -DnfaExecLbrShuf_inAnyAccept=avx2_nfaExecLbrShuf_inAnyAccept - -DnfaExecLbrShuf_initCompressedState=avx2_nfaExecLbrShuf_initCompressedState - -DnfaExecLbrShuf_queueCompressState=avx2_nfaExecLbrShuf_queueCompressState - -DnfaExecLbrShuf_queueInitState=avx2_nfaExecLbrShuf_queueInitState - -DnfaExecLbrShuf_reportCurrent=avx2_nfaExecLbrShuf_reportCurrent - -DnfaExecLbrTruf_Q=avx2_nfaExecLbrTruf_Q - -DnfaExecLbrTruf_Q2=avx2_nfaExecLbrTruf_Q2 - -DnfaExecLbrTruf_QR=avx2_nfaExecLbrTruf_QR - -DnfaExecLbrTruf_expandState=avx2_nfaExecLbrTruf_expandState - -DnfaExecLbrTruf_inAccept=avx2_nfaExecLbrTruf_inAccept - -DnfaExecLbrTruf_inAnyAccept=avx2_nfaExecLbrTruf_inAnyAccept - -DnfaExecLbrTruf_initCompressedState=avx2_nfaExecLbrTruf_initCompressedState - -DnfaExecLbrTruf_queueCompressState=avx2_nfaExecLbrTruf_queueCompressState - -DnfaExecLbrTruf_queueInitState=avx2_nfaExecLbrTruf_queueInitState - -DnfaExecLbrTruf_reportCurrent=avx2_nfaExecLbrTruf_reportCurrent - -DnfaExecLbrVerm_Q=avx2_nfaExecLbrVerm_Q - -DnfaExecLbrVerm_Q2=avx2_nfaExecLbrVerm_Q2 - -DnfaExecLbrVerm_QR=avx2_nfaExecLbrVerm_QR - -DnfaExecLbrVerm_expandState=avx2_nfaExecLbrVerm_expandState - -DnfaExecLbrVerm_inAccept=avx2_nfaExecLbrVerm_inAccept - -DnfaExecLbrVerm_inAnyAccept=avx2_nfaExecLbrVerm_inAnyAccept - -DnfaExecLbrVerm_initCompressedState=avx2_nfaExecLbrVerm_initCompressedState - -DnfaExecLbrVerm_queueCompressState=avx2_nfaExecLbrVerm_queueCompressState - -DnfaExecLbrVerm_queueInitState=avx2_nfaExecLbrVerm_queueInitState - -DnfaExecLbrVerm_reportCurrent=avx2_nfaExecLbrVerm_reportCurrent - -DnfaExecLimEx128_B_Reverse=avx2_nfaExecLimEx128_B_Reverse - -DnfaExecLimEx128_Q=avx2_nfaExecLimEx128_Q - -DnfaExecLimEx128_Q2=avx2_nfaExecLimEx128_Q2 - -DnfaExecLimEx128_QR=avx2_nfaExecLimEx128_QR - -DnfaExecLimEx128_expandState=avx2_nfaExecLimEx128_expandState - -DnfaExecLimEx128_inAccept=avx2_nfaExecLimEx128_inAccept - -DnfaExecLimEx128_inAnyAccept=avx2_nfaExecLimEx128_inAnyAccept - -DnfaExecLimEx128_initCompressedState=avx2_nfaExecLimEx128_initCompressedState - -DnfaExecLimEx128_queueCompressState=avx2_nfaExecLimEx128_queueCompressState - -DnfaExecLimEx128_queueInitState=avx2_nfaExecLimEx128_queueInitState - -DnfaExecLimEx128_reportCurrent=avx2_nfaExecLimEx128_reportCurrent - -DnfaExecLimEx128_testEOD=avx2_nfaExecLimEx128_testEOD - -DnfaExecLimEx128_zombie_status=avx2_nfaExecLimEx128_zombie_status - -DnfaExecLimEx256_B_Reverse=avx2_nfaExecLimEx256_B_Reverse - -DnfaExecLimEx256_Q=avx2_nfaExecLimEx256_Q - -DnfaExecLimEx256_Q2=avx2_nfaExecLimEx256_Q2 - -DnfaExecLimEx256_QR=avx2_nfaExecLimEx256_QR - -DnfaExecLimEx256_expandState=avx2_nfaExecLimEx256_expandState - -DnfaExecLimEx256_inAccept=avx2_nfaExecLimEx256_inAccept - -DnfaExecLimEx256_inAnyAccept=avx2_nfaExecLimEx256_inAnyAccept - -DnfaExecLimEx256_initCompressedState=avx2_nfaExecLimEx256_initCompressedState - -DnfaExecLimEx256_queueCompressState=avx2_nfaExecLimEx256_queueCompressState - -DnfaExecLimEx256_queueInitState=avx2_nfaExecLimEx256_queueInitState - -DnfaExecLimEx256_reportCurrent=avx2_nfaExecLimEx256_reportCurrent - -DnfaExecLimEx256_testEOD=avx2_nfaExecLimEx256_testEOD - -DnfaExecLimEx256_zombie_status=avx2_nfaExecLimEx256_zombie_status - -DnfaExecLimEx32_B_Reverse=avx2_nfaExecLimEx32_B_Reverse - -DnfaExecLimEx32_Q=avx2_nfaExecLimEx32_Q - -DnfaExecLimEx32_Q2=avx2_nfaExecLimEx32_Q2 - -DnfaExecLimEx32_QR=avx2_nfaExecLimEx32_QR - -DnfaExecLimEx32_expandState=avx2_nfaExecLimEx32_expandState - -DnfaExecLimEx32_inAccept=avx2_nfaExecLimEx32_inAccept - -DnfaExecLimEx32_inAnyAccept=avx2_nfaExecLimEx32_inAnyAccept - -DnfaExecLimEx32_initCompressedState=avx2_nfaExecLimEx32_initCompressedState - -DnfaExecLimEx32_queueCompressState=avx2_nfaExecLimEx32_queueCompressState - -DnfaExecLimEx32_queueInitState=avx2_nfaExecLimEx32_queueInitState - -DnfaExecLimEx32_reportCurrent=avx2_nfaExecLimEx32_reportCurrent - -DnfaExecLimEx32_testEOD=avx2_nfaExecLimEx32_testEOD - -DnfaExecLimEx32_zombie_status=avx2_nfaExecLimEx32_zombie_status - -DnfaExecLimEx384_B_Reverse=avx2_nfaExecLimEx384_B_Reverse - -DnfaExecLimEx384_Q=avx2_nfaExecLimEx384_Q - -DnfaExecLimEx384_Q2=avx2_nfaExecLimEx384_Q2 - -DnfaExecLimEx384_QR=avx2_nfaExecLimEx384_QR - -DnfaExecLimEx384_expandState=avx2_nfaExecLimEx384_expandState - -DnfaExecLimEx384_inAccept=avx2_nfaExecLimEx384_inAccept - -DnfaExecLimEx384_inAnyAccept=avx2_nfaExecLimEx384_inAnyAccept - -DnfaExecLimEx384_initCompressedState=avx2_nfaExecLimEx384_initCompressedState - -DnfaExecLimEx384_queueCompressState=avx2_nfaExecLimEx384_queueCompressState - -DnfaExecLimEx384_queueInitState=avx2_nfaExecLimEx384_queueInitState - -DnfaExecLimEx384_reportCurrent=avx2_nfaExecLimEx384_reportCurrent - -DnfaExecLimEx384_testEOD=avx2_nfaExecLimEx384_testEOD - -DnfaExecLimEx384_zombie_status=avx2_nfaExecLimEx384_zombie_status - -DnfaExecLimEx512_B_Reverse=avx2_nfaExecLimEx512_B_Reverse - -DnfaExecLimEx512_Q=avx2_nfaExecLimEx512_Q - -DnfaExecLimEx512_Q2=avx2_nfaExecLimEx512_Q2 - -DnfaExecLimEx512_QR=avx2_nfaExecLimEx512_QR - -DnfaExecLimEx512_expandState=avx2_nfaExecLimEx512_expandState - -DnfaExecLimEx512_inAccept=avx2_nfaExecLimEx512_inAccept - -DnfaExecLimEx512_inAnyAccept=avx2_nfaExecLimEx512_inAnyAccept - -DnfaExecLimEx512_initCompressedState=avx2_nfaExecLimEx512_initCompressedState - -DnfaExecLimEx512_queueCompressState=avx2_nfaExecLimEx512_queueCompressState - -DnfaExecLimEx512_queueInitState=avx2_nfaExecLimEx512_queueInitState - -DnfaExecLimEx512_reportCurrent=avx2_nfaExecLimEx512_reportCurrent - -DnfaExecLimEx512_testEOD=avx2_nfaExecLimEx512_testEOD - -DnfaExecLimEx512_zombie_status=avx2_nfaExecLimEx512_zombie_status - -DnfaExecLimEx64_B_Reverse=avx2_nfaExecLimEx64_B_Reverse - -DnfaExecLimEx64_Q=avx2_nfaExecLimEx64_Q - -DnfaExecLimEx64_Q2=avx2_nfaExecLimEx64_Q2 - -DnfaExecLimEx64_QR=avx2_nfaExecLimEx64_QR - -DnfaExecLimEx64_expandState=avx2_nfaExecLimEx64_expandState - -DnfaExecLimEx64_inAccept=avx2_nfaExecLimEx64_inAccept - -DnfaExecLimEx64_inAnyAccept=avx2_nfaExecLimEx64_inAnyAccept - -DnfaExecLimEx64_initCompressedState=avx2_nfaExecLimEx64_initCompressedState - -DnfaExecLimEx64_queueCompressState=avx2_nfaExecLimEx64_queueCompressState - -DnfaExecLimEx64_queueInitState=avx2_nfaExecLimEx64_queueInitState - -DnfaExecLimEx64_reportCurrent=avx2_nfaExecLimEx64_reportCurrent - -DnfaExecLimEx64_testEOD=avx2_nfaExecLimEx64_testEOD - -DnfaExecLimEx64_zombie_status=avx2_nfaExecLimEx64_zombie_status - -DnfaExecMcClellan16_B=avx2_nfaExecMcClellan16_B - -DnfaExecMcClellan16_Q=avx2_nfaExecMcClellan16_Q - -DnfaExecMcClellan16_Q2=avx2_nfaExecMcClellan16_Q2 - -DnfaExecMcClellan16_QR=avx2_nfaExecMcClellan16_QR - -DnfaExecMcClellan16_SimpStream=avx2_nfaExecMcClellan16_SimpStream - -DnfaExecMcClellan16_expandState=avx2_nfaExecMcClellan16_expandState - -DnfaExecMcClellan16_inAccept=avx2_nfaExecMcClellan16_inAccept - -DnfaExecMcClellan16_inAnyAccept=avx2_nfaExecMcClellan16_inAnyAccept - -DnfaExecMcClellan16_initCompressedState=avx2_nfaExecMcClellan16_initCompressedState - -DnfaExecMcClellan16_queueCompressState=avx2_nfaExecMcClellan16_queueCompressState - -DnfaExecMcClellan16_queueInitState=avx2_nfaExecMcClellan16_queueInitState - -DnfaExecMcClellan16_reportCurrent=avx2_nfaExecMcClellan16_reportCurrent - -DnfaExecMcClellan16_testEOD=avx2_nfaExecMcClellan16_testEOD - -DnfaExecMcClellan8_B=avx2_nfaExecMcClellan8_B - -DnfaExecMcClellan8_Q=avx2_nfaExecMcClellan8_Q - -DnfaExecMcClellan8_Q2=avx2_nfaExecMcClellan8_Q2 - -DnfaExecMcClellan8_QR=avx2_nfaExecMcClellan8_QR - -DnfaExecMcClellan8_SimpStream=avx2_nfaExecMcClellan8_SimpStream - -DnfaExecMcClellan8_expandState=avx2_nfaExecMcClellan8_expandState - -DnfaExecMcClellan8_inAccept=avx2_nfaExecMcClellan8_inAccept - -DnfaExecMcClellan8_inAnyAccept=avx2_nfaExecMcClellan8_inAnyAccept - -DnfaExecMcClellan8_initCompressedState=avx2_nfaExecMcClellan8_initCompressedState - -DnfaExecMcClellan8_queueCompressState=avx2_nfaExecMcClellan8_queueCompressState - -DnfaExecMcClellan8_queueInitState=avx2_nfaExecMcClellan8_queueInitState - -DnfaExecMcClellan8_reportCurrent=avx2_nfaExecMcClellan8_reportCurrent - -DnfaExecMcClellan8_testEOD=avx2_nfaExecMcClellan8_testEOD - -DnfaExecMcSheng16_Q=avx2_nfaExecMcSheng16_Q - -DnfaExecMcSheng16_Q2=avx2_nfaExecMcSheng16_Q2 - -DnfaExecMcSheng16_QR=avx2_nfaExecMcSheng16_QR - -DnfaExecMcSheng16_expandState=avx2_nfaExecMcSheng16_expandState - -DnfaExecMcSheng16_inAccept=avx2_nfaExecMcSheng16_inAccept - -DnfaExecMcSheng16_inAnyAccept=avx2_nfaExecMcSheng16_inAnyAccept - -DnfaExecMcSheng16_initCompressedState=avx2_nfaExecMcSheng16_initCompressedState - -DnfaExecMcSheng16_queueCompressState=avx2_nfaExecMcSheng16_queueCompressState - -DnfaExecMcSheng16_queueInitState=avx2_nfaExecMcSheng16_queueInitState - -DnfaExecMcSheng16_reportCurrent=avx2_nfaExecMcSheng16_reportCurrent - -DnfaExecMcSheng16_testEOD=avx2_nfaExecMcSheng16_testEOD - -DnfaExecMcSheng8_Q=avx2_nfaExecMcSheng8_Q - -DnfaExecMcSheng8_Q2=avx2_nfaExecMcSheng8_Q2 - -DnfaExecMcSheng8_QR=avx2_nfaExecMcSheng8_QR - -DnfaExecMcSheng8_expandState=avx2_nfaExecMcSheng8_expandState - -DnfaExecMcSheng8_inAccept=avx2_nfaExecMcSheng8_inAccept - -DnfaExecMcSheng8_inAnyAccept=avx2_nfaExecMcSheng8_inAnyAccept - -DnfaExecMcSheng8_initCompressedState=avx2_nfaExecMcSheng8_initCompressedState - -DnfaExecMcSheng8_queueCompressState=avx2_nfaExecMcSheng8_queueCompressState - -DnfaExecMcSheng8_queueInitState=avx2_nfaExecMcSheng8_queueInitState - -DnfaExecMcSheng8_reportCurrent=avx2_nfaExecMcSheng8_reportCurrent - -DnfaExecMcSheng8_testEOD=avx2_nfaExecMcSheng8_testEOD - -DnfaExecMpv_Q=avx2_nfaExecMpv_Q - -DnfaExecMpv_QueueExecRaw=avx2_nfaExecMpv_QueueExecRaw - -DnfaExecMpv_expandState=avx2_nfaExecMpv_expandState - -DnfaExecMpv_initCompressedState=avx2_nfaExecMpv_initCompressedState - -DnfaExecMpv_queueCompressState=avx2_nfaExecMpv_queueCompressState - -DnfaExecMpv_queueInitState=avx2_nfaExecMpv_queueInitState - -DnfaExecMpv_reportCurrent=avx2_nfaExecMpv_reportCurrent - -DnfaExecSheng_B=avx2_nfaExecSheng_B - -DnfaExecSheng_Q=avx2_nfaExecSheng_Q - -DnfaExecSheng_Q2=avx2_nfaExecSheng_Q2 - -DnfaExecSheng_QR=avx2_nfaExecSheng_QR - -DnfaExecSheng_expandState=avx2_nfaExecSheng_expandState - -DnfaExecSheng_inAccept=avx2_nfaExecSheng_inAccept - -DnfaExecSheng_inAnyAccept=avx2_nfaExecSheng_inAnyAccept - -DnfaExecSheng_initCompressedState=avx2_nfaExecSheng_initCompressedState - -DnfaExecSheng_queueCompressState=avx2_nfaExecSheng_queueCompressState - -DnfaExecSheng_queueInitState=avx2_nfaExecSheng_queueInitState - -DnfaExecSheng_reportCurrent=avx2_nfaExecSheng_reportCurrent - -DnfaExecSheng_testEOD=avx2_nfaExecSheng_testEOD - -DnfaExecTamarama_Q=avx2_nfaExecTamarama_Q - -DnfaExecTamarama_Q2=avx2_nfaExecTamarama_Q2 - -DnfaExecTamarama_QR=avx2_nfaExecTamarama_QR - -DnfaExecTamarama_expandState=avx2_nfaExecTamarama_expandState - -DnfaExecTamarama_inAccept=avx2_nfaExecTamarama_inAccept - -DnfaExecTamarama_inAnyAccept=avx2_nfaExecTamarama_inAnyAccept - -DnfaExecTamarama_queueCompressState=avx2_nfaExecTamarama_queueCompressState - -DnfaExecTamarama_queueInitState=avx2_nfaExecTamarama_queueInitState - -DnfaExecTamarama_reportCurrent=avx2_nfaExecTamarama_reportCurrent - -DnfaExecTamarama_testEOD=avx2_nfaExecTamarama_testEOD - -DnfaExecTamarama_zombie_status=avx2_nfaExecTamarama_zombie_status - -DnfaExpandState=avx2_nfaExpandState - -DnfaGetZombieStatus=avx2_nfaGetZombieStatus - -DnfaInAcceptState=avx2_nfaInAcceptState - -DnfaInAnyAcceptState=avx2_nfaInAnyAcceptState - -DnfaInitCompressedState=avx2_nfaInitCompressedState - -DnfaQueueCompressState=avx2_nfaQueueCompressState - -DnfaQueueExec=avx2_nfaQueueExec - -DnfaQueueExec2_raw=avx2_nfaQueueExec2_raw - -DnfaQueueExecRose=avx2_nfaQueueExecRose - -DnfaQueueExecToMatch=avx2_nfaQueueExecToMatch - -DnfaQueueExec_raw=avx2_nfaQueueExec_raw - -DnfaQueueInitState=avx2_nfaQueueInitState - -DnfaReportCurrentMatches=avx2_nfaReportCurrentMatches - -DnoodExec=avx2_noodExec - -DnoodExecStreaming=avx2_noodExecStreaming - -Dp_mask_arr=avx2_p_mask_arr - -Dp_mask_arr256=avx2_p_mask_arr256 - -DrepeatHasMatchBitmap=avx2_repeatHasMatchBitmap - -DrepeatHasMatchRange=avx2_repeatHasMatchRange - -DrepeatHasMatchRing=avx2_repeatHasMatchRing - -DrepeatHasMatchSparseOptimalP=avx2_repeatHasMatchSparseOptimalP - -DrepeatHasMatchTrailer=avx2_repeatHasMatchTrailer - -DrepeatLastTopBitmap=avx2_repeatLastTopBitmap - -DrepeatLastTopRange=avx2_repeatLastTopRange - -DrepeatLastTopRing=avx2_repeatLastTopRing - -DrepeatLastTopSparseOptimalP=avx2_repeatLastTopSparseOptimalP - -DrepeatLastTopTrailer=avx2_repeatLastTopTrailer - -DrepeatNextMatchBitmap=avx2_repeatNextMatchBitmap - -DrepeatNextMatchRange=avx2_repeatNextMatchRange - -DrepeatNextMatchRing=avx2_repeatNextMatchRing - -DrepeatNextMatchSparseOptimalP=avx2_repeatNextMatchSparseOptimalP - -DrepeatNextMatchTrailer=avx2_repeatNextMatchTrailer - -DrepeatPack=avx2_repeatPack - -DrepeatStoreBitmap=avx2_repeatStoreBitmap - -DrepeatStoreRange=avx2_repeatStoreRange - -DrepeatStoreRing=avx2_repeatStoreRing - -DrepeatStoreSparseOptimalP=avx2_repeatStoreSparseOptimalP - -DrepeatStoreTrailer=avx2_repeatStoreTrailer - -DrepeatUnpack=avx2_repeatUnpack - -DroseAnchoredCallback=avx2_roseAnchoredCallback - -DroseBlockExec=avx2_roseBlockExec - -DroseCallback=avx2_roseCallback - -DroseCatchUpAll=avx2_roseCatchUpAll - -DroseCatchUpMPV_i=avx2_roseCatchUpMPV_i - -DroseCatchUpSuf=avx2_roseCatchUpSuf - -DroseDelayRebuildCallback=avx2_roseDelayRebuildCallback - -DroseFloatingCallback=avx2_roseFloatingCallback - -DroseHandleChainMatch=avx2_roseHandleChainMatch - -DroseInitState=avx2_roseInitState - -DroseNfaAdaptor=avx2_roseNfaAdaptor - -DroseNfaEarliestSom=avx2_roseNfaEarliestSom - -DroseReportAdaptor=avx2_roseReportAdaptor - -DroseRunBoundaryProgram=avx2_roseRunBoundaryProgram - -DroseRunFlushCombProgram=avx2_roseRunFlushCombProgram - -DroseRunLastFlushCombProgram=avx2_roseRunLastFlushCombProgram - -DroseRunProgram=avx2_roseRunProgram - -DroseRunProgram_l=avx2_roseRunProgram_l - -DroseStreamEodExec=avx2_roseStreamEodExec - -DroseStreamExec=avx2_roseStreamExec - -DrshuftiExec=avx2_rshuftiExec - -DrtruffleExec=avx2_rtruffleExec - -Drun_accel=avx2_run_accel - -DsetSomFromSomAware=avx2_setSomFromSomAware - -DshuftiDoubleExec=avx2_shuftiDoubleExec - -DshuftiExec=avx2_shuftiExec - -Dsimd_onebit_masks=avx2_simd_onebit_masks - -Dsize_compress_stream=avx2_size_compress_stream - -DstoreSomToStream=avx2_storeSomToStream - -Dstorecompressed128=avx2_storecompressed128 - -Dstorecompressed256=avx2_storecompressed256 - -Dstorecompressed32=avx2_storecompressed32 - -Dstorecompressed384=avx2_storecompressed384 - -Dstorecompressed512=avx2_storecompressed512 - -Dstorecompressed64=avx2_storecompressed64 - -DstreamInitSufPQ=avx2_streamInitSufPQ - -DtruffleExec=avx2_truffleExec - -Dvbs_mask_data=avx2_vbs_mask_data - -Wno-everything -) -target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src -) -target_sources(libs-hyperscan-runtime_avx2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c -) +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/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt new file mode 100644 index 0000000000..322a106b42 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt @@ -0,0 +1,493 @@ + +# 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(libs-hyperscan-runtime_avx512) +target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -DHAVE_POPCOUNT_INSTR + -mpopcnt + -mavx + -DHAVE_AVX + -mavx2 + -mfma + -mbmi + -mbmi2 + -DHAVE_AVX2 + -mavx512f + -mavx512cd + -mavx512bw + -mavx512dq + -mavx512vl + -DHAVE_AVX512 + -DCrc32c_ComputeBuf=avx512_Crc32c_ComputeBuf + -DblockInitSufPQ=avx512_blockInitSufPQ + -Dcompress_stream=avx512_compress_stream + -Dcpuid_flags=avx512_cpuid_flags + -Dcpuid_tune=avx512_cpuid_tune + -DdbIsValid=avx512_dbIsValid + -DdoAccel128=avx512_doAccel128 + -DdoAccel256=avx512_doAccel256 + -DdoAccel32=avx512_doAccel32 + -DdoAccel384=avx512_doAccel384 + -DdoAccel512=avx512_doAccel512 + -DdoAccel64=avx512_doAccel64 + -Dexpand_stream=avx512_expand_stream + -DfdrExec=avx512_fdrExec + -DfdrExecStreaming=avx512_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx512_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx512_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx512_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx512_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx512_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx512_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx512_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx512_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx512_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx512_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx512_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx512_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx512_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx512_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx512_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx512_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx512_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx512_flushStoredSomMatches_i + -DhandleSomExternal=avx512_handleSomExternal + -DhandleSomInternal=avx512_handleSomInternal + -Dhs_alloc_scratch=avx512_hs_alloc_scratch + -Dhs_clone_scratch=avx512_hs_clone_scratch + -Dhs_close_stream=avx512_hs_close_stream + -Dhs_compress_stream=avx512_hs_compress_stream + -Dhs_copy_stream=avx512_hs_copy_stream + -Dhs_database_alloc=avx512_hs_database_alloc + -Dhs_database_free=avx512_hs_database_free + -Dhs_database_info=avx512_hs_database_info + -Dhs_database_size=avx512_hs_database_size + -Dhs_deserialize_database=avx512_hs_deserialize_database + -Dhs_deserialize_database_at=avx512_hs_deserialize_database_at + -Dhs_expand_stream=avx512_hs_expand_stream + -Dhs_free_database=avx512_hs_free_database + -Dhs_free_scratch=avx512_hs_free_scratch + -Dhs_misc_alloc=avx512_hs_misc_alloc + -Dhs_misc_free=avx512_hs_misc_free + -Dhs_open_stream=avx512_hs_open_stream + -Dhs_reset_and_copy_stream=avx512_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx512_hs_reset_and_expand_stream + -Dhs_reset_stream=avx512_hs_reset_stream + -Dhs_scan=avx512_hs_scan + -Dhs_scan_stream=avx512_hs_scan_stream + -Dhs_scan_vector=avx512_hs_scan_vector + -Dhs_scratch_alloc=avx512_hs_scratch_alloc + -Dhs_scratch_free=avx512_hs_scratch_free + -Dhs_scratch_size=avx512_hs_scratch_size + -Dhs_serialize_database=avx512_hs_serialize_database + -Dhs_serialized_database_info=avx512_hs_serialized_database_info + -Dhs_serialized_database_size=avx512_hs_serialized_database_size + -Dhs_set_allocator=avx512_hs_set_allocator + -Dhs_set_database_allocator=avx512_hs_set_database_allocator + -Dhs_set_misc_allocator=avx512_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx512_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx512_hs_set_stream_allocator + -Dhs_stream_alloc=avx512_hs_stream_alloc + -Dhs_stream_free=avx512_hs_stream_free + -Dhs_stream_size=avx512_hs_stream_size + -Dhs_valid_platform=avx512_hs_valid_platform + -Dhs_version=avx512_hs_version + -DhwlmExec=avx512_hwlmExec + -DhwlmExecStreaming=avx512_hwlmExecStreaming + -DloadSomFromStream=avx512_loadSomFromStream + -Dloadcompressed128=avx512_loadcompressed128 + -Dloadcompressed256=avx512_loadcompressed256 + -Dloadcompressed32=avx512_loadcompressed32 + -Dloadcompressed384=avx512_loadcompressed384 + -Dloadcompressed512=avx512_loadcompressed512 + -Dloadcompressed64=avx512_loadcompressed64 + -Dmcsheng_pext_mask=avx512_mcsheng_pext_mask + -Dmm_mask_mask=avx512_mm_mask_mask + -Dmm_shuffle_end=avx512_mm_shuffle_end + -Dmmbit_keyshift_lut=avx512_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx512_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx512_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx512_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx512_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx512_nfaBlockExecReverse + -DnfaCheckFinalState=avx512_nfaCheckFinalState + -DnfaExecCastle_Q=avx512_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx512_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx512_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx512_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx512_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx512_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx512_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx512_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx512_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx512_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx512_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx512_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx512_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx512_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx512_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx512_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx512_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx512_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx512_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx512_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx512_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx512_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx512_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx512_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx512_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx512_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx512_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx512_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx512_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx512_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx512_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx512_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx512_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx512_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx512_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx512_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx512_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx512_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx512_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx512_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx512_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx512_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx512_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx512_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx512_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx512_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx512_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx512_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx512_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx512_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx512_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx512_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx512_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx512_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx512_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx512_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx512_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx512_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx512_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx512_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx512_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx512_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx512_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx512_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx512_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx512_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx512_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx512_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx512_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx512_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx512_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx512_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx512_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx512_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx512_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx512_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx512_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx512_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx512_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx512_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx512_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx512_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx512_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx512_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx512_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx512_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx512_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx512_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx512_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx512_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx512_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx512_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx512_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx512_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx512_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx512_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx512_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx512_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx512_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx512_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx512_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx512_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx512_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx512_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx512_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx512_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx512_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx512_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx512_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx512_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx512_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx512_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx512_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx512_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx512_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx512_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx512_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx512_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx512_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx512_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx512_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx512_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx512_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx512_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx512_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx512_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx512_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx512_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx512_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx512_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx512_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx512_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx512_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx512_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx512_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx512_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx512_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx512_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx512_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx512_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx512_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx512_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx512_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx512_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx512_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx512_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx512_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx512_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx512_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx512_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx512_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx512_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx512_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx512_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx512_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx512_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx512_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx512_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx512_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx512_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx512_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx512_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx512_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx512_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx512_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx512_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx512_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx512_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx512_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx512_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx512_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx512_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx512_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx512_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx512_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx512_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx512_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx512_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx512_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx512_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx512_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx512_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx512_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx512_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx512_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx512_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx512_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx512_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx512_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx512_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx512_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx512_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx512_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx512_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx512_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx512_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx512_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx512_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx512_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx512_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx512_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx512_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx512_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx512_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx512_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx512_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx512_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx512_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx512_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx512_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx512_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx512_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx512_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx512_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx512_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx512_nfaExecSheng_B + -DnfaExecSheng_Q=avx512_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx512_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx512_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx512_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx512_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx512_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx512_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx512_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx512_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx512_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx512_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx512_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx512_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx512_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx512_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx512_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx512_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx512_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx512_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx512_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx512_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx512_nfaExecTamarama_zombie_status + -DnfaExpandState=avx512_nfaExpandState + -DnfaGetZombieStatus=avx512_nfaGetZombieStatus + -DnfaInAcceptState=avx512_nfaInAcceptState + -DnfaInAnyAcceptState=avx512_nfaInAnyAcceptState + -DnfaInitCompressedState=avx512_nfaInitCompressedState + -DnfaQueueCompressState=avx512_nfaQueueCompressState + -DnfaQueueExec=avx512_nfaQueueExec + -DnfaQueueExec2_raw=avx512_nfaQueueExec2_raw + -DnfaQueueExecRose=avx512_nfaQueueExecRose + -DnfaQueueExecToMatch=avx512_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx512_nfaQueueExec_raw + -DnfaQueueInitState=avx512_nfaQueueInitState + -DnfaReportCurrentMatches=avx512_nfaReportCurrentMatches + -DnoodExec=avx512_noodExec + -DnoodExecStreaming=avx512_noodExecStreaming + -Dp_mask_arr=avx512_p_mask_arr + -Dp_mask_arr256=avx512_p_mask_arr256 + -DrepeatHasMatchBitmap=avx512_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx512_repeatHasMatchRange + -DrepeatHasMatchRing=avx512_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx512_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx512_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx512_repeatLastTopBitmap + -DrepeatLastTopRange=avx512_repeatLastTopRange + -DrepeatLastTopRing=avx512_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx512_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx512_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx512_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx512_repeatNextMatchRange + -DrepeatNextMatchRing=avx512_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx512_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx512_repeatNextMatchTrailer + -DrepeatPack=avx512_repeatPack + -DrepeatStoreBitmap=avx512_repeatStoreBitmap + -DrepeatStoreRange=avx512_repeatStoreRange + -DrepeatStoreRing=avx512_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx512_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx512_repeatStoreTrailer + -DrepeatUnpack=avx512_repeatUnpack + -DroseAnchoredCallback=avx512_roseAnchoredCallback + -DroseBlockExec=avx512_roseBlockExec + -DroseCallback=avx512_roseCallback + -DroseCatchUpAll=avx512_roseCatchUpAll + -DroseCatchUpMPV_i=avx512_roseCatchUpMPV_i + -DroseCatchUpSuf=avx512_roseCatchUpSuf + -DroseDelayRebuildCallback=avx512_roseDelayRebuildCallback + -DroseFloatingCallback=avx512_roseFloatingCallback + -DroseHandleChainMatch=avx512_roseHandleChainMatch + -DroseInitState=avx512_roseInitState + -DroseNfaAdaptor=avx512_roseNfaAdaptor + -DroseNfaEarliestSom=avx512_roseNfaEarliestSom + -DroseReportAdaptor=avx512_roseReportAdaptor + -DroseRunBoundaryProgram=avx512_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx512_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx512_roseRunLastFlushCombProgram + -DroseRunProgram=avx512_roseRunProgram + -DroseRunProgram_l=avx512_roseRunProgram_l + -DroseStreamEodExec=avx512_roseStreamEodExec + -DroseStreamExec=avx512_roseStreamExec + -DrshuftiExec=avx512_rshuftiExec + -DrtruffleExec=avx512_rtruffleExec + -Drun_accel=avx512_run_accel + -DsetSomFromSomAware=avx512_setSomFromSomAware + -DshuftiDoubleExec=avx512_shuftiDoubleExec + -DshuftiExec=avx512_shuftiExec + -Dsimd_onebit_masks=avx512_simd_onebit_masks + -Dsize_compress_stream=avx512_size_compress_stream + -DstoreSomToStream=avx512_storeSomToStream + -Dstorecompressed128=avx512_storecompressed128 + -Dstorecompressed256=avx512_storecompressed256 + -Dstorecompressed32=avx512_storecompressed32 + -Dstorecompressed384=avx512_storecompressed384 + -Dstorecompressed512=avx512_storecompressed512 + -Dstorecompressed64=avx512_storecompressed64 + -DstreamInitSufPQ=avx512_streamInitSufPQ + -DtruffleExec=avx512_truffleExec + -Dvbs_mask_data=avx512_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux-aarch64.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..bcfac9809c --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux-aarch64.txt @@ -0,0 +1,480 @@ + +# 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(libs-hyperscan-runtime_avx512) +target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE + -DHAVE_SSE41 + -DHAVE_SSE42 + -DHAVE_POPCOUNT_INSTR + -DHAVE_AVX + -DHAVE_AVX2 + -DHAVE_AVX512 + -DCrc32c_ComputeBuf=avx512_Crc32c_ComputeBuf + -DblockInitSufPQ=avx512_blockInitSufPQ + -Dcompress_stream=avx512_compress_stream + -Dcpuid_flags=avx512_cpuid_flags + -Dcpuid_tune=avx512_cpuid_tune + -DdbIsValid=avx512_dbIsValid + -DdoAccel128=avx512_doAccel128 + -DdoAccel256=avx512_doAccel256 + -DdoAccel32=avx512_doAccel32 + -DdoAccel384=avx512_doAccel384 + -DdoAccel512=avx512_doAccel512 + -DdoAccel64=avx512_doAccel64 + -Dexpand_stream=avx512_expand_stream + -DfdrExec=avx512_fdrExec + -DfdrExecStreaming=avx512_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx512_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx512_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx512_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx512_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx512_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx512_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx512_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx512_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx512_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx512_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx512_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx512_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx512_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx512_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx512_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx512_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx512_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx512_flushStoredSomMatches_i + -DhandleSomExternal=avx512_handleSomExternal + -DhandleSomInternal=avx512_handleSomInternal + -Dhs_alloc_scratch=avx512_hs_alloc_scratch + -Dhs_clone_scratch=avx512_hs_clone_scratch + -Dhs_close_stream=avx512_hs_close_stream + -Dhs_compress_stream=avx512_hs_compress_stream + -Dhs_copy_stream=avx512_hs_copy_stream + -Dhs_database_alloc=avx512_hs_database_alloc + -Dhs_database_free=avx512_hs_database_free + -Dhs_database_info=avx512_hs_database_info + -Dhs_database_size=avx512_hs_database_size + -Dhs_deserialize_database=avx512_hs_deserialize_database + -Dhs_deserialize_database_at=avx512_hs_deserialize_database_at + -Dhs_expand_stream=avx512_hs_expand_stream + -Dhs_free_database=avx512_hs_free_database + -Dhs_free_scratch=avx512_hs_free_scratch + -Dhs_misc_alloc=avx512_hs_misc_alloc + -Dhs_misc_free=avx512_hs_misc_free + -Dhs_open_stream=avx512_hs_open_stream + -Dhs_reset_and_copy_stream=avx512_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx512_hs_reset_and_expand_stream + -Dhs_reset_stream=avx512_hs_reset_stream + -Dhs_scan=avx512_hs_scan + -Dhs_scan_stream=avx512_hs_scan_stream + -Dhs_scan_vector=avx512_hs_scan_vector + -Dhs_scratch_alloc=avx512_hs_scratch_alloc + -Dhs_scratch_free=avx512_hs_scratch_free + -Dhs_scratch_size=avx512_hs_scratch_size + -Dhs_serialize_database=avx512_hs_serialize_database + -Dhs_serialized_database_info=avx512_hs_serialized_database_info + -Dhs_serialized_database_size=avx512_hs_serialized_database_size + -Dhs_set_allocator=avx512_hs_set_allocator + -Dhs_set_database_allocator=avx512_hs_set_database_allocator + -Dhs_set_misc_allocator=avx512_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx512_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx512_hs_set_stream_allocator + -Dhs_stream_alloc=avx512_hs_stream_alloc + -Dhs_stream_free=avx512_hs_stream_free + -Dhs_stream_size=avx512_hs_stream_size + -Dhs_valid_platform=avx512_hs_valid_platform + -Dhs_version=avx512_hs_version + -DhwlmExec=avx512_hwlmExec + -DhwlmExecStreaming=avx512_hwlmExecStreaming + -DloadSomFromStream=avx512_loadSomFromStream + -Dloadcompressed128=avx512_loadcompressed128 + -Dloadcompressed256=avx512_loadcompressed256 + -Dloadcompressed32=avx512_loadcompressed32 + -Dloadcompressed384=avx512_loadcompressed384 + -Dloadcompressed512=avx512_loadcompressed512 + -Dloadcompressed64=avx512_loadcompressed64 + -Dmcsheng_pext_mask=avx512_mcsheng_pext_mask + -Dmm_mask_mask=avx512_mm_mask_mask + -Dmm_shuffle_end=avx512_mm_shuffle_end + -Dmmbit_keyshift_lut=avx512_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx512_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx512_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx512_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx512_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx512_nfaBlockExecReverse + -DnfaCheckFinalState=avx512_nfaCheckFinalState + -DnfaExecCastle_Q=avx512_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx512_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx512_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx512_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx512_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx512_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx512_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx512_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx512_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx512_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx512_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx512_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx512_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx512_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx512_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx512_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx512_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx512_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx512_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx512_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx512_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx512_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx512_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx512_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx512_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx512_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx512_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx512_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx512_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx512_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx512_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx512_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx512_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx512_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx512_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx512_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx512_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx512_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx512_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx512_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx512_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx512_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx512_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx512_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx512_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx512_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx512_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx512_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx512_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx512_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx512_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx512_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx512_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx512_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx512_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx512_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx512_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx512_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx512_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx512_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx512_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx512_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx512_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx512_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx512_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx512_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx512_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx512_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx512_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx512_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx512_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx512_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx512_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx512_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx512_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx512_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx512_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx512_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx512_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx512_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx512_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx512_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx512_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx512_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx512_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx512_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx512_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx512_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx512_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx512_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx512_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx512_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx512_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx512_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx512_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx512_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx512_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx512_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx512_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx512_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx512_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx512_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx512_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx512_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx512_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx512_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx512_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx512_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx512_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx512_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx512_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx512_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx512_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx512_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx512_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx512_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx512_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx512_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx512_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx512_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx512_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx512_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx512_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx512_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx512_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx512_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx512_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx512_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx512_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx512_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx512_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx512_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx512_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx512_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx512_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx512_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx512_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx512_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx512_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx512_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx512_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx512_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx512_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx512_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx512_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx512_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx512_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx512_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx512_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx512_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx512_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx512_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx512_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx512_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx512_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx512_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx512_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx512_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx512_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx512_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx512_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx512_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx512_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx512_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx512_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx512_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx512_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx512_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx512_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx512_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx512_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx512_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx512_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx512_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx512_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx512_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx512_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx512_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx512_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx512_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx512_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx512_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx512_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx512_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx512_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx512_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx512_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx512_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx512_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx512_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx512_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx512_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx512_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx512_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx512_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx512_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx512_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx512_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx512_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx512_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx512_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx512_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx512_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx512_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx512_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx512_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx512_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx512_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx512_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx512_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx512_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx512_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx512_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx512_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx512_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx512_nfaExecSheng_B + -DnfaExecSheng_Q=avx512_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx512_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx512_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx512_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx512_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx512_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx512_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx512_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx512_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx512_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx512_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx512_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx512_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx512_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx512_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx512_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx512_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx512_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx512_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx512_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx512_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx512_nfaExecTamarama_zombie_status + -DnfaExpandState=avx512_nfaExpandState + -DnfaGetZombieStatus=avx512_nfaGetZombieStatus + -DnfaInAcceptState=avx512_nfaInAcceptState + -DnfaInAnyAcceptState=avx512_nfaInAnyAcceptState + -DnfaInitCompressedState=avx512_nfaInitCompressedState + -DnfaQueueCompressState=avx512_nfaQueueCompressState + -DnfaQueueExec=avx512_nfaQueueExec + -DnfaQueueExec2_raw=avx512_nfaQueueExec2_raw + -DnfaQueueExecRose=avx512_nfaQueueExecRose + -DnfaQueueExecToMatch=avx512_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx512_nfaQueueExec_raw + -DnfaQueueInitState=avx512_nfaQueueInitState + -DnfaReportCurrentMatches=avx512_nfaReportCurrentMatches + -DnoodExec=avx512_noodExec + -DnoodExecStreaming=avx512_noodExecStreaming + -Dp_mask_arr=avx512_p_mask_arr + -Dp_mask_arr256=avx512_p_mask_arr256 + -DrepeatHasMatchBitmap=avx512_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx512_repeatHasMatchRange + -DrepeatHasMatchRing=avx512_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx512_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx512_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx512_repeatLastTopBitmap + -DrepeatLastTopRange=avx512_repeatLastTopRange + -DrepeatLastTopRing=avx512_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx512_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx512_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx512_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx512_repeatNextMatchRange + -DrepeatNextMatchRing=avx512_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx512_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx512_repeatNextMatchTrailer + -DrepeatPack=avx512_repeatPack + -DrepeatStoreBitmap=avx512_repeatStoreBitmap + -DrepeatStoreRange=avx512_repeatStoreRange + -DrepeatStoreRing=avx512_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx512_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx512_repeatStoreTrailer + -DrepeatUnpack=avx512_repeatUnpack + -DroseAnchoredCallback=avx512_roseAnchoredCallback + -DroseBlockExec=avx512_roseBlockExec + -DroseCallback=avx512_roseCallback + -DroseCatchUpAll=avx512_roseCatchUpAll + -DroseCatchUpMPV_i=avx512_roseCatchUpMPV_i + -DroseCatchUpSuf=avx512_roseCatchUpSuf + -DroseDelayRebuildCallback=avx512_roseDelayRebuildCallback + -DroseFloatingCallback=avx512_roseFloatingCallback + -DroseHandleChainMatch=avx512_roseHandleChainMatch + -DroseInitState=avx512_roseInitState + -DroseNfaAdaptor=avx512_roseNfaAdaptor + -DroseNfaEarliestSom=avx512_roseNfaEarliestSom + -DroseReportAdaptor=avx512_roseReportAdaptor + -DroseRunBoundaryProgram=avx512_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx512_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx512_roseRunLastFlushCombProgram + -DroseRunProgram=avx512_roseRunProgram + -DroseRunProgram_l=avx512_roseRunProgram_l + -DroseStreamEodExec=avx512_roseStreamEodExec + -DroseStreamExec=avx512_roseStreamExec + -DrshuftiExec=avx512_rshuftiExec + -DrtruffleExec=avx512_rtruffleExec + -Drun_accel=avx512_run_accel + -DsetSomFromSomAware=avx512_setSomFromSomAware + -DshuftiDoubleExec=avx512_shuftiDoubleExec + -DshuftiExec=avx512_shuftiExec + -Dsimd_onebit_masks=avx512_simd_onebit_masks + -Dsize_compress_stream=avx512_size_compress_stream + -DstoreSomToStream=avx512_storeSomToStream + -Dstorecompressed128=avx512_storecompressed128 + -Dstorecompressed256=avx512_storecompressed256 + -Dstorecompressed32=avx512_storecompressed32 + -Dstorecompressed384=avx512_storecompressed384 + -Dstorecompressed512=avx512_storecompressed512 + -Dstorecompressed64=avx512_storecompressed64 + -DstreamInitSufPQ=avx512_streamInitSufPQ + -DtruffleExec=avx512_truffleExec + -Dvbs_mask_data=avx512_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt new file mode 100644 index 0000000000..322a106b42 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt @@ -0,0 +1,493 @@ + +# 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(libs-hyperscan-runtime_avx512) +target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -DHAVE_POPCOUNT_INSTR + -mpopcnt + -mavx + -DHAVE_AVX + -mavx2 + -mfma + -mbmi + -mbmi2 + -DHAVE_AVX2 + -mavx512f + -mavx512cd + -mavx512bw + -mavx512dq + -mavx512vl + -DHAVE_AVX512 + -DCrc32c_ComputeBuf=avx512_Crc32c_ComputeBuf + -DblockInitSufPQ=avx512_blockInitSufPQ + -Dcompress_stream=avx512_compress_stream + -Dcpuid_flags=avx512_cpuid_flags + -Dcpuid_tune=avx512_cpuid_tune + -DdbIsValid=avx512_dbIsValid + -DdoAccel128=avx512_doAccel128 + -DdoAccel256=avx512_doAccel256 + -DdoAccel32=avx512_doAccel32 + -DdoAccel384=avx512_doAccel384 + -DdoAccel512=avx512_doAccel512 + -DdoAccel64=avx512_doAccel64 + -Dexpand_stream=avx512_expand_stream + -DfdrExec=avx512_fdrExec + -DfdrExecStreaming=avx512_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=avx512_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=avx512_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=avx512_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=avx512_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=avx512_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=avx512_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=avx512_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=avx512_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=avx512_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=avx512_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=avx512_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=avx512_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=avx512_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=avx512_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=avx512_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=avx512_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=avx512_flushQueuedLiterals_i + -DflushStoredSomMatches_i=avx512_flushStoredSomMatches_i + -DhandleSomExternal=avx512_handleSomExternal + -DhandleSomInternal=avx512_handleSomInternal + -Dhs_alloc_scratch=avx512_hs_alloc_scratch + -Dhs_clone_scratch=avx512_hs_clone_scratch + -Dhs_close_stream=avx512_hs_close_stream + -Dhs_compress_stream=avx512_hs_compress_stream + -Dhs_copy_stream=avx512_hs_copy_stream + -Dhs_database_alloc=avx512_hs_database_alloc + -Dhs_database_free=avx512_hs_database_free + -Dhs_database_info=avx512_hs_database_info + -Dhs_database_size=avx512_hs_database_size + -Dhs_deserialize_database=avx512_hs_deserialize_database + -Dhs_deserialize_database_at=avx512_hs_deserialize_database_at + -Dhs_expand_stream=avx512_hs_expand_stream + -Dhs_free_database=avx512_hs_free_database + -Dhs_free_scratch=avx512_hs_free_scratch + -Dhs_misc_alloc=avx512_hs_misc_alloc + -Dhs_misc_free=avx512_hs_misc_free + -Dhs_open_stream=avx512_hs_open_stream + -Dhs_reset_and_copy_stream=avx512_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=avx512_hs_reset_and_expand_stream + -Dhs_reset_stream=avx512_hs_reset_stream + -Dhs_scan=avx512_hs_scan + -Dhs_scan_stream=avx512_hs_scan_stream + -Dhs_scan_vector=avx512_hs_scan_vector + -Dhs_scratch_alloc=avx512_hs_scratch_alloc + -Dhs_scratch_free=avx512_hs_scratch_free + -Dhs_scratch_size=avx512_hs_scratch_size + -Dhs_serialize_database=avx512_hs_serialize_database + -Dhs_serialized_database_info=avx512_hs_serialized_database_info + -Dhs_serialized_database_size=avx512_hs_serialized_database_size + -Dhs_set_allocator=avx512_hs_set_allocator + -Dhs_set_database_allocator=avx512_hs_set_database_allocator + -Dhs_set_misc_allocator=avx512_hs_set_misc_allocator + -Dhs_set_scratch_allocator=avx512_hs_set_scratch_allocator + -Dhs_set_stream_allocator=avx512_hs_set_stream_allocator + -Dhs_stream_alloc=avx512_hs_stream_alloc + -Dhs_stream_free=avx512_hs_stream_free + -Dhs_stream_size=avx512_hs_stream_size + -Dhs_valid_platform=avx512_hs_valid_platform + -Dhs_version=avx512_hs_version + -DhwlmExec=avx512_hwlmExec + -DhwlmExecStreaming=avx512_hwlmExecStreaming + -DloadSomFromStream=avx512_loadSomFromStream + -Dloadcompressed128=avx512_loadcompressed128 + -Dloadcompressed256=avx512_loadcompressed256 + -Dloadcompressed32=avx512_loadcompressed32 + -Dloadcompressed384=avx512_loadcompressed384 + -Dloadcompressed512=avx512_loadcompressed512 + -Dloadcompressed64=avx512_loadcompressed64 + -Dmcsheng_pext_mask=avx512_mcsheng_pext_mask + -Dmm_mask_mask=avx512_mm_mask_mask + -Dmm_shuffle_end=avx512_mm_shuffle_end + -Dmmbit_keyshift_lut=avx512_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=avx512_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=avx512_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=avx512_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=avx512_mmbit_zero_to_lut + -DnfaBlockExecReverse=avx512_nfaBlockExecReverse + -DnfaCheckFinalState=avx512_nfaCheckFinalState + -DnfaExecCastle_Q=avx512_nfaExecCastle_Q + -DnfaExecCastle_Q2=avx512_nfaExecCastle_Q2 + -DnfaExecCastle_QR=avx512_nfaExecCastle_QR + -DnfaExecCastle_expandState=avx512_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=avx512_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=avx512_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=avx512_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=avx512_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=avx512_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=avx512_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=avx512_nfaExecGough16_Q + -DnfaExecGough16_Q2=avx512_nfaExecGough16_Q2 + -DnfaExecGough16_QR=avx512_nfaExecGough16_QR + -DnfaExecGough16_expandState=avx512_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=avx512_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=avx512_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=avx512_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=avx512_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=avx512_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=avx512_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=avx512_nfaExecGough16_testEOD + -DnfaExecGough8_Q=avx512_nfaExecGough8_Q + -DnfaExecGough8_Q2=avx512_nfaExecGough8_Q2 + -DnfaExecGough8_QR=avx512_nfaExecGough8_QR + -DnfaExecGough8_expandState=avx512_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=avx512_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=avx512_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=avx512_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=avx512_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=avx512_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=avx512_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=avx512_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=avx512_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=avx512_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=avx512_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=avx512_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=avx512_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=avx512_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=avx512_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=avx512_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=avx512_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=avx512_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=avx512_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=avx512_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=avx512_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=avx512_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=avx512_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=avx512_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=avx512_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=avx512_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=avx512_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=avx512_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=avx512_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=avx512_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=avx512_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=avx512_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=avx512_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=avx512_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=avx512_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=avx512_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=avx512_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=avx512_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=avx512_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=avx512_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=avx512_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=avx512_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=avx512_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=avx512_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=avx512_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=avx512_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=avx512_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=avx512_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=avx512_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=avx512_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=avx512_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=avx512_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=avx512_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=avx512_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=avx512_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=avx512_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=avx512_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=avx512_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=avx512_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=avx512_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=avx512_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=avx512_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=avx512_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=avx512_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=avx512_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=avx512_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=avx512_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=avx512_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=avx512_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=avx512_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=avx512_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=avx512_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=avx512_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=avx512_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=avx512_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=avx512_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=avx512_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=avx512_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=avx512_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=avx512_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=avx512_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=avx512_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=avx512_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=avx512_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=avx512_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=avx512_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=avx512_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=avx512_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=avx512_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=avx512_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=avx512_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=avx512_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=avx512_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=avx512_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=avx512_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=avx512_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=avx512_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=avx512_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=avx512_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=avx512_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=avx512_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=avx512_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=avx512_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=avx512_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=avx512_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=avx512_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=avx512_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=avx512_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=avx512_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=avx512_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=avx512_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=avx512_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=avx512_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=avx512_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=avx512_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=avx512_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=avx512_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=avx512_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=avx512_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=avx512_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=avx512_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=avx512_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=avx512_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=avx512_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=avx512_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=avx512_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=avx512_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=avx512_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=avx512_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=avx512_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=avx512_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=avx512_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=avx512_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=avx512_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=avx512_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=avx512_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=avx512_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=avx512_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=avx512_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=avx512_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=avx512_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=avx512_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=avx512_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=avx512_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=avx512_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=avx512_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=avx512_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=avx512_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=avx512_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=avx512_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=avx512_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=avx512_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=avx512_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=avx512_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=avx512_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=avx512_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=avx512_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=avx512_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=avx512_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=avx512_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=avx512_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=avx512_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=avx512_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=avx512_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=avx512_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=avx512_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=avx512_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=avx512_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=avx512_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=avx512_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=avx512_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=avx512_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=avx512_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=avx512_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=avx512_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=avx512_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=avx512_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=avx512_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=avx512_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=avx512_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=avx512_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=avx512_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=avx512_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=avx512_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=avx512_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=avx512_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=avx512_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=avx512_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=avx512_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=avx512_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=avx512_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=avx512_nfaExecSheng_B + -DnfaExecSheng_Q=avx512_nfaExecSheng_Q + -DnfaExecSheng_Q2=avx512_nfaExecSheng_Q2 + -DnfaExecSheng_QR=avx512_nfaExecSheng_QR + -DnfaExecSheng_expandState=avx512_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=avx512_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=avx512_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=avx512_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=avx512_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=avx512_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=avx512_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=avx512_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=avx512_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=avx512_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=avx512_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=avx512_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=avx512_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=avx512_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=avx512_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=avx512_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=avx512_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=avx512_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=avx512_nfaExecTamarama_zombie_status + -DnfaExpandState=avx512_nfaExpandState + -DnfaGetZombieStatus=avx512_nfaGetZombieStatus + -DnfaInAcceptState=avx512_nfaInAcceptState + -DnfaInAnyAcceptState=avx512_nfaInAnyAcceptState + -DnfaInitCompressedState=avx512_nfaInitCompressedState + -DnfaQueueCompressState=avx512_nfaQueueCompressState + -DnfaQueueExec=avx512_nfaQueueExec + -DnfaQueueExec2_raw=avx512_nfaQueueExec2_raw + -DnfaQueueExecRose=avx512_nfaQueueExecRose + -DnfaQueueExecToMatch=avx512_nfaQueueExecToMatch + -DnfaQueueExec_raw=avx512_nfaQueueExec_raw + -DnfaQueueInitState=avx512_nfaQueueInitState + -DnfaReportCurrentMatches=avx512_nfaReportCurrentMatches + -DnoodExec=avx512_noodExec + -DnoodExecStreaming=avx512_noodExecStreaming + -Dp_mask_arr=avx512_p_mask_arr + -Dp_mask_arr256=avx512_p_mask_arr256 + -DrepeatHasMatchBitmap=avx512_repeatHasMatchBitmap + -DrepeatHasMatchRange=avx512_repeatHasMatchRange + -DrepeatHasMatchRing=avx512_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=avx512_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=avx512_repeatHasMatchTrailer + -DrepeatLastTopBitmap=avx512_repeatLastTopBitmap + -DrepeatLastTopRange=avx512_repeatLastTopRange + -DrepeatLastTopRing=avx512_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=avx512_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=avx512_repeatLastTopTrailer + -DrepeatNextMatchBitmap=avx512_repeatNextMatchBitmap + -DrepeatNextMatchRange=avx512_repeatNextMatchRange + -DrepeatNextMatchRing=avx512_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=avx512_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=avx512_repeatNextMatchTrailer + -DrepeatPack=avx512_repeatPack + -DrepeatStoreBitmap=avx512_repeatStoreBitmap + -DrepeatStoreRange=avx512_repeatStoreRange + -DrepeatStoreRing=avx512_repeatStoreRing + -DrepeatStoreSparseOptimalP=avx512_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=avx512_repeatStoreTrailer + -DrepeatUnpack=avx512_repeatUnpack + -DroseAnchoredCallback=avx512_roseAnchoredCallback + -DroseBlockExec=avx512_roseBlockExec + -DroseCallback=avx512_roseCallback + -DroseCatchUpAll=avx512_roseCatchUpAll + -DroseCatchUpMPV_i=avx512_roseCatchUpMPV_i + -DroseCatchUpSuf=avx512_roseCatchUpSuf + -DroseDelayRebuildCallback=avx512_roseDelayRebuildCallback + -DroseFloatingCallback=avx512_roseFloatingCallback + -DroseHandleChainMatch=avx512_roseHandleChainMatch + -DroseInitState=avx512_roseInitState + -DroseNfaAdaptor=avx512_roseNfaAdaptor + -DroseNfaEarliestSom=avx512_roseNfaEarliestSom + -DroseReportAdaptor=avx512_roseReportAdaptor + -DroseRunBoundaryProgram=avx512_roseRunBoundaryProgram + -DroseRunFlushCombProgram=avx512_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=avx512_roseRunLastFlushCombProgram + -DroseRunProgram=avx512_roseRunProgram + -DroseRunProgram_l=avx512_roseRunProgram_l + -DroseStreamEodExec=avx512_roseStreamEodExec + -DroseStreamExec=avx512_roseStreamExec + -DrshuftiExec=avx512_rshuftiExec + -DrtruffleExec=avx512_rtruffleExec + -Drun_accel=avx512_run_accel + -DsetSomFromSomAware=avx512_setSomFromSomAware + -DshuftiDoubleExec=avx512_shuftiDoubleExec + -DshuftiExec=avx512_shuftiExec + -Dsimd_onebit_masks=avx512_simd_onebit_masks + -Dsize_compress_stream=avx512_size_compress_stream + -DstoreSomToStream=avx512_storeSomToStream + -Dstorecompressed128=avx512_storecompressed128 + -Dstorecompressed256=avx512_storecompressed256 + -Dstorecompressed32=avx512_storecompressed32 + -Dstorecompressed384=avx512_storecompressed384 + -Dstorecompressed512=avx512_storecompressed512 + -Dstorecompressed64=avx512_storecompressed64 + -DstreamInitSufPQ=avx512_streamInitSufPQ + -DtruffleExec=avx512_truffleExec + -Dvbs_mask_data=avx512_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_avx512 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.txt index 322a106b42..3e0811fb22 100644 --- a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.txt +++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.txt @@ -6,488 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-hyperscan-runtime_avx512) -target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE - -msse4.1 - -DHAVE_SSE41 - -msse4.2 - -DHAVE_SSE42 - -DHAVE_POPCOUNT_INSTR - -mpopcnt - -mavx - -DHAVE_AVX - -mavx2 - -mfma - -mbmi - -mbmi2 - -DHAVE_AVX2 - -mavx512f - -mavx512cd - -mavx512bw - -mavx512dq - -mavx512vl - -DHAVE_AVX512 - -DCrc32c_ComputeBuf=avx512_Crc32c_ComputeBuf - -DblockInitSufPQ=avx512_blockInitSufPQ - -Dcompress_stream=avx512_compress_stream - -Dcpuid_flags=avx512_cpuid_flags - -Dcpuid_tune=avx512_cpuid_tune - -DdbIsValid=avx512_dbIsValid - -DdoAccel128=avx512_doAccel128 - -DdoAccel256=avx512_doAccel256 - -DdoAccel32=avx512_doAccel32 - -DdoAccel384=avx512_doAccel384 - -DdoAccel512=avx512_doAccel512 - -DdoAccel64=avx512_doAccel64 - -Dexpand_stream=avx512_expand_stream - -DfdrExec=avx512_fdrExec - -DfdrExecStreaming=avx512_fdrExecStreaming - -Dfdr_exec_fat_teddy_msks1=avx512_fdr_exec_fat_teddy_msks1 - -Dfdr_exec_fat_teddy_msks1_pck=avx512_fdr_exec_fat_teddy_msks1_pck - -Dfdr_exec_fat_teddy_msks2=avx512_fdr_exec_fat_teddy_msks2 - -Dfdr_exec_fat_teddy_msks2_pck=avx512_fdr_exec_fat_teddy_msks2_pck - -Dfdr_exec_fat_teddy_msks3=avx512_fdr_exec_fat_teddy_msks3 - -Dfdr_exec_fat_teddy_msks3_pck=avx512_fdr_exec_fat_teddy_msks3_pck - -Dfdr_exec_fat_teddy_msks4=avx512_fdr_exec_fat_teddy_msks4 - -Dfdr_exec_fat_teddy_msks4_pck=avx512_fdr_exec_fat_teddy_msks4_pck - -Dfdr_exec_teddy_msks1=avx512_fdr_exec_teddy_msks1 - -Dfdr_exec_teddy_msks1_pck=avx512_fdr_exec_teddy_msks1_pck - -Dfdr_exec_teddy_msks2=avx512_fdr_exec_teddy_msks2 - -Dfdr_exec_teddy_msks2_pck=avx512_fdr_exec_teddy_msks2_pck - -Dfdr_exec_teddy_msks3=avx512_fdr_exec_teddy_msks3 - -Dfdr_exec_teddy_msks3_pck=avx512_fdr_exec_teddy_msks3_pck - -Dfdr_exec_teddy_msks4=avx512_fdr_exec_teddy_msks4 - -Dfdr_exec_teddy_msks4_pck=avx512_fdr_exec_teddy_msks4_pck - -DflushQueuedLiterals_i=avx512_flushQueuedLiterals_i - -DflushStoredSomMatches_i=avx512_flushStoredSomMatches_i - -DhandleSomExternal=avx512_handleSomExternal - -DhandleSomInternal=avx512_handleSomInternal - -Dhs_alloc_scratch=avx512_hs_alloc_scratch - -Dhs_clone_scratch=avx512_hs_clone_scratch - -Dhs_close_stream=avx512_hs_close_stream - -Dhs_compress_stream=avx512_hs_compress_stream - -Dhs_copy_stream=avx512_hs_copy_stream - -Dhs_database_alloc=avx512_hs_database_alloc - -Dhs_database_free=avx512_hs_database_free - -Dhs_database_info=avx512_hs_database_info - -Dhs_database_size=avx512_hs_database_size - -Dhs_deserialize_database=avx512_hs_deserialize_database - -Dhs_deserialize_database_at=avx512_hs_deserialize_database_at - -Dhs_expand_stream=avx512_hs_expand_stream - -Dhs_free_database=avx512_hs_free_database - -Dhs_free_scratch=avx512_hs_free_scratch - -Dhs_misc_alloc=avx512_hs_misc_alloc - -Dhs_misc_free=avx512_hs_misc_free - -Dhs_open_stream=avx512_hs_open_stream - -Dhs_reset_and_copy_stream=avx512_hs_reset_and_copy_stream - -Dhs_reset_and_expand_stream=avx512_hs_reset_and_expand_stream - -Dhs_reset_stream=avx512_hs_reset_stream - -Dhs_scan=avx512_hs_scan - -Dhs_scan_stream=avx512_hs_scan_stream - -Dhs_scan_vector=avx512_hs_scan_vector - -Dhs_scratch_alloc=avx512_hs_scratch_alloc - -Dhs_scratch_free=avx512_hs_scratch_free - -Dhs_scratch_size=avx512_hs_scratch_size - -Dhs_serialize_database=avx512_hs_serialize_database - -Dhs_serialized_database_info=avx512_hs_serialized_database_info - -Dhs_serialized_database_size=avx512_hs_serialized_database_size - -Dhs_set_allocator=avx512_hs_set_allocator - -Dhs_set_database_allocator=avx512_hs_set_database_allocator - -Dhs_set_misc_allocator=avx512_hs_set_misc_allocator - -Dhs_set_scratch_allocator=avx512_hs_set_scratch_allocator - -Dhs_set_stream_allocator=avx512_hs_set_stream_allocator - -Dhs_stream_alloc=avx512_hs_stream_alloc - -Dhs_stream_free=avx512_hs_stream_free - -Dhs_stream_size=avx512_hs_stream_size - -Dhs_valid_platform=avx512_hs_valid_platform - -Dhs_version=avx512_hs_version - -DhwlmExec=avx512_hwlmExec - -DhwlmExecStreaming=avx512_hwlmExecStreaming - -DloadSomFromStream=avx512_loadSomFromStream - -Dloadcompressed128=avx512_loadcompressed128 - -Dloadcompressed256=avx512_loadcompressed256 - -Dloadcompressed32=avx512_loadcompressed32 - -Dloadcompressed384=avx512_loadcompressed384 - -Dloadcompressed512=avx512_loadcompressed512 - -Dloadcompressed64=avx512_loadcompressed64 - -Dmcsheng_pext_mask=avx512_mcsheng_pext_mask - -Dmm_mask_mask=avx512_mm_mask_mask - -Dmm_shuffle_end=avx512_mm_shuffle_end - -Dmmbit_keyshift_lut=avx512_mmbit_keyshift_lut - -Dmmbit_maxlevel_direct_lut=avx512_mmbit_maxlevel_direct_lut - -Dmmbit_maxlevel_from_keyshift_lut=avx512_mmbit_maxlevel_from_keyshift_lut - -Dmmbit_root_offset_from_level=avx512_mmbit_root_offset_from_level - -Dmmbit_zero_to_lut=avx512_mmbit_zero_to_lut - -DnfaBlockExecReverse=avx512_nfaBlockExecReverse - -DnfaCheckFinalState=avx512_nfaCheckFinalState - -DnfaExecCastle_Q=avx512_nfaExecCastle_Q - -DnfaExecCastle_Q2=avx512_nfaExecCastle_Q2 - -DnfaExecCastle_QR=avx512_nfaExecCastle_QR - -DnfaExecCastle_expandState=avx512_nfaExecCastle_expandState - -DnfaExecCastle_inAccept=avx512_nfaExecCastle_inAccept - -DnfaExecCastle_inAnyAccept=avx512_nfaExecCastle_inAnyAccept - -DnfaExecCastle_initCompressedState=avx512_nfaExecCastle_initCompressedState - -DnfaExecCastle_queueCompressState=avx512_nfaExecCastle_queueCompressState - -DnfaExecCastle_queueInitState=avx512_nfaExecCastle_queueInitState - -DnfaExecCastle_reportCurrent=avx512_nfaExecCastle_reportCurrent - -DnfaExecGough16_Q=avx512_nfaExecGough16_Q - -DnfaExecGough16_Q2=avx512_nfaExecGough16_Q2 - -DnfaExecGough16_QR=avx512_nfaExecGough16_QR - -DnfaExecGough16_expandState=avx512_nfaExecGough16_expandState - -DnfaExecGough16_inAccept=avx512_nfaExecGough16_inAccept - -DnfaExecGough16_inAnyAccept=avx512_nfaExecGough16_inAnyAccept - -DnfaExecGough16_initCompressedState=avx512_nfaExecGough16_initCompressedState - -DnfaExecGough16_queueCompressState=avx512_nfaExecGough16_queueCompressState - -DnfaExecGough16_queueInitState=avx512_nfaExecGough16_queueInitState - -DnfaExecGough16_reportCurrent=avx512_nfaExecGough16_reportCurrent - -DnfaExecGough16_testEOD=avx512_nfaExecGough16_testEOD - -DnfaExecGough8_Q=avx512_nfaExecGough8_Q - -DnfaExecGough8_Q2=avx512_nfaExecGough8_Q2 - -DnfaExecGough8_QR=avx512_nfaExecGough8_QR - -DnfaExecGough8_expandState=avx512_nfaExecGough8_expandState - -DnfaExecGough8_inAccept=avx512_nfaExecGough8_inAccept - -DnfaExecGough8_inAnyAccept=avx512_nfaExecGough8_inAnyAccept - -DnfaExecGough8_initCompressedState=avx512_nfaExecGough8_initCompressedState - -DnfaExecGough8_queueCompressState=avx512_nfaExecGough8_queueCompressState - -DnfaExecGough8_queueInitState=avx512_nfaExecGough8_queueInitState - -DnfaExecGough8_reportCurrent=avx512_nfaExecGough8_reportCurrent - -DnfaExecGough8_testEOD=avx512_nfaExecGough8_testEOD - -DnfaExecLbrDot_Q=avx512_nfaExecLbrDot_Q - -DnfaExecLbrDot_Q2=avx512_nfaExecLbrDot_Q2 - -DnfaExecLbrDot_QR=avx512_nfaExecLbrDot_QR - -DnfaExecLbrDot_expandState=avx512_nfaExecLbrDot_expandState - -DnfaExecLbrDot_inAccept=avx512_nfaExecLbrDot_inAccept - -DnfaExecLbrDot_inAnyAccept=avx512_nfaExecLbrDot_inAnyAccept - -DnfaExecLbrDot_initCompressedState=avx512_nfaExecLbrDot_initCompressedState - -DnfaExecLbrDot_queueCompressState=avx512_nfaExecLbrDot_queueCompressState - -DnfaExecLbrDot_queueInitState=avx512_nfaExecLbrDot_queueInitState - -DnfaExecLbrDot_reportCurrent=avx512_nfaExecLbrDot_reportCurrent - -DnfaExecLbrNVerm_Q=avx512_nfaExecLbrNVerm_Q - -DnfaExecLbrNVerm_Q2=avx512_nfaExecLbrNVerm_Q2 - -DnfaExecLbrNVerm_QR=avx512_nfaExecLbrNVerm_QR - -DnfaExecLbrNVerm_expandState=avx512_nfaExecLbrNVerm_expandState - -DnfaExecLbrNVerm_inAccept=avx512_nfaExecLbrNVerm_inAccept - -DnfaExecLbrNVerm_inAnyAccept=avx512_nfaExecLbrNVerm_inAnyAccept - -DnfaExecLbrNVerm_initCompressedState=avx512_nfaExecLbrNVerm_initCompressedState - -DnfaExecLbrNVerm_queueCompressState=avx512_nfaExecLbrNVerm_queueCompressState - -DnfaExecLbrNVerm_queueInitState=avx512_nfaExecLbrNVerm_queueInitState - -DnfaExecLbrNVerm_reportCurrent=avx512_nfaExecLbrNVerm_reportCurrent - -DnfaExecLbrShuf_Q=avx512_nfaExecLbrShuf_Q - -DnfaExecLbrShuf_Q2=avx512_nfaExecLbrShuf_Q2 - -DnfaExecLbrShuf_QR=avx512_nfaExecLbrShuf_QR - -DnfaExecLbrShuf_expandState=avx512_nfaExecLbrShuf_expandState - -DnfaExecLbrShuf_inAccept=avx512_nfaExecLbrShuf_inAccept - -DnfaExecLbrShuf_inAnyAccept=avx512_nfaExecLbrShuf_inAnyAccept - -DnfaExecLbrShuf_initCompressedState=avx512_nfaExecLbrShuf_initCompressedState - -DnfaExecLbrShuf_queueCompressState=avx512_nfaExecLbrShuf_queueCompressState - -DnfaExecLbrShuf_queueInitState=avx512_nfaExecLbrShuf_queueInitState - -DnfaExecLbrShuf_reportCurrent=avx512_nfaExecLbrShuf_reportCurrent - -DnfaExecLbrTruf_Q=avx512_nfaExecLbrTruf_Q - -DnfaExecLbrTruf_Q2=avx512_nfaExecLbrTruf_Q2 - -DnfaExecLbrTruf_QR=avx512_nfaExecLbrTruf_QR - -DnfaExecLbrTruf_expandState=avx512_nfaExecLbrTruf_expandState - -DnfaExecLbrTruf_inAccept=avx512_nfaExecLbrTruf_inAccept - -DnfaExecLbrTruf_inAnyAccept=avx512_nfaExecLbrTruf_inAnyAccept - -DnfaExecLbrTruf_initCompressedState=avx512_nfaExecLbrTruf_initCompressedState - -DnfaExecLbrTruf_queueCompressState=avx512_nfaExecLbrTruf_queueCompressState - -DnfaExecLbrTruf_queueInitState=avx512_nfaExecLbrTruf_queueInitState - -DnfaExecLbrTruf_reportCurrent=avx512_nfaExecLbrTruf_reportCurrent - -DnfaExecLbrVerm_Q=avx512_nfaExecLbrVerm_Q - -DnfaExecLbrVerm_Q2=avx512_nfaExecLbrVerm_Q2 - -DnfaExecLbrVerm_QR=avx512_nfaExecLbrVerm_QR - -DnfaExecLbrVerm_expandState=avx512_nfaExecLbrVerm_expandState - -DnfaExecLbrVerm_inAccept=avx512_nfaExecLbrVerm_inAccept - -DnfaExecLbrVerm_inAnyAccept=avx512_nfaExecLbrVerm_inAnyAccept - -DnfaExecLbrVerm_initCompressedState=avx512_nfaExecLbrVerm_initCompressedState - -DnfaExecLbrVerm_queueCompressState=avx512_nfaExecLbrVerm_queueCompressState - -DnfaExecLbrVerm_queueInitState=avx512_nfaExecLbrVerm_queueInitState - -DnfaExecLbrVerm_reportCurrent=avx512_nfaExecLbrVerm_reportCurrent - -DnfaExecLimEx128_B_Reverse=avx512_nfaExecLimEx128_B_Reverse - -DnfaExecLimEx128_Q=avx512_nfaExecLimEx128_Q - -DnfaExecLimEx128_Q2=avx512_nfaExecLimEx128_Q2 - -DnfaExecLimEx128_QR=avx512_nfaExecLimEx128_QR - -DnfaExecLimEx128_expandState=avx512_nfaExecLimEx128_expandState - -DnfaExecLimEx128_inAccept=avx512_nfaExecLimEx128_inAccept - -DnfaExecLimEx128_inAnyAccept=avx512_nfaExecLimEx128_inAnyAccept - -DnfaExecLimEx128_initCompressedState=avx512_nfaExecLimEx128_initCompressedState - -DnfaExecLimEx128_queueCompressState=avx512_nfaExecLimEx128_queueCompressState - -DnfaExecLimEx128_queueInitState=avx512_nfaExecLimEx128_queueInitState - -DnfaExecLimEx128_reportCurrent=avx512_nfaExecLimEx128_reportCurrent - -DnfaExecLimEx128_testEOD=avx512_nfaExecLimEx128_testEOD - -DnfaExecLimEx128_zombie_status=avx512_nfaExecLimEx128_zombie_status - -DnfaExecLimEx256_B_Reverse=avx512_nfaExecLimEx256_B_Reverse - -DnfaExecLimEx256_Q=avx512_nfaExecLimEx256_Q - -DnfaExecLimEx256_Q2=avx512_nfaExecLimEx256_Q2 - -DnfaExecLimEx256_QR=avx512_nfaExecLimEx256_QR - -DnfaExecLimEx256_expandState=avx512_nfaExecLimEx256_expandState - -DnfaExecLimEx256_inAccept=avx512_nfaExecLimEx256_inAccept - -DnfaExecLimEx256_inAnyAccept=avx512_nfaExecLimEx256_inAnyAccept - -DnfaExecLimEx256_initCompressedState=avx512_nfaExecLimEx256_initCompressedState - -DnfaExecLimEx256_queueCompressState=avx512_nfaExecLimEx256_queueCompressState - -DnfaExecLimEx256_queueInitState=avx512_nfaExecLimEx256_queueInitState - -DnfaExecLimEx256_reportCurrent=avx512_nfaExecLimEx256_reportCurrent - -DnfaExecLimEx256_testEOD=avx512_nfaExecLimEx256_testEOD - -DnfaExecLimEx256_zombie_status=avx512_nfaExecLimEx256_zombie_status - -DnfaExecLimEx32_B_Reverse=avx512_nfaExecLimEx32_B_Reverse - -DnfaExecLimEx32_Q=avx512_nfaExecLimEx32_Q - -DnfaExecLimEx32_Q2=avx512_nfaExecLimEx32_Q2 - -DnfaExecLimEx32_QR=avx512_nfaExecLimEx32_QR - -DnfaExecLimEx32_expandState=avx512_nfaExecLimEx32_expandState - -DnfaExecLimEx32_inAccept=avx512_nfaExecLimEx32_inAccept - -DnfaExecLimEx32_inAnyAccept=avx512_nfaExecLimEx32_inAnyAccept - -DnfaExecLimEx32_initCompressedState=avx512_nfaExecLimEx32_initCompressedState - -DnfaExecLimEx32_queueCompressState=avx512_nfaExecLimEx32_queueCompressState - -DnfaExecLimEx32_queueInitState=avx512_nfaExecLimEx32_queueInitState - -DnfaExecLimEx32_reportCurrent=avx512_nfaExecLimEx32_reportCurrent - -DnfaExecLimEx32_testEOD=avx512_nfaExecLimEx32_testEOD - -DnfaExecLimEx32_zombie_status=avx512_nfaExecLimEx32_zombie_status - -DnfaExecLimEx384_B_Reverse=avx512_nfaExecLimEx384_B_Reverse - -DnfaExecLimEx384_Q=avx512_nfaExecLimEx384_Q - -DnfaExecLimEx384_Q2=avx512_nfaExecLimEx384_Q2 - -DnfaExecLimEx384_QR=avx512_nfaExecLimEx384_QR - -DnfaExecLimEx384_expandState=avx512_nfaExecLimEx384_expandState - -DnfaExecLimEx384_inAccept=avx512_nfaExecLimEx384_inAccept - -DnfaExecLimEx384_inAnyAccept=avx512_nfaExecLimEx384_inAnyAccept - -DnfaExecLimEx384_initCompressedState=avx512_nfaExecLimEx384_initCompressedState - -DnfaExecLimEx384_queueCompressState=avx512_nfaExecLimEx384_queueCompressState - -DnfaExecLimEx384_queueInitState=avx512_nfaExecLimEx384_queueInitState - -DnfaExecLimEx384_reportCurrent=avx512_nfaExecLimEx384_reportCurrent - -DnfaExecLimEx384_testEOD=avx512_nfaExecLimEx384_testEOD - -DnfaExecLimEx384_zombie_status=avx512_nfaExecLimEx384_zombie_status - -DnfaExecLimEx512_B_Reverse=avx512_nfaExecLimEx512_B_Reverse - -DnfaExecLimEx512_Q=avx512_nfaExecLimEx512_Q - -DnfaExecLimEx512_Q2=avx512_nfaExecLimEx512_Q2 - -DnfaExecLimEx512_QR=avx512_nfaExecLimEx512_QR - -DnfaExecLimEx512_expandState=avx512_nfaExecLimEx512_expandState - -DnfaExecLimEx512_inAccept=avx512_nfaExecLimEx512_inAccept - -DnfaExecLimEx512_inAnyAccept=avx512_nfaExecLimEx512_inAnyAccept - -DnfaExecLimEx512_initCompressedState=avx512_nfaExecLimEx512_initCompressedState - -DnfaExecLimEx512_queueCompressState=avx512_nfaExecLimEx512_queueCompressState - -DnfaExecLimEx512_queueInitState=avx512_nfaExecLimEx512_queueInitState - -DnfaExecLimEx512_reportCurrent=avx512_nfaExecLimEx512_reportCurrent - -DnfaExecLimEx512_testEOD=avx512_nfaExecLimEx512_testEOD - -DnfaExecLimEx512_zombie_status=avx512_nfaExecLimEx512_zombie_status - -DnfaExecLimEx64_B_Reverse=avx512_nfaExecLimEx64_B_Reverse - -DnfaExecLimEx64_Q=avx512_nfaExecLimEx64_Q - -DnfaExecLimEx64_Q2=avx512_nfaExecLimEx64_Q2 - -DnfaExecLimEx64_QR=avx512_nfaExecLimEx64_QR - -DnfaExecLimEx64_expandState=avx512_nfaExecLimEx64_expandState - -DnfaExecLimEx64_inAccept=avx512_nfaExecLimEx64_inAccept - -DnfaExecLimEx64_inAnyAccept=avx512_nfaExecLimEx64_inAnyAccept - -DnfaExecLimEx64_initCompressedState=avx512_nfaExecLimEx64_initCompressedState - -DnfaExecLimEx64_queueCompressState=avx512_nfaExecLimEx64_queueCompressState - -DnfaExecLimEx64_queueInitState=avx512_nfaExecLimEx64_queueInitState - -DnfaExecLimEx64_reportCurrent=avx512_nfaExecLimEx64_reportCurrent - -DnfaExecLimEx64_testEOD=avx512_nfaExecLimEx64_testEOD - -DnfaExecLimEx64_zombie_status=avx512_nfaExecLimEx64_zombie_status - -DnfaExecMcClellan16_B=avx512_nfaExecMcClellan16_B - -DnfaExecMcClellan16_Q=avx512_nfaExecMcClellan16_Q - -DnfaExecMcClellan16_Q2=avx512_nfaExecMcClellan16_Q2 - -DnfaExecMcClellan16_QR=avx512_nfaExecMcClellan16_QR - -DnfaExecMcClellan16_SimpStream=avx512_nfaExecMcClellan16_SimpStream - -DnfaExecMcClellan16_expandState=avx512_nfaExecMcClellan16_expandState - -DnfaExecMcClellan16_inAccept=avx512_nfaExecMcClellan16_inAccept - -DnfaExecMcClellan16_inAnyAccept=avx512_nfaExecMcClellan16_inAnyAccept - -DnfaExecMcClellan16_initCompressedState=avx512_nfaExecMcClellan16_initCompressedState - -DnfaExecMcClellan16_queueCompressState=avx512_nfaExecMcClellan16_queueCompressState - -DnfaExecMcClellan16_queueInitState=avx512_nfaExecMcClellan16_queueInitState - -DnfaExecMcClellan16_reportCurrent=avx512_nfaExecMcClellan16_reportCurrent - -DnfaExecMcClellan16_testEOD=avx512_nfaExecMcClellan16_testEOD - -DnfaExecMcClellan8_B=avx512_nfaExecMcClellan8_B - -DnfaExecMcClellan8_Q=avx512_nfaExecMcClellan8_Q - -DnfaExecMcClellan8_Q2=avx512_nfaExecMcClellan8_Q2 - -DnfaExecMcClellan8_QR=avx512_nfaExecMcClellan8_QR - -DnfaExecMcClellan8_SimpStream=avx512_nfaExecMcClellan8_SimpStream - -DnfaExecMcClellan8_expandState=avx512_nfaExecMcClellan8_expandState - -DnfaExecMcClellan8_inAccept=avx512_nfaExecMcClellan8_inAccept - -DnfaExecMcClellan8_inAnyAccept=avx512_nfaExecMcClellan8_inAnyAccept - -DnfaExecMcClellan8_initCompressedState=avx512_nfaExecMcClellan8_initCompressedState - -DnfaExecMcClellan8_queueCompressState=avx512_nfaExecMcClellan8_queueCompressState - -DnfaExecMcClellan8_queueInitState=avx512_nfaExecMcClellan8_queueInitState - -DnfaExecMcClellan8_reportCurrent=avx512_nfaExecMcClellan8_reportCurrent - -DnfaExecMcClellan8_testEOD=avx512_nfaExecMcClellan8_testEOD - -DnfaExecMcSheng16_Q=avx512_nfaExecMcSheng16_Q - -DnfaExecMcSheng16_Q2=avx512_nfaExecMcSheng16_Q2 - -DnfaExecMcSheng16_QR=avx512_nfaExecMcSheng16_QR - -DnfaExecMcSheng16_expandState=avx512_nfaExecMcSheng16_expandState - -DnfaExecMcSheng16_inAccept=avx512_nfaExecMcSheng16_inAccept - -DnfaExecMcSheng16_inAnyAccept=avx512_nfaExecMcSheng16_inAnyAccept - -DnfaExecMcSheng16_initCompressedState=avx512_nfaExecMcSheng16_initCompressedState - -DnfaExecMcSheng16_queueCompressState=avx512_nfaExecMcSheng16_queueCompressState - -DnfaExecMcSheng16_queueInitState=avx512_nfaExecMcSheng16_queueInitState - -DnfaExecMcSheng16_reportCurrent=avx512_nfaExecMcSheng16_reportCurrent - -DnfaExecMcSheng16_testEOD=avx512_nfaExecMcSheng16_testEOD - -DnfaExecMcSheng8_Q=avx512_nfaExecMcSheng8_Q - -DnfaExecMcSheng8_Q2=avx512_nfaExecMcSheng8_Q2 - -DnfaExecMcSheng8_QR=avx512_nfaExecMcSheng8_QR - -DnfaExecMcSheng8_expandState=avx512_nfaExecMcSheng8_expandState - -DnfaExecMcSheng8_inAccept=avx512_nfaExecMcSheng8_inAccept - -DnfaExecMcSheng8_inAnyAccept=avx512_nfaExecMcSheng8_inAnyAccept - -DnfaExecMcSheng8_initCompressedState=avx512_nfaExecMcSheng8_initCompressedState - -DnfaExecMcSheng8_queueCompressState=avx512_nfaExecMcSheng8_queueCompressState - -DnfaExecMcSheng8_queueInitState=avx512_nfaExecMcSheng8_queueInitState - -DnfaExecMcSheng8_reportCurrent=avx512_nfaExecMcSheng8_reportCurrent - -DnfaExecMcSheng8_testEOD=avx512_nfaExecMcSheng8_testEOD - -DnfaExecMpv_Q=avx512_nfaExecMpv_Q - -DnfaExecMpv_QueueExecRaw=avx512_nfaExecMpv_QueueExecRaw - -DnfaExecMpv_expandState=avx512_nfaExecMpv_expandState - -DnfaExecMpv_initCompressedState=avx512_nfaExecMpv_initCompressedState - -DnfaExecMpv_queueCompressState=avx512_nfaExecMpv_queueCompressState - -DnfaExecMpv_queueInitState=avx512_nfaExecMpv_queueInitState - -DnfaExecMpv_reportCurrent=avx512_nfaExecMpv_reportCurrent - -DnfaExecSheng_B=avx512_nfaExecSheng_B - -DnfaExecSheng_Q=avx512_nfaExecSheng_Q - -DnfaExecSheng_Q2=avx512_nfaExecSheng_Q2 - -DnfaExecSheng_QR=avx512_nfaExecSheng_QR - -DnfaExecSheng_expandState=avx512_nfaExecSheng_expandState - -DnfaExecSheng_inAccept=avx512_nfaExecSheng_inAccept - -DnfaExecSheng_inAnyAccept=avx512_nfaExecSheng_inAnyAccept - -DnfaExecSheng_initCompressedState=avx512_nfaExecSheng_initCompressedState - -DnfaExecSheng_queueCompressState=avx512_nfaExecSheng_queueCompressState - -DnfaExecSheng_queueInitState=avx512_nfaExecSheng_queueInitState - -DnfaExecSheng_reportCurrent=avx512_nfaExecSheng_reportCurrent - -DnfaExecSheng_testEOD=avx512_nfaExecSheng_testEOD - -DnfaExecTamarama_Q=avx512_nfaExecTamarama_Q - -DnfaExecTamarama_Q2=avx512_nfaExecTamarama_Q2 - -DnfaExecTamarama_QR=avx512_nfaExecTamarama_QR - -DnfaExecTamarama_expandState=avx512_nfaExecTamarama_expandState - -DnfaExecTamarama_inAccept=avx512_nfaExecTamarama_inAccept - -DnfaExecTamarama_inAnyAccept=avx512_nfaExecTamarama_inAnyAccept - -DnfaExecTamarama_queueCompressState=avx512_nfaExecTamarama_queueCompressState - -DnfaExecTamarama_queueInitState=avx512_nfaExecTamarama_queueInitState - -DnfaExecTamarama_reportCurrent=avx512_nfaExecTamarama_reportCurrent - -DnfaExecTamarama_testEOD=avx512_nfaExecTamarama_testEOD - -DnfaExecTamarama_zombie_status=avx512_nfaExecTamarama_zombie_status - -DnfaExpandState=avx512_nfaExpandState - -DnfaGetZombieStatus=avx512_nfaGetZombieStatus - -DnfaInAcceptState=avx512_nfaInAcceptState - -DnfaInAnyAcceptState=avx512_nfaInAnyAcceptState - -DnfaInitCompressedState=avx512_nfaInitCompressedState - -DnfaQueueCompressState=avx512_nfaQueueCompressState - -DnfaQueueExec=avx512_nfaQueueExec - -DnfaQueueExec2_raw=avx512_nfaQueueExec2_raw - -DnfaQueueExecRose=avx512_nfaQueueExecRose - -DnfaQueueExecToMatch=avx512_nfaQueueExecToMatch - -DnfaQueueExec_raw=avx512_nfaQueueExec_raw - -DnfaQueueInitState=avx512_nfaQueueInitState - -DnfaReportCurrentMatches=avx512_nfaReportCurrentMatches - -DnoodExec=avx512_noodExec - -DnoodExecStreaming=avx512_noodExecStreaming - -Dp_mask_arr=avx512_p_mask_arr - -Dp_mask_arr256=avx512_p_mask_arr256 - -DrepeatHasMatchBitmap=avx512_repeatHasMatchBitmap - -DrepeatHasMatchRange=avx512_repeatHasMatchRange - -DrepeatHasMatchRing=avx512_repeatHasMatchRing - -DrepeatHasMatchSparseOptimalP=avx512_repeatHasMatchSparseOptimalP - -DrepeatHasMatchTrailer=avx512_repeatHasMatchTrailer - -DrepeatLastTopBitmap=avx512_repeatLastTopBitmap - -DrepeatLastTopRange=avx512_repeatLastTopRange - -DrepeatLastTopRing=avx512_repeatLastTopRing - -DrepeatLastTopSparseOptimalP=avx512_repeatLastTopSparseOptimalP - -DrepeatLastTopTrailer=avx512_repeatLastTopTrailer - -DrepeatNextMatchBitmap=avx512_repeatNextMatchBitmap - -DrepeatNextMatchRange=avx512_repeatNextMatchRange - -DrepeatNextMatchRing=avx512_repeatNextMatchRing - -DrepeatNextMatchSparseOptimalP=avx512_repeatNextMatchSparseOptimalP - -DrepeatNextMatchTrailer=avx512_repeatNextMatchTrailer - -DrepeatPack=avx512_repeatPack - -DrepeatStoreBitmap=avx512_repeatStoreBitmap - -DrepeatStoreRange=avx512_repeatStoreRange - -DrepeatStoreRing=avx512_repeatStoreRing - -DrepeatStoreSparseOptimalP=avx512_repeatStoreSparseOptimalP - -DrepeatStoreTrailer=avx512_repeatStoreTrailer - -DrepeatUnpack=avx512_repeatUnpack - -DroseAnchoredCallback=avx512_roseAnchoredCallback - -DroseBlockExec=avx512_roseBlockExec - -DroseCallback=avx512_roseCallback - -DroseCatchUpAll=avx512_roseCatchUpAll - -DroseCatchUpMPV_i=avx512_roseCatchUpMPV_i - -DroseCatchUpSuf=avx512_roseCatchUpSuf - -DroseDelayRebuildCallback=avx512_roseDelayRebuildCallback - -DroseFloatingCallback=avx512_roseFloatingCallback - -DroseHandleChainMatch=avx512_roseHandleChainMatch - -DroseInitState=avx512_roseInitState - -DroseNfaAdaptor=avx512_roseNfaAdaptor - -DroseNfaEarliestSom=avx512_roseNfaEarliestSom - -DroseReportAdaptor=avx512_roseReportAdaptor - -DroseRunBoundaryProgram=avx512_roseRunBoundaryProgram - -DroseRunFlushCombProgram=avx512_roseRunFlushCombProgram - -DroseRunLastFlushCombProgram=avx512_roseRunLastFlushCombProgram - -DroseRunProgram=avx512_roseRunProgram - -DroseRunProgram_l=avx512_roseRunProgram_l - -DroseStreamEodExec=avx512_roseStreamEodExec - -DroseStreamExec=avx512_roseStreamExec - -DrshuftiExec=avx512_rshuftiExec - -DrtruffleExec=avx512_rtruffleExec - -Drun_accel=avx512_run_accel - -DsetSomFromSomAware=avx512_setSomFromSomAware - -DshuftiDoubleExec=avx512_shuftiDoubleExec - -DshuftiExec=avx512_shuftiExec - -Dsimd_onebit_masks=avx512_simd_onebit_masks - -Dsize_compress_stream=avx512_size_compress_stream - -DstoreSomToStream=avx512_storeSomToStream - -Dstorecompressed128=avx512_storecompressed128 - -Dstorecompressed256=avx512_storecompressed256 - -Dstorecompressed32=avx512_storecompressed32 - -Dstorecompressed384=avx512_storecompressed384 - -Dstorecompressed512=avx512_storecompressed512 - -Dstorecompressed64=avx512_storecompressed64 - -DstreamInitSufPQ=avx512_streamInitSufPQ - -DtruffleExec=avx512_truffleExec - -Dvbs_mask_data=avx512_vbs_mask_data - -Wno-everything -) -target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src -) -target_sources(libs-hyperscan-runtime_avx512 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c -) +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/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt new file mode 100644 index 0000000000..77b4d7fd96 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt @@ -0,0 +1,480 @@ + +# 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(libs-hyperscan-runtime_corei7) +target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -mpopcnt + -DHAVE_POPCOUNT_INSTR + -DCrc32c_ComputeBuf=corei7_Crc32c_ComputeBuf + -DblockInitSufPQ=corei7_blockInitSufPQ + -Dcompress_stream=corei7_compress_stream + -Dcpuid_flags=corei7_cpuid_flags + -Dcpuid_tune=corei7_cpuid_tune + -DdbIsValid=corei7_dbIsValid + -DdoAccel128=corei7_doAccel128 + -DdoAccel256=corei7_doAccel256 + -DdoAccel32=corei7_doAccel32 + -DdoAccel384=corei7_doAccel384 + -DdoAccel512=corei7_doAccel512 + -DdoAccel64=corei7_doAccel64 + -Dexpand_stream=corei7_expand_stream + -DfdrExec=corei7_fdrExec + -DfdrExecStreaming=corei7_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=corei7_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=corei7_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=corei7_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=corei7_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=corei7_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=corei7_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=corei7_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=corei7_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=corei7_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=corei7_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=corei7_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=corei7_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=corei7_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=corei7_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=corei7_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=corei7_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=corei7_flushQueuedLiterals_i + -DflushStoredSomMatches_i=corei7_flushStoredSomMatches_i + -DhandleSomExternal=corei7_handleSomExternal + -DhandleSomInternal=corei7_handleSomInternal + -Dhs_alloc_scratch=corei7_hs_alloc_scratch + -Dhs_clone_scratch=corei7_hs_clone_scratch + -Dhs_close_stream=corei7_hs_close_stream + -Dhs_compress_stream=corei7_hs_compress_stream + -Dhs_copy_stream=corei7_hs_copy_stream + -Dhs_database_alloc=corei7_hs_database_alloc + -Dhs_database_free=corei7_hs_database_free + -Dhs_database_info=corei7_hs_database_info + -Dhs_database_size=corei7_hs_database_size + -Dhs_deserialize_database=corei7_hs_deserialize_database + -Dhs_deserialize_database_at=corei7_hs_deserialize_database_at + -Dhs_expand_stream=corei7_hs_expand_stream + -Dhs_free_database=corei7_hs_free_database + -Dhs_free_scratch=corei7_hs_free_scratch + -Dhs_misc_alloc=corei7_hs_misc_alloc + -Dhs_misc_free=corei7_hs_misc_free + -Dhs_open_stream=corei7_hs_open_stream + -Dhs_reset_and_copy_stream=corei7_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=corei7_hs_reset_and_expand_stream + -Dhs_reset_stream=corei7_hs_reset_stream + -Dhs_scan=corei7_hs_scan + -Dhs_scan_stream=corei7_hs_scan_stream + -Dhs_scan_vector=corei7_hs_scan_vector + -Dhs_scratch_alloc=corei7_hs_scratch_alloc + -Dhs_scratch_free=corei7_hs_scratch_free + -Dhs_scratch_size=corei7_hs_scratch_size + -Dhs_serialize_database=corei7_hs_serialize_database + -Dhs_serialized_database_info=corei7_hs_serialized_database_info + -Dhs_serialized_database_size=corei7_hs_serialized_database_size + -Dhs_set_allocator=corei7_hs_set_allocator + -Dhs_set_database_allocator=corei7_hs_set_database_allocator + -Dhs_set_misc_allocator=corei7_hs_set_misc_allocator + -Dhs_set_scratch_allocator=corei7_hs_set_scratch_allocator + -Dhs_set_stream_allocator=corei7_hs_set_stream_allocator + -Dhs_stream_alloc=corei7_hs_stream_alloc + -Dhs_stream_free=corei7_hs_stream_free + -Dhs_stream_size=corei7_hs_stream_size + -Dhs_valid_platform=corei7_hs_valid_platform + -Dhs_version=corei7_hs_version + -DhwlmExec=corei7_hwlmExec + -DhwlmExecStreaming=corei7_hwlmExecStreaming + -DloadSomFromStream=corei7_loadSomFromStream + -Dloadcompressed128=corei7_loadcompressed128 + -Dloadcompressed256=corei7_loadcompressed256 + -Dloadcompressed32=corei7_loadcompressed32 + -Dloadcompressed384=corei7_loadcompressed384 + -Dloadcompressed512=corei7_loadcompressed512 + -Dloadcompressed64=corei7_loadcompressed64 + -Dmcsheng_pext_mask=corei7_mcsheng_pext_mask + -Dmm_mask_mask=corei7_mm_mask_mask + -Dmm_shuffle_end=corei7_mm_shuffle_end + -Dmmbit_keyshift_lut=corei7_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=corei7_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=corei7_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=corei7_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=corei7_mmbit_zero_to_lut + -DnfaBlockExecReverse=corei7_nfaBlockExecReverse + -DnfaCheckFinalState=corei7_nfaCheckFinalState + -DnfaExecCastle_Q=corei7_nfaExecCastle_Q + -DnfaExecCastle_Q2=corei7_nfaExecCastle_Q2 + -DnfaExecCastle_QR=corei7_nfaExecCastle_QR + -DnfaExecCastle_expandState=corei7_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=corei7_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=corei7_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=corei7_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=corei7_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=corei7_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=corei7_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=corei7_nfaExecGough16_Q + -DnfaExecGough16_Q2=corei7_nfaExecGough16_Q2 + -DnfaExecGough16_QR=corei7_nfaExecGough16_QR + -DnfaExecGough16_expandState=corei7_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=corei7_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=corei7_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=corei7_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=corei7_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=corei7_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=corei7_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=corei7_nfaExecGough16_testEOD + -DnfaExecGough8_Q=corei7_nfaExecGough8_Q + -DnfaExecGough8_Q2=corei7_nfaExecGough8_Q2 + -DnfaExecGough8_QR=corei7_nfaExecGough8_QR + -DnfaExecGough8_expandState=corei7_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=corei7_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=corei7_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=corei7_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=corei7_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=corei7_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=corei7_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=corei7_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=corei7_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=corei7_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=corei7_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=corei7_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=corei7_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=corei7_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=corei7_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=corei7_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=corei7_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=corei7_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=corei7_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=corei7_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=corei7_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=corei7_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=corei7_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=corei7_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=corei7_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=corei7_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=corei7_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=corei7_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=corei7_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=corei7_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=corei7_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=corei7_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=corei7_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=corei7_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=corei7_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=corei7_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=corei7_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=corei7_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=corei7_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=corei7_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=corei7_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=corei7_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=corei7_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=corei7_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=corei7_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=corei7_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=corei7_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=corei7_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=corei7_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=corei7_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=corei7_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=corei7_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=corei7_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=corei7_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=corei7_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=corei7_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=corei7_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=corei7_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=corei7_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=corei7_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=corei7_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=corei7_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=corei7_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=corei7_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=corei7_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=corei7_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=corei7_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=corei7_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=corei7_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=corei7_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=corei7_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=corei7_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=corei7_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=corei7_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=corei7_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=corei7_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=corei7_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=corei7_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=corei7_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=corei7_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=corei7_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=corei7_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=corei7_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=corei7_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=corei7_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=corei7_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=corei7_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=corei7_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=corei7_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=corei7_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=corei7_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=corei7_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=corei7_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=corei7_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=corei7_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=corei7_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=corei7_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=corei7_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=corei7_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=corei7_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=corei7_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=corei7_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=corei7_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=corei7_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=corei7_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=corei7_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=corei7_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=corei7_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=corei7_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=corei7_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=corei7_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=corei7_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=corei7_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=corei7_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=corei7_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=corei7_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=corei7_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=corei7_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=corei7_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=corei7_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=corei7_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=corei7_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=corei7_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=corei7_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=corei7_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=corei7_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=corei7_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=corei7_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=corei7_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=corei7_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=corei7_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=corei7_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=corei7_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=corei7_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=corei7_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=corei7_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=corei7_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=corei7_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=corei7_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=corei7_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=corei7_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=corei7_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=corei7_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=corei7_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=corei7_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=corei7_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=corei7_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=corei7_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=corei7_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=corei7_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=corei7_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=corei7_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=corei7_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=corei7_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=corei7_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=corei7_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=corei7_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=corei7_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=corei7_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=corei7_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=corei7_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=corei7_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=corei7_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=corei7_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=corei7_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=corei7_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=corei7_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=corei7_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=corei7_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=corei7_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=corei7_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=corei7_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=corei7_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=corei7_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=corei7_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=corei7_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=corei7_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=corei7_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=corei7_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=corei7_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=corei7_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=corei7_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=corei7_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=corei7_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=corei7_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=corei7_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=corei7_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=corei7_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=corei7_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=corei7_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=corei7_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=corei7_nfaExecSheng_B + -DnfaExecSheng_Q=corei7_nfaExecSheng_Q + -DnfaExecSheng_Q2=corei7_nfaExecSheng_Q2 + -DnfaExecSheng_QR=corei7_nfaExecSheng_QR + -DnfaExecSheng_expandState=corei7_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=corei7_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=corei7_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=corei7_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=corei7_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=corei7_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=corei7_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=corei7_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=corei7_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=corei7_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=corei7_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=corei7_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=corei7_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=corei7_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=corei7_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=corei7_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=corei7_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=corei7_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=corei7_nfaExecTamarama_zombie_status + -DnfaExpandState=corei7_nfaExpandState + -DnfaGetZombieStatus=corei7_nfaGetZombieStatus + -DnfaInAcceptState=corei7_nfaInAcceptState + -DnfaInAnyAcceptState=corei7_nfaInAnyAcceptState + -DnfaInitCompressedState=corei7_nfaInitCompressedState + -DnfaQueueCompressState=corei7_nfaQueueCompressState + -DnfaQueueExec=corei7_nfaQueueExec + -DnfaQueueExec2_raw=corei7_nfaQueueExec2_raw + -DnfaQueueExecRose=corei7_nfaQueueExecRose + -DnfaQueueExecToMatch=corei7_nfaQueueExecToMatch + -DnfaQueueExec_raw=corei7_nfaQueueExec_raw + -DnfaQueueInitState=corei7_nfaQueueInitState + -DnfaReportCurrentMatches=corei7_nfaReportCurrentMatches + -DnoodExec=corei7_noodExec + -DnoodExecStreaming=corei7_noodExecStreaming + -Dp_mask_arr=corei7_p_mask_arr + -Dp_mask_arr256=corei7_p_mask_arr256 + -DrepeatHasMatchBitmap=corei7_repeatHasMatchBitmap + -DrepeatHasMatchRange=corei7_repeatHasMatchRange + -DrepeatHasMatchRing=corei7_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=corei7_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=corei7_repeatHasMatchTrailer + -DrepeatLastTopBitmap=corei7_repeatLastTopBitmap + -DrepeatLastTopRange=corei7_repeatLastTopRange + -DrepeatLastTopRing=corei7_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=corei7_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=corei7_repeatLastTopTrailer + -DrepeatNextMatchBitmap=corei7_repeatNextMatchBitmap + -DrepeatNextMatchRange=corei7_repeatNextMatchRange + -DrepeatNextMatchRing=corei7_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=corei7_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=corei7_repeatNextMatchTrailer + -DrepeatPack=corei7_repeatPack + -DrepeatStoreBitmap=corei7_repeatStoreBitmap + -DrepeatStoreRange=corei7_repeatStoreRange + -DrepeatStoreRing=corei7_repeatStoreRing + -DrepeatStoreSparseOptimalP=corei7_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=corei7_repeatStoreTrailer + -DrepeatUnpack=corei7_repeatUnpack + -DroseAnchoredCallback=corei7_roseAnchoredCallback + -DroseBlockExec=corei7_roseBlockExec + -DroseCallback=corei7_roseCallback + -DroseCatchUpAll=corei7_roseCatchUpAll + -DroseCatchUpMPV_i=corei7_roseCatchUpMPV_i + -DroseCatchUpSuf=corei7_roseCatchUpSuf + -DroseDelayRebuildCallback=corei7_roseDelayRebuildCallback + -DroseFloatingCallback=corei7_roseFloatingCallback + -DroseHandleChainMatch=corei7_roseHandleChainMatch + -DroseInitState=corei7_roseInitState + -DroseNfaAdaptor=corei7_roseNfaAdaptor + -DroseNfaEarliestSom=corei7_roseNfaEarliestSom + -DroseReportAdaptor=corei7_roseReportAdaptor + -DroseRunBoundaryProgram=corei7_roseRunBoundaryProgram + -DroseRunFlushCombProgram=corei7_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=corei7_roseRunLastFlushCombProgram + -DroseRunProgram=corei7_roseRunProgram + -DroseRunProgram_l=corei7_roseRunProgram_l + -DroseStreamEodExec=corei7_roseStreamEodExec + -DroseStreamExec=corei7_roseStreamExec + -DrshuftiExec=corei7_rshuftiExec + -DrtruffleExec=corei7_rtruffleExec + -Drun_accel=corei7_run_accel + -DsetSomFromSomAware=corei7_setSomFromSomAware + -DshuftiDoubleExec=corei7_shuftiDoubleExec + -DshuftiExec=corei7_shuftiExec + -Dsimd_onebit_masks=corei7_simd_onebit_masks + -Dsize_compress_stream=corei7_size_compress_stream + -DstoreSomToStream=corei7_storeSomToStream + -Dstorecompressed128=corei7_storecompressed128 + -Dstorecompressed256=corei7_storecompressed256 + -Dstorecompressed32=corei7_storecompressed32 + -Dstorecompressed384=corei7_storecompressed384 + -Dstorecompressed512=corei7_storecompressed512 + -Dstorecompressed64=corei7_storecompressed64 + -DstreamInitSufPQ=corei7_streamInitSufPQ + -DtruffleExec=corei7_truffleExec + -Dvbs_mask_data=corei7_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux-aarch64.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..33d224a7cd --- /dev/null +++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux-aarch64.txt @@ -0,0 +1,477 @@ + +# 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(libs-hyperscan-runtime_corei7) +target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE + -DHAVE_SSE41 + -DHAVE_SSE42 + -DHAVE_POPCOUNT_INSTR + -DCrc32c_ComputeBuf=corei7_Crc32c_ComputeBuf + -DblockInitSufPQ=corei7_blockInitSufPQ + -Dcompress_stream=corei7_compress_stream + -Dcpuid_flags=corei7_cpuid_flags + -Dcpuid_tune=corei7_cpuid_tune + -DdbIsValid=corei7_dbIsValid + -DdoAccel128=corei7_doAccel128 + -DdoAccel256=corei7_doAccel256 + -DdoAccel32=corei7_doAccel32 + -DdoAccel384=corei7_doAccel384 + -DdoAccel512=corei7_doAccel512 + -DdoAccel64=corei7_doAccel64 + -Dexpand_stream=corei7_expand_stream + -DfdrExec=corei7_fdrExec + -DfdrExecStreaming=corei7_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=corei7_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=corei7_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=corei7_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=corei7_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=corei7_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=corei7_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=corei7_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=corei7_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=corei7_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=corei7_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=corei7_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=corei7_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=corei7_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=corei7_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=corei7_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=corei7_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=corei7_flushQueuedLiterals_i + -DflushStoredSomMatches_i=corei7_flushStoredSomMatches_i + -DhandleSomExternal=corei7_handleSomExternal + -DhandleSomInternal=corei7_handleSomInternal + -Dhs_alloc_scratch=corei7_hs_alloc_scratch + -Dhs_clone_scratch=corei7_hs_clone_scratch + -Dhs_close_stream=corei7_hs_close_stream + -Dhs_compress_stream=corei7_hs_compress_stream + -Dhs_copy_stream=corei7_hs_copy_stream + -Dhs_database_alloc=corei7_hs_database_alloc + -Dhs_database_free=corei7_hs_database_free + -Dhs_database_info=corei7_hs_database_info + -Dhs_database_size=corei7_hs_database_size + -Dhs_deserialize_database=corei7_hs_deserialize_database + -Dhs_deserialize_database_at=corei7_hs_deserialize_database_at + -Dhs_expand_stream=corei7_hs_expand_stream + -Dhs_free_database=corei7_hs_free_database + -Dhs_free_scratch=corei7_hs_free_scratch + -Dhs_misc_alloc=corei7_hs_misc_alloc + -Dhs_misc_free=corei7_hs_misc_free + -Dhs_open_stream=corei7_hs_open_stream + -Dhs_reset_and_copy_stream=corei7_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=corei7_hs_reset_and_expand_stream + -Dhs_reset_stream=corei7_hs_reset_stream + -Dhs_scan=corei7_hs_scan + -Dhs_scan_stream=corei7_hs_scan_stream + -Dhs_scan_vector=corei7_hs_scan_vector + -Dhs_scratch_alloc=corei7_hs_scratch_alloc + -Dhs_scratch_free=corei7_hs_scratch_free + -Dhs_scratch_size=corei7_hs_scratch_size + -Dhs_serialize_database=corei7_hs_serialize_database + -Dhs_serialized_database_info=corei7_hs_serialized_database_info + -Dhs_serialized_database_size=corei7_hs_serialized_database_size + -Dhs_set_allocator=corei7_hs_set_allocator + -Dhs_set_database_allocator=corei7_hs_set_database_allocator + -Dhs_set_misc_allocator=corei7_hs_set_misc_allocator + -Dhs_set_scratch_allocator=corei7_hs_set_scratch_allocator + -Dhs_set_stream_allocator=corei7_hs_set_stream_allocator + -Dhs_stream_alloc=corei7_hs_stream_alloc + -Dhs_stream_free=corei7_hs_stream_free + -Dhs_stream_size=corei7_hs_stream_size + -Dhs_valid_platform=corei7_hs_valid_platform + -Dhs_version=corei7_hs_version + -DhwlmExec=corei7_hwlmExec + -DhwlmExecStreaming=corei7_hwlmExecStreaming + -DloadSomFromStream=corei7_loadSomFromStream + -Dloadcompressed128=corei7_loadcompressed128 + -Dloadcompressed256=corei7_loadcompressed256 + -Dloadcompressed32=corei7_loadcompressed32 + -Dloadcompressed384=corei7_loadcompressed384 + -Dloadcompressed512=corei7_loadcompressed512 + -Dloadcompressed64=corei7_loadcompressed64 + -Dmcsheng_pext_mask=corei7_mcsheng_pext_mask + -Dmm_mask_mask=corei7_mm_mask_mask + -Dmm_shuffle_end=corei7_mm_shuffle_end + -Dmmbit_keyshift_lut=corei7_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=corei7_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=corei7_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=corei7_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=corei7_mmbit_zero_to_lut + -DnfaBlockExecReverse=corei7_nfaBlockExecReverse + -DnfaCheckFinalState=corei7_nfaCheckFinalState + -DnfaExecCastle_Q=corei7_nfaExecCastle_Q + -DnfaExecCastle_Q2=corei7_nfaExecCastle_Q2 + -DnfaExecCastle_QR=corei7_nfaExecCastle_QR + -DnfaExecCastle_expandState=corei7_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=corei7_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=corei7_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=corei7_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=corei7_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=corei7_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=corei7_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=corei7_nfaExecGough16_Q + -DnfaExecGough16_Q2=corei7_nfaExecGough16_Q2 + -DnfaExecGough16_QR=corei7_nfaExecGough16_QR + -DnfaExecGough16_expandState=corei7_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=corei7_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=corei7_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=corei7_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=corei7_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=corei7_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=corei7_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=corei7_nfaExecGough16_testEOD + -DnfaExecGough8_Q=corei7_nfaExecGough8_Q + -DnfaExecGough8_Q2=corei7_nfaExecGough8_Q2 + -DnfaExecGough8_QR=corei7_nfaExecGough8_QR + -DnfaExecGough8_expandState=corei7_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=corei7_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=corei7_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=corei7_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=corei7_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=corei7_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=corei7_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=corei7_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=corei7_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=corei7_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=corei7_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=corei7_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=corei7_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=corei7_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=corei7_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=corei7_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=corei7_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=corei7_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=corei7_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=corei7_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=corei7_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=corei7_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=corei7_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=corei7_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=corei7_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=corei7_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=corei7_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=corei7_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=corei7_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=corei7_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=corei7_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=corei7_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=corei7_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=corei7_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=corei7_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=corei7_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=corei7_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=corei7_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=corei7_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=corei7_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=corei7_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=corei7_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=corei7_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=corei7_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=corei7_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=corei7_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=corei7_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=corei7_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=corei7_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=corei7_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=corei7_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=corei7_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=corei7_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=corei7_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=corei7_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=corei7_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=corei7_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=corei7_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=corei7_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=corei7_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=corei7_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=corei7_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=corei7_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=corei7_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=corei7_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=corei7_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=corei7_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=corei7_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=corei7_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=corei7_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=corei7_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=corei7_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=corei7_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=corei7_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=corei7_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=corei7_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=corei7_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=corei7_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=corei7_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=corei7_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=corei7_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=corei7_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=corei7_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=corei7_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=corei7_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=corei7_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=corei7_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=corei7_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=corei7_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=corei7_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=corei7_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=corei7_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=corei7_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=corei7_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=corei7_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=corei7_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=corei7_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=corei7_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=corei7_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=corei7_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=corei7_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=corei7_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=corei7_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=corei7_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=corei7_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=corei7_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=corei7_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=corei7_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=corei7_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=corei7_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=corei7_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=corei7_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=corei7_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=corei7_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=corei7_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=corei7_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=corei7_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=corei7_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=corei7_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=corei7_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=corei7_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=corei7_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=corei7_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=corei7_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=corei7_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=corei7_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=corei7_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=corei7_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=corei7_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=corei7_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=corei7_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=corei7_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=corei7_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=corei7_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=corei7_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=corei7_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=corei7_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=corei7_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=corei7_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=corei7_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=corei7_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=corei7_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=corei7_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=corei7_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=corei7_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=corei7_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=corei7_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=corei7_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=corei7_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=corei7_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=corei7_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=corei7_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=corei7_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=corei7_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=corei7_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=corei7_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=corei7_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=corei7_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=corei7_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=corei7_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=corei7_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=corei7_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=corei7_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=corei7_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=corei7_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=corei7_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=corei7_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=corei7_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=corei7_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=corei7_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=corei7_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=corei7_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=corei7_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=corei7_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=corei7_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=corei7_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=corei7_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=corei7_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=corei7_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=corei7_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=corei7_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=corei7_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=corei7_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=corei7_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=corei7_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=corei7_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=corei7_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=corei7_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=corei7_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=corei7_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=corei7_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=corei7_nfaExecSheng_B + -DnfaExecSheng_Q=corei7_nfaExecSheng_Q + -DnfaExecSheng_Q2=corei7_nfaExecSheng_Q2 + -DnfaExecSheng_QR=corei7_nfaExecSheng_QR + -DnfaExecSheng_expandState=corei7_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=corei7_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=corei7_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=corei7_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=corei7_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=corei7_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=corei7_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=corei7_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=corei7_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=corei7_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=corei7_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=corei7_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=corei7_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=corei7_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=corei7_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=corei7_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=corei7_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=corei7_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=corei7_nfaExecTamarama_zombie_status + -DnfaExpandState=corei7_nfaExpandState + -DnfaGetZombieStatus=corei7_nfaGetZombieStatus + -DnfaInAcceptState=corei7_nfaInAcceptState + -DnfaInAnyAcceptState=corei7_nfaInAnyAcceptState + -DnfaInitCompressedState=corei7_nfaInitCompressedState + -DnfaQueueCompressState=corei7_nfaQueueCompressState + -DnfaQueueExec=corei7_nfaQueueExec + -DnfaQueueExec2_raw=corei7_nfaQueueExec2_raw + -DnfaQueueExecRose=corei7_nfaQueueExecRose + -DnfaQueueExecToMatch=corei7_nfaQueueExecToMatch + -DnfaQueueExec_raw=corei7_nfaQueueExec_raw + -DnfaQueueInitState=corei7_nfaQueueInitState + -DnfaReportCurrentMatches=corei7_nfaReportCurrentMatches + -DnoodExec=corei7_noodExec + -DnoodExecStreaming=corei7_noodExecStreaming + -Dp_mask_arr=corei7_p_mask_arr + -Dp_mask_arr256=corei7_p_mask_arr256 + -DrepeatHasMatchBitmap=corei7_repeatHasMatchBitmap + -DrepeatHasMatchRange=corei7_repeatHasMatchRange + -DrepeatHasMatchRing=corei7_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=corei7_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=corei7_repeatHasMatchTrailer + -DrepeatLastTopBitmap=corei7_repeatLastTopBitmap + -DrepeatLastTopRange=corei7_repeatLastTopRange + -DrepeatLastTopRing=corei7_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=corei7_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=corei7_repeatLastTopTrailer + -DrepeatNextMatchBitmap=corei7_repeatNextMatchBitmap + -DrepeatNextMatchRange=corei7_repeatNextMatchRange + -DrepeatNextMatchRing=corei7_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=corei7_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=corei7_repeatNextMatchTrailer + -DrepeatPack=corei7_repeatPack + -DrepeatStoreBitmap=corei7_repeatStoreBitmap + -DrepeatStoreRange=corei7_repeatStoreRange + -DrepeatStoreRing=corei7_repeatStoreRing + -DrepeatStoreSparseOptimalP=corei7_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=corei7_repeatStoreTrailer + -DrepeatUnpack=corei7_repeatUnpack + -DroseAnchoredCallback=corei7_roseAnchoredCallback + -DroseBlockExec=corei7_roseBlockExec + -DroseCallback=corei7_roseCallback + -DroseCatchUpAll=corei7_roseCatchUpAll + -DroseCatchUpMPV_i=corei7_roseCatchUpMPV_i + -DroseCatchUpSuf=corei7_roseCatchUpSuf + -DroseDelayRebuildCallback=corei7_roseDelayRebuildCallback + -DroseFloatingCallback=corei7_roseFloatingCallback + -DroseHandleChainMatch=corei7_roseHandleChainMatch + -DroseInitState=corei7_roseInitState + -DroseNfaAdaptor=corei7_roseNfaAdaptor + -DroseNfaEarliestSom=corei7_roseNfaEarliestSom + -DroseReportAdaptor=corei7_roseReportAdaptor + -DroseRunBoundaryProgram=corei7_roseRunBoundaryProgram + -DroseRunFlushCombProgram=corei7_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=corei7_roseRunLastFlushCombProgram + -DroseRunProgram=corei7_roseRunProgram + -DroseRunProgram_l=corei7_roseRunProgram_l + -DroseStreamEodExec=corei7_roseStreamEodExec + -DroseStreamExec=corei7_roseStreamExec + -DrshuftiExec=corei7_rshuftiExec + -DrtruffleExec=corei7_rtruffleExec + -Drun_accel=corei7_run_accel + -DsetSomFromSomAware=corei7_setSomFromSomAware + -DshuftiDoubleExec=corei7_shuftiDoubleExec + -DshuftiExec=corei7_shuftiExec + -Dsimd_onebit_masks=corei7_simd_onebit_masks + -Dsize_compress_stream=corei7_size_compress_stream + -DstoreSomToStream=corei7_storeSomToStream + -Dstorecompressed128=corei7_storecompressed128 + -Dstorecompressed256=corei7_storecompressed256 + -Dstorecompressed32=corei7_storecompressed32 + -Dstorecompressed384=corei7_storecompressed384 + -Dstorecompressed512=corei7_storecompressed512 + -Dstorecompressed64=corei7_storecompressed64 + -DstreamInitSufPQ=corei7_streamInitSufPQ + -DtruffleExec=corei7_truffleExec + -Dvbs_mask_data=corei7_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt new file mode 100644 index 0000000000..77b4d7fd96 --- /dev/null +++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt @@ -0,0 +1,480 @@ + +# 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(libs-hyperscan-runtime_corei7) +target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE + -msse4.1 + -DHAVE_SSE41 + -msse4.2 + -DHAVE_SSE42 + -mpopcnt + -DHAVE_POPCOUNT_INSTR + -DCrc32c_ComputeBuf=corei7_Crc32c_ComputeBuf + -DblockInitSufPQ=corei7_blockInitSufPQ + -Dcompress_stream=corei7_compress_stream + -Dcpuid_flags=corei7_cpuid_flags + -Dcpuid_tune=corei7_cpuid_tune + -DdbIsValid=corei7_dbIsValid + -DdoAccel128=corei7_doAccel128 + -DdoAccel256=corei7_doAccel256 + -DdoAccel32=corei7_doAccel32 + -DdoAccel384=corei7_doAccel384 + -DdoAccel512=corei7_doAccel512 + -DdoAccel64=corei7_doAccel64 + -Dexpand_stream=corei7_expand_stream + -DfdrExec=corei7_fdrExec + -DfdrExecStreaming=corei7_fdrExecStreaming + -Dfdr_exec_fat_teddy_msks1=corei7_fdr_exec_fat_teddy_msks1 + -Dfdr_exec_fat_teddy_msks1_pck=corei7_fdr_exec_fat_teddy_msks1_pck + -Dfdr_exec_fat_teddy_msks2=corei7_fdr_exec_fat_teddy_msks2 + -Dfdr_exec_fat_teddy_msks2_pck=corei7_fdr_exec_fat_teddy_msks2_pck + -Dfdr_exec_fat_teddy_msks3=corei7_fdr_exec_fat_teddy_msks3 + -Dfdr_exec_fat_teddy_msks3_pck=corei7_fdr_exec_fat_teddy_msks3_pck + -Dfdr_exec_fat_teddy_msks4=corei7_fdr_exec_fat_teddy_msks4 + -Dfdr_exec_fat_teddy_msks4_pck=corei7_fdr_exec_fat_teddy_msks4_pck + -Dfdr_exec_teddy_msks1=corei7_fdr_exec_teddy_msks1 + -Dfdr_exec_teddy_msks1_pck=corei7_fdr_exec_teddy_msks1_pck + -Dfdr_exec_teddy_msks2=corei7_fdr_exec_teddy_msks2 + -Dfdr_exec_teddy_msks2_pck=corei7_fdr_exec_teddy_msks2_pck + -Dfdr_exec_teddy_msks3=corei7_fdr_exec_teddy_msks3 + -Dfdr_exec_teddy_msks3_pck=corei7_fdr_exec_teddy_msks3_pck + -Dfdr_exec_teddy_msks4=corei7_fdr_exec_teddy_msks4 + -Dfdr_exec_teddy_msks4_pck=corei7_fdr_exec_teddy_msks4_pck + -DflushQueuedLiterals_i=corei7_flushQueuedLiterals_i + -DflushStoredSomMatches_i=corei7_flushStoredSomMatches_i + -DhandleSomExternal=corei7_handleSomExternal + -DhandleSomInternal=corei7_handleSomInternal + -Dhs_alloc_scratch=corei7_hs_alloc_scratch + -Dhs_clone_scratch=corei7_hs_clone_scratch + -Dhs_close_stream=corei7_hs_close_stream + -Dhs_compress_stream=corei7_hs_compress_stream + -Dhs_copy_stream=corei7_hs_copy_stream + -Dhs_database_alloc=corei7_hs_database_alloc + -Dhs_database_free=corei7_hs_database_free + -Dhs_database_info=corei7_hs_database_info + -Dhs_database_size=corei7_hs_database_size + -Dhs_deserialize_database=corei7_hs_deserialize_database + -Dhs_deserialize_database_at=corei7_hs_deserialize_database_at + -Dhs_expand_stream=corei7_hs_expand_stream + -Dhs_free_database=corei7_hs_free_database + -Dhs_free_scratch=corei7_hs_free_scratch + -Dhs_misc_alloc=corei7_hs_misc_alloc + -Dhs_misc_free=corei7_hs_misc_free + -Dhs_open_stream=corei7_hs_open_stream + -Dhs_reset_and_copy_stream=corei7_hs_reset_and_copy_stream + -Dhs_reset_and_expand_stream=corei7_hs_reset_and_expand_stream + -Dhs_reset_stream=corei7_hs_reset_stream + -Dhs_scan=corei7_hs_scan + -Dhs_scan_stream=corei7_hs_scan_stream + -Dhs_scan_vector=corei7_hs_scan_vector + -Dhs_scratch_alloc=corei7_hs_scratch_alloc + -Dhs_scratch_free=corei7_hs_scratch_free + -Dhs_scratch_size=corei7_hs_scratch_size + -Dhs_serialize_database=corei7_hs_serialize_database + -Dhs_serialized_database_info=corei7_hs_serialized_database_info + -Dhs_serialized_database_size=corei7_hs_serialized_database_size + -Dhs_set_allocator=corei7_hs_set_allocator + -Dhs_set_database_allocator=corei7_hs_set_database_allocator + -Dhs_set_misc_allocator=corei7_hs_set_misc_allocator + -Dhs_set_scratch_allocator=corei7_hs_set_scratch_allocator + -Dhs_set_stream_allocator=corei7_hs_set_stream_allocator + -Dhs_stream_alloc=corei7_hs_stream_alloc + -Dhs_stream_free=corei7_hs_stream_free + -Dhs_stream_size=corei7_hs_stream_size + -Dhs_valid_platform=corei7_hs_valid_platform + -Dhs_version=corei7_hs_version + -DhwlmExec=corei7_hwlmExec + -DhwlmExecStreaming=corei7_hwlmExecStreaming + -DloadSomFromStream=corei7_loadSomFromStream + -Dloadcompressed128=corei7_loadcompressed128 + -Dloadcompressed256=corei7_loadcompressed256 + -Dloadcompressed32=corei7_loadcompressed32 + -Dloadcompressed384=corei7_loadcompressed384 + -Dloadcompressed512=corei7_loadcompressed512 + -Dloadcompressed64=corei7_loadcompressed64 + -Dmcsheng_pext_mask=corei7_mcsheng_pext_mask + -Dmm_mask_mask=corei7_mm_mask_mask + -Dmm_shuffle_end=corei7_mm_shuffle_end + -Dmmbit_keyshift_lut=corei7_mmbit_keyshift_lut + -Dmmbit_maxlevel_direct_lut=corei7_mmbit_maxlevel_direct_lut + -Dmmbit_maxlevel_from_keyshift_lut=corei7_mmbit_maxlevel_from_keyshift_lut + -Dmmbit_root_offset_from_level=corei7_mmbit_root_offset_from_level + -Dmmbit_zero_to_lut=corei7_mmbit_zero_to_lut + -DnfaBlockExecReverse=corei7_nfaBlockExecReverse + -DnfaCheckFinalState=corei7_nfaCheckFinalState + -DnfaExecCastle_Q=corei7_nfaExecCastle_Q + -DnfaExecCastle_Q2=corei7_nfaExecCastle_Q2 + -DnfaExecCastle_QR=corei7_nfaExecCastle_QR + -DnfaExecCastle_expandState=corei7_nfaExecCastle_expandState + -DnfaExecCastle_inAccept=corei7_nfaExecCastle_inAccept + -DnfaExecCastle_inAnyAccept=corei7_nfaExecCastle_inAnyAccept + -DnfaExecCastle_initCompressedState=corei7_nfaExecCastle_initCompressedState + -DnfaExecCastle_queueCompressState=corei7_nfaExecCastle_queueCompressState + -DnfaExecCastle_queueInitState=corei7_nfaExecCastle_queueInitState + -DnfaExecCastle_reportCurrent=corei7_nfaExecCastle_reportCurrent + -DnfaExecGough16_Q=corei7_nfaExecGough16_Q + -DnfaExecGough16_Q2=corei7_nfaExecGough16_Q2 + -DnfaExecGough16_QR=corei7_nfaExecGough16_QR + -DnfaExecGough16_expandState=corei7_nfaExecGough16_expandState + -DnfaExecGough16_inAccept=corei7_nfaExecGough16_inAccept + -DnfaExecGough16_inAnyAccept=corei7_nfaExecGough16_inAnyAccept + -DnfaExecGough16_initCompressedState=corei7_nfaExecGough16_initCompressedState + -DnfaExecGough16_queueCompressState=corei7_nfaExecGough16_queueCompressState + -DnfaExecGough16_queueInitState=corei7_nfaExecGough16_queueInitState + -DnfaExecGough16_reportCurrent=corei7_nfaExecGough16_reportCurrent + -DnfaExecGough16_testEOD=corei7_nfaExecGough16_testEOD + -DnfaExecGough8_Q=corei7_nfaExecGough8_Q + -DnfaExecGough8_Q2=corei7_nfaExecGough8_Q2 + -DnfaExecGough8_QR=corei7_nfaExecGough8_QR + -DnfaExecGough8_expandState=corei7_nfaExecGough8_expandState + -DnfaExecGough8_inAccept=corei7_nfaExecGough8_inAccept + -DnfaExecGough8_inAnyAccept=corei7_nfaExecGough8_inAnyAccept + -DnfaExecGough8_initCompressedState=corei7_nfaExecGough8_initCompressedState + -DnfaExecGough8_queueCompressState=corei7_nfaExecGough8_queueCompressState + -DnfaExecGough8_queueInitState=corei7_nfaExecGough8_queueInitState + -DnfaExecGough8_reportCurrent=corei7_nfaExecGough8_reportCurrent + -DnfaExecGough8_testEOD=corei7_nfaExecGough8_testEOD + -DnfaExecLbrDot_Q=corei7_nfaExecLbrDot_Q + -DnfaExecLbrDot_Q2=corei7_nfaExecLbrDot_Q2 + -DnfaExecLbrDot_QR=corei7_nfaExecLbrDot_QR + -DnfaExecLbrDot_expandState=corei7_nfaExecLbrDot_expandState + -DnfaExecLbrDot_inAccept=corei7_nfaExecLbrDot_inAccept + -DnfaExecLbrDot_inAnyAccept=corei7_nfaExecLbrDot_inAnyAccept + -DnfaExecLbrDot_initCompressedState=corei7_nfaExecLbrDot_initCompressedState + -DnfaExecLbrDot_queueCompressState=corei7_nfaExecLbrDot_queueCompressState + -DnfaExecLbrDot_queueInitState=corei7_nfaExecLbrDot_queueInitState + -DnfaExecLbrDot_reportCurrent=corei7_nfaExecLbrDot_reportCurrent + -DnfaExecLbrNVerm_Q=corei7_nfaExecLbrNVerm_Q + -DnfaExecLbrNVerm_Q2=corei7_nfaExecLbrNVerm_Q2 + -DnfaExecLbrNVerm_QR=corei7_nfaExecLbrNVerm_QR + -DnfaExecLbrNVerm_expandState=corei7_nfaExecLbrNVerm_expandState + -DnfaExecLbrNVerm_inAccept=corei7_nfaExecLbrNVerm_inAccept + -DnfaExecLbrNVerm_inAnyAccept=corei7_nfaExecLbrNVerm_inAnyAccept + -DnfaExecLbrNVerm_initCompressedState=corei7_nfaExecLbrNVerm_initCompressedState + -DnfaExecLbrNVerm_queueCompressState=corei7_nfaExecLbrNVerm_queueCompressState + -DnfaExecLbrNVerm_queueInitState=corei7_nfaExecLbrNVerm_queueInitState + -DnfaExecLbrNVerm_reportCurrent=corei7_nfaExecLbrNVerm_reportCurrent + -DnfaExecLbrShuf_Q=corei7_nfaExecLbrShuf_Q + -DnfaExecLbrShuf_Q2=corei7_nfaExecLbrShuf_Q2 + -DnfaExecLbrShuf_QR=corei7_nfaExecLbrShuf_QR + -DnfaExecLbrShuf_expandState=corei7_nfaExecLbrShuf_expandState + -DnfaExecLbrShuf_inAccept=corei7_nfaExecLbrShuf_inAccept + -DnfaExecLbrShuf_inAnyAccept=corei7_nfaExecLbrShuf_inAnyAccept + -DnfaExecLbrShuf_initCompressedState=corei7_nfaExecLbrShuf_initCompressedState + -DnfaExecLbrShuf_queueCompressState=corei7_nfaExecLbrShuf_queueCompressState + -DnfaExecLbrShuf_queueInitState=corei7_nfaExecLbrShuf_queueInitState + -DnfaExecLbrShuf_reportCurrent=corei7_nfaExecLbrShuf_reportCurrent + -DnfaExecLbrTruf_Q=corei7_nfaExecLbrTruf_Q + -DnfaExecLbrTruf_Q2=corei7_nfaExecLbrTruf_Q2 + -DnfaExecLbrTruf_QR=corei7_nfaExecLbrTruf_QR + -DnfaExecLbrTruf_expandState=corei7_nfaExecLbrTruf_expandState + -DnfaExecLbrTruf_inAccept=corei7_nfaExecLbrTruf_inAccept + -DnfaExecLbrTruf_inAnyAccept=corei7_nfaExecLbrTruf_inAnyAccept + -DnfaExecLbrTruf_initCompressedState=corei7_nfaExecLbrTruf_initCompressedState + -DnfaExecLbrTruf_queueCompressState=corei7_nfaExecLbrTruf_queueCompressState + -DnfaExecLbrTruf_queueInitState=corei7_nfaExecLbrTruf_queueInitState + -DnfaExecLbrTruf_reportCurrent=corei7_nfaExecLbrTruf_reportCurrent + -DnfaExecLbrVerm_Q=corei7_nfaExecLbrVerm_Q + -DnfaExecLbrVerm_Q2=corei7_nfaExecLbrVerm_Q2 + -DnfaExecLbrVerm_QR=corei7_nfaExecLbrVerm_QR + -DnfaExecLbrVerm_expandState=corei7_nfaExecLbrVerm_expandState + -DnfaExecLbrVerm_inAccept=corei7_nfaExecLbrVerm_inAccept + -DnfaExecLbrVerm_inAnyAccept=corei7_nfaExecLbrVerm_inAnyAccept + -DnfaExecLbrVerm_initCompressedState=corei7_nfaExecLbrVerm_initCompressedState + -DnfaExecLbrVerm_queueCompressState=corei7_nfaExecLbrVerm_queueCompressState + -DnfaExecLbrVerm_queueInitState=corei7_nfaExecLbrVerm_queueInitState + -DnfaExecLbrVerm_reportCurrent=corei7_nfaExecLbrVerm_reportCurrent + -DnfaExecLimEx128_B_Reverse=corei7_nfaExecLimEx128_B_Reverse + -DnfaExecLimEx128_Q=corei7_nfaExecLimEx128_Q + -DnfaExecLimEx128_Q2=corei7_nfaExecLimEx128_Q2 + -DnfaExecLimEx128_QR=corei7_nfaExecLimEx128_QR + -DnfaExecLimEx128_expandState=corei7_nfaExecLimEx128_expandState + -DnfaExecLimEx128_inAccept=corei7_nfaExecLimEx128_inAccept + -DnfaExecLimEx128_inAnyAccept=corei7_nfaExecLimEx128_inAnyAccept + -DnfaExecLimEx128_initCompressedState=corei7_nfaExecLimEx128_initCompressedState + -DnfaExecLimEx128_queueCompressState=corei7_nfaExecLimEx128_queueCompressState + -DnfaExecLimEx128_queueInitState=corei7_nfaExecLimEx128_queueInitState + -DnfaExecLimEx128_reportCurrent=corei7_nfaExecLimEx128_reportCurrent + -DnfaExecLimEx128_testEOD=corei7_nfaExecLimEx128_testEOD + -DnfaExecLimEx128_zombie_status=corei7_nfaExecLimEx128_zombie_status + -DnfaExecLimEx256_B_Reverse=corei7_nfaExecLimEx256_B_Reverse + -DnfaExecLimEx256_Q=corei7_nfaExecLimEx256_Q + -DnfaExecLimEx256_Q2=corei7_nfaExecLimEx256_Q2 + -DnfaExecLimEx256_QR=corei7_nfaExecLimEx256_QR + -DnfaExecLimEx256_expandState=corei7_nfaExecLimEx256_expandState + -DnfaExecLimEx256_inAccept=corei7_nfaExecLimEx256_inAccept + -DnfaExecLimEx256_inAnyAccept=corei7_nfaExecLimEx256_inAnyAccept + -DnfaExecLimEx256_initCompressedState=corei7_nfaExecLimEx256_initCompressedState + -DnfaExecLimEx256_queueCompressState=corei7_nfaExecLimEx256_queueCompressState + -DnfaExecLimEx256_queueInitState=corei7_nfaExecLimEx256_queueInitState + -DnfaExecLimEx256_reportCurrent=corei7_nfaExecLimEx256_reportCurrent + -DnfaExecLimEx256_testEOD=corei7_nfaExecLimEx256_testEOD + -DnfaExecLimEx256_zombie_status=corei7_nfaExecLimEx256_zombie_status + -DnfaExecLimEx32_B_Reverse=corei7_nfaExecLimEx32_B_Reverse + -DnfaExecLimEx32_Q=corei7_nfaExecLimEx32_Q + -DnfaExecLimEx32_Q2=corei7_nfaExecLimEx32_Q2 + -DnfaExecLimEx32_QR=corei7_nfaExecLimEx32_QR + -DnfaExecLimEx32_expandState=corei7_nfaExecLimEx32_expandState + -DnfaExecLimEx32_inAccept=corei7_nfaExecLimEx32_inAccept + -DnfaExecLimEx32_inAnyAccept=corei7_nfaExecLimEx32_inAnyAccept + -DnfaExecLimEx32_initCompressedState=corei7_nfaExecLimEx32_initCompressedState + -DnfaExecLimEx32_queueCompressState=corei7_nfaExecLimEx32_queueCompressState + -DnfaExecLimEx32_queueInitState=corei7_nfaExecLimEx32_queueInitState + -DnfaExecLimEx32_reportCurrent=corei7_nfaExecLimEx32_reportCurrent + -DnfaExecLimEx32_testEOD=corei7_nfaExecLimEx32_testEOD + -DnfaExecLimEx32_zombie_status=corei7_nfaExecLimEx32_zombie_status + -DnfaExecLimEx384_B_Reverse=corei7_nfaExecLimEx384_B_Reverse + -DnfaExecLimEx384_Q=corei7_nfaExecLimEx384_Q + -DnfaExecLimEx384_Q2=corei7_nfaExecLimEx384_Q2 + -DnfaExecLimEx384_QR=corei7_nfaExecLimEx384_QR + -DnfaExecLimEx384_expandState=corei7_nfaExecLimEx384_expandState + -DnfaExecLimEx384_inAccept=corei7_nfaExecLimEx384_inAccept + -DnfaExecLimEx384_inAnyAccept=corei7_nfaExecLimEx384_inAnyAccept + -DnfaExecLimEx384_initCompressedState=corei7_nfaExecLimEx384_initCompressedState + -DnfaExecLimEx384_queueCompressState=corei7_nfaExecLimEx384_queueCompressState + -DnfaExecLimEx384_queueInitState=corei7_nfaExecLimEx384_queueInitState + -DnfaExecLimEx384_reportCurrent=corei7_nfaExecLimEx384_reportCurrent + -DnfaExecLimEx384_testEOD=corei7_nfaExecLimEx384_testEOD + -DnfaExecLimEx384_zombie_status=corei7_nfaExecLimEx384_zombie_status + -DnfaExecLimEx512_B_Reverse=corei7_nfaExecLimEx512_B_Reverse + -DnfaExecLimEx512_Q=corei7_nfaExecLimEx512_Q + -DnfaExecLimEx512_Q2=corei7_nfaExecLimEx512_Q2 + -DnfaExecLimEx512_QR=corei7_nfaExecLimEx512_QR + -DnfaExecLimEx512_expandState=corei7_nfaExecLimEx512_expandState + -DnfaExecLimEx512_inAccept=corei7_nfaExecLimEx512_inAccept + -DnfaExecLimEx512_inAnyAccept=corei7_nfaExecLimEx512_inAnyAccept + -DnfaExecLimEx512_initCompressedState=corei7_nfaExecLimEx512_initCompressedState + -DnfaExecLimEx512_queueCompressState=corei7_nfaExecLimEx512_queueCompressState + -DnfaExecLimEx512_queueInitState=corei7_nfaExecLimEx512_queueInitState + -DnfaExecLimEx512_reportCurrent=corei7_nfaExecLimEx512_reportCurrent + -DnfaExecLimEx512_testEOD=corei7_nfaExecLimEx512_testEOD + -DnfaExecLimEx512_zombie_status=corei7_nfaExecLimEx512_zombie_status + -DnfaExecLimEx64_B_Reverse=corei7_nfaExecLimEx64_B_Reverse + -DnfaExecLimEx64_Q=corei7_nfaExecLimEx64_Q + -DnfaExecLimEx64_Q2=corei7_nfaExecLimEx64_Q2 + -DnfaExecLimEx64_QR=corei7_nfaExecLimEx64_QR + -DnfaExecLimEx64_expandState=corei7_nfaExecLimEx64_expandState + -DnfaExecLimEx64_inAccept=corei7_nfaExecLimEx64_inAccept + -DnfaExecLimEx64_inAnyAccept=corei7_nfaExecLimEx64_inAnyAccept + -DnfaExecLimEx64_initCompressedState=corei7_nfaExecLimEx64_initCompressedState + -DnfaExecLimEx64_queueCompressState=corei7_nfaExecLimEx64_queueCompressState + -DnfaExecLimEx64_queueInitState=corei7_nfaExecLimEx64_queueInitState + -DnfaExecLimEx64_reportCurrent=corei7_nfaExecLimEx64_reportCurrent + -DnfaExecLimEx64_testEOD=corei7_nfaExecLimEx64_testEOD + -DnfaExecLimEx64_zombie_status=corei7_nfaExecLimEx64_zombie_status + -DnfaExecMcClellan16_B=corei7_nfaExecMcClellan16_B + -DnfaExecMcClellan16_Q=corei7_nfaExecMcClellan16_Q + -DnfaExecMcClellan16_Q2=corei7_nfaExecMcClellan16_Q2 + -DnfaExecMcClellan16_QR=corei7_nfaExecMcClellan16_QR + -DnfaExecMcClellan16_SimpStream=corei7_nfaExecMcClellan16_SimpStream + -DnfaExecMcClellan16_expandState=corei7_nfaExecMcClellan16_expandState + -DnfaExecMcClellan16_inAccept=corei7_nfaExecMcClellan16_inAccept + -DnfaExecMcClellan16_inAnyAccept=corei7_nfaExecMcClellan16_inAnyAccept + -DnfaExecMcClellan16_initCompressedState=corei7_nfaExecMcClellan16_initCompressedState + -DnfaExecMcClellan16_queueCompressState=corei7_nfaExecMcClellan16_queueCompressState + -DnfaExecMcClellan16_queueInitState=corei7_nfaExecMcClellan16_queueInitState + -DnfaExecMcClellan16_reportCurrent=corei7_nfaExecMcClellan16_reportCurrent + -DnfaExecMcClellan16_testEOD=corei7_nfaExecMcClellan16_testEOD + -DnfaExecMcClellan8_B=corei7_nfaExecMcClellan8_B + -DnfaExecMcClellan8_Q=corei7_nfaExecMcClellan8_Q + -DnfaExecMcClellan8_Q2=corei7_nfaExecMcClellan8_Q2 + -DnfaExecMcClellan8_QR=corei7_nfaExecMcClellan8_QR + -DnfaExecMcClellan8_SimpStream=corei7_nfaExecMcClellan8_SimpStream + -DnfaExecMcClellan8_expandState=corei7_nfaExecMcClellan8_expandState + -DnfaExecMcClellan8_inAccept=corei7_nfaExecMcClellan8_inAccept + -DnfaExecMcClellan8_inAnyAccept=corei7_nfaExecMcClellan8_inAnyAccept + -DnfaExecMcClellan8_initCompressedState=corei7_nfaExecMcClellan8_initCompressedState + -DnfaExecMcClellan8_queueCompressState=corei7_nfaExecMcClellan8_queueCompressState + -DnfaExecMcClellan8_queueInitState=corei7_nfaExecMcClellan8_queueInitState + -DnfaExecMcClellan8_reportCurrent=corei7_nfaExecMcClellan8_reportCurrent + -DnfaExecMcClellan8_testEOD=corei7_nfaExecMcClellan8_testEOD + -DnfaExecMcSheng16_Q=corei7_nfaExecMcSheng16_Q + -DnfaExecMcSheng16_Q2=corei7_nfaExecMcSheng16_Q2 + -DnfaExecMcSheng16_QR=corei7_nfaExecMcSheng16_QR + -DnfaExecMcSheng16_expandState=corei7_nfaExecMcSheng16_expandState + -DnfaExecMcSheng16_inAccept=corei7_nfaExecMcSheng16_inAccept + -DnfaExecMcSheng16_inAnyAccept=corei7_nfaExecMcSheng16_inAnyAccept + -DnfaExecMcSheng16_initCompressedState=corei7_nfaExecMcSheng16_initCompressedState + -DnfaExecMcSheng16_queueCompressState=corei7_nfaExecMcSheng16_queueCompressState + -DnfaExecMcSheng16_queueInitState=corei7_nfaExecMcSheng16_queueInitState + -DnfaExecMcSheng16_reportCurrent=corei7_nfaExecMcSheng16_reportCurrent + -DnfaExecMcSheng16_testEOD=corei7_nfaExecMcSheng16_testEOD + -DnfaExecMcSheng8_Q=corei7_nfaExecMcSheng8_Q + -DnfaExecMcSheng8_Q2=corei7_nfaExecMcSheng8_Q2 + -DnfaExecMcSheng8_QR=corei7_nfaExecMcSheng8_QR + -DnfaExecMcSheng8_expandState=corei7_nfaExecMcSheng8_expandState + -DnfaExecMcSheng8_inAccept=corei7_nfaExecMcSheng8_inAccept + -DnfaExecMcSheng8_inAnyAccept=corei7_nfaExecMcSheng8_inAnyAccept + -DnfaExecMcSheng8_initCompressedState=corei7_nfaExecMcSheng8_initCompressedState + -DnfaExecMcSheng8_queueCompressState=corei7_nfaExecMcSheng8_queueCompressState + -DnfaExecMcSheng8_queueInitState=corei7_nfaExecMcSheng8_queueInitState + -DnfaExecMcSheng8_reportCurrent=corei7_nfaExecMcSheng8_reportCurrent + -DnfaExecMcSheng8_testEOD=corei7_nfaExecMcSheng8_testEOD + -DnfaExecMpv_Q=corei7_nfaExecMpv_Q + -DnfaExecMpv_QueueExecRaw=corei7_nfaExecMpv_QueueExecRaw + -DnfaExecMpv_expandState=corei7_nfaExecMpv_expandState + -DnfaExecMpv_initCompressedState=corei7_nfaExecMpv_initCompressedState + -DnfaExecMpv_queueCompressState=corei7_nfaExecMpv_queueCompressState + -DnfaExecMpv_queueInitState=corei7_nfaExecMpv_queueInitState + -DnfaExecMpv_reportCurrent=corei7_nfaExecMpv_reportCurrent + -DnfaExecSheng_B=corei7_nfaExecSheng_B + -DnfaExecSheng_Q=corei7_nfaExecSheng_Q + -DnfaExecSheng_Q2=corei7_nfaExecSheng_Q2 + -DnfaExecSheng_QR=corei7_nfaExecSheng_QR + -DnfaExecSheng_expandState=corei7_nfaExecSheng_expandState + -DnfaExecSheng_inAccept=corei7_nfaExecSheng_inAccept + -DnfaExecSheng_inAnyAccept=corei7_nfaExecSheng_inAnyAccept + -DnfaExecSheng_initCompressedState=corei7_nfaExecSheng_initCompressedState + -DnfaExecSheng_queueCompressState=corei7_nfaExecSheng_queueCompressState + -DnfaExecSheng_queueInitState=corei7_nfaExecSheng_queueInitState + -DnfaExecSheng_reportCurrent=corei7_nfaExecSheng_reportCurrent + -DnfaExecSheng_testEOD=corei7_nfaExecSheng_testEOD + -DnfaExecTamarama_Q=corei7_nfaExecTamarama_Q + -DnfaExecTamarama_Q2=corei7_nfaExecTamarama_Q2 + -DnfaExecTamarama_QR=corei7_nfaExecTamarama_QR + -DnfaExecTamarama_expandState=corei7_nfaExecTamarama_expandState + -DnfaExecTamarama_inAccept=corei7_nfaExecTamarama_inAccept + -DnfaExecTamarama_inAnyAccept=corei7_nfaExecTamarama_inAnyAccept + -DnfaExecTamarama_queueCompressState=corei7_nfaExecTamarama_queueCompressState + -DnfaExecTamarama_queueInitState=corei7_nfaExecTamarama_queueInitState + -DnfaExecTamarama_reportCurrent=corei7_nfaExecTamarama_reportCurrent + -DnfaExecTamarama_testEOD=corei7_nfaExecTamarama_testEOD + -DnfaExecTamarama_zombie_status=corei7_nfaExecTamarama_zombie_status + -DnfaExpandState=corei7_nfaExpandState + -DnfaGetZombieStatus=corei7_nfaGetZombieStatus + -DnfaInAcceptState=corei7_nfaInAcceptState + -DnfaInAnyAcceptState=corei7_nfaInAnyAcceptState + -DnfaInitCompressedState=corei7_nfaInitCompressedState + -DnfaQueueCompressState=corei7_nfaQueueCompressState + -DnfaQueueExec=corei7_nfaQueueExec + -DnfaQueueExec2_raw=corei7_nfaQueueExec2_raw + -DnfaQueueExecRose=corei7_nfaQueueExecRose + -DnfaQueueExecToMatch=corei7_nfaQueueExecToMatch + -DnfaQueueExec_raw=corei7_nfaQueueExec_raw + -DnfaQueueInitState=corei7_nfaQueueInitState + -DnfaReportCurrentMatches=corei7_nfaReportCurrentMatches + -DnoodExec=corei7_noodExec + -DnoodExecStreaming=corei7_noodExecStreaming + -Dp_mask_arr=corei7_p_mask_arr + -Dp_mask_arr256=corei7_p_mask_arr256 + -DrepeatHasMatchBitmap=corei7_repeatHasMatchBitmap + -DrepeatHasMatchRange=corei7_repeatHasMatchRange + -DrepeatHasMatchRing=corei7_repeatHasMatchRing + -DrepeatHasMatchSparseOptimalP=corei7_repeatHasMatchSparseOptimalP + -DrepeatHasMatchTrailer=corei7_repeatHasMatchTrailer + -DrepeatLastTopBitmap=corei7_repeatLastTopBitmap + -DrepeatLastTopRange=corei7_repeatLastTopRange + -DrepeatLastTopRing=corei7_repeatLastTopRing + -DrepeatLastTopSparseOptimalP=corei7_repeatLastTopSparseOptimalP + -DrepeatLastTopTrailer=corei7_repeatLastTopTrailer + -DrepeatNextMatchBitmap=corei7_repeatNextMatchBitmap + -DrepeatNextMatchRange=corei7_repeatNextMatchRange + -DrepeatNextMatchRing=corei7_repeatNextMatchRing + -DrepeatNextMatchSparseOptimalP=corei7_repeatNextMatchSparseOptimalP + -DrepeatNextMatchTrailer=corei7_repeatNextMatchTrailer + -DrepeatPack=corei7_repeatPack + -DrepeatStoreBitmap=corei7_repeatStoreBitmap + -DrepeatStoreRange=corei7_repeatStoreRange + -DrepeatStoreRing=corei7_repeatStoreRing + -DrepeatStoreSparseOptimalP=corei7_repeatStoreSparseOptimalP + -DrepeatStoreTrailer=corei7_repeatStoreTrailer + -DrepeatUnpack=corei7_repeatUnpack + -DroseAnchoredCallback=corei7_roseAnchoredCallback + -DroseBlockExec=corei7_roseBlockExec + -DroseCallback=corei7_roseCallback + -DroseCatchUpAll=corei7_roseCatchUpAll + -DroseCatchUpMPV_i=corei7_roseCatchUpMPV_i + -DroseCatchUpSuf=corei7_roseCatchUpSuf + -DroseDelayRebuildCallback=corei7_roseDelayRebuildCallback + -DroseFloatingCallback=corei7_roseFloatingCallback + -DroseHandleChainMatch=corei7_roseHandleChainMatch + -DroseInitState=corei7_roseInitState + -DroseNfaAdaptor=corei7_roseNfaAdaptor + -DroseNfaEarliestSom=corei7_roseNfaEarliestSom + -DroseReportAdaptor=corei7_roseReportAdaptor + -DroseRunBoundaryProgram=corei7_roseRunBoundaryProgram + -DroseRunFlushCombProgram=corei7_roseRunFlushCombProgram + -DroseRunLastFlushCombProgram=corei7_roseRunLastFlushCombProgram + -DroseRunProgram=corei7_roseRunProgram + -DroseRunProgram_l=corei7_roseRunProgram_l + -DroseStreamEodExec=corei7_roseStreamEodExec + -DroseStreamExec=corei7_roseStreamExec + -DrshuftiExec=corei7_rshuftiExec + -DrtruffleExec=corei7_rtruffleExec + -Drun_accel=corei7_run_accel + -DsetSomFromSomAware=corei7_setSomFromSomAware + -DshuftiDoubleExec=corei7_shuftiDoubleExec + -DshuftiExec=corei7_shuftiExec + -Dsimd_onebit_masks=corei7_simd_onebit_masks + -Dsize_compress_stream=corei7_size_compress_stream + -DstoreSomToStream=corei7_storeSomToStream + -Dstorecompressed128=corei7_storecompressed128 + -Dstorecompressed256=corei7_storecompressed256 + -Dstorecompressed32=corei7_storecompressed32 + -Dstorecompressed384=corei7_storecompressed384 + -Dstorecompressed512=corei7_storecompressed512 + -Dstorecompressed64=corei7_storecompressed64 + -DstreamInitSufPQ=corei7_streamInitSufPQ + -DtruffleExec=corei7_truffleExec + -Dvbs_mask_data=corei7_vbs_mask_data + -Wno-everything +) +target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src +) +target_sources(libs-hyperscan-runtime_corei7 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c + ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c +) diff --git a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.txt index 77b4d7fd96..3e0811fb22 100644 --- a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.txt +++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.txt @@ -6,475 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-hyperscan-runtime_corei7) -target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE - -msse4.1 - -DHAVE_SSE41 - -msse4.2 - -DHAVE_SSE42 - -mpopcnt - -DHAVE_POPCOUNT_INSTR - -DCrc32c_ComputeBuf=corei7_Crc32c_ComputeBuf - -DblockInitSufPQ=corei7_blockInitSufPQ - -Dcompress_stream=corei7_compress_stream - -Dcpuid_flags=corei7_cpuid_flags - -Dcpuid_tune=corei7_cpuid_tune - -DdbIsValid=corei7_dbIsValid - -DdoAccel128=corei7_doAccel128 - -DdoAccel256=corei7_doAccel256 - -DdoAccel32=corei7_doAccel32 - -DdoAccel384=corei7_doAccel384 - -DdoAccel512=corei7_doAccel512 - -DdoAccel64=corei7_doAccel64 - -Dexpand_stream=corei7_expand_stream - -DfdrExec=corei7_fdrExec - -DfdrExecStreaming=corei7_fdrExecStreaming - -Dfdr_exec_fat_teddy_msks1=corei7_fdr_exec_fat_teddy_msks1 - -Dfdr_exec_fat_teddy_msks1_pck=corei7_fdr_exec_fat_teddy_msks1_pck - -Dfdr_exec_fat_teddy_msks2=corei7_fdr_exec_fat_teddy_msks2 - -Dfdr_exec_fat_teddy_msks2_pck=corei7_fdr_exec_fat_teddy_msks2_pck - -Dfdr_exec_fat_teddy_msks3=corei7_fdr_exec_fat_teddy_msks3 - -Dfdr_exec_fat_teddy_msks3_pck=corei7_fdr_exec_fat_teddy_msks3_pck - -Dfdr_exec_fat_teddy_msks4=corei7_fdr_exec_fat_teddy_msks4 - -Dfdr_exec_fat_teddy_msks4_pck=corei7_fdr_exec_fat_teddy_msks4_pck - -Dfdr_exec_teddy_msks1=corei7_fdr_exec_teddy_msks1 - -Dfdr_exec_teddy_msks1_pck=corei7_fdr_exec_teddy_msks1_pck - -Dfdr_exec_teddy_msks2=corei7_fdr_exec_teddy_msks2 - -Dfdr_exec_teddy_msks2_pck=corei7_fdr_exec_teddy_msks2_pck - -Dfdr_exec_teddy_msks3=corei7_fdr_exec_teddy_msks3 - -Dfdr_exec_teddy_msks3_pck=corei7_fdr_exec_teddy_msks3_pck - -Dfdr_exec_teddy_msks4=corei7_fdr_exec_teddy_msks4 - -Dfdr_exec_teddy_msks4_pck=corei7_fdr_exec_teddy_msks4_pck - -DflushQueuedLiterals_i=corei7_flushQueuedLiterals_i - -DflushStoredSomMatches_i=corei7_flushStoredSomMatches_i - -DhandleSomExternal=corei7_handleSomExternal - -DhandleSomInternal=corei7_handleSomInternal - -Dhs_alloc_scratch=corei7_hs_alloc_scratch - -Dhs_clone_scratch=corei7_hs_clone_scratch - -Dhs_close_stream=corei7_hs_close_stream - -Dhs_compress_stream=corei7_hs_compress_stream - -Dhs_copy_stream=corei7_hs_copy_stream - -Dhs_database_alloc=corei7_hs_database_alloc - -Dhs_database_free=corei7_hs_database_free - -Dhs_database_info=corei7_hs_database_info - -Dhs_database_size=corei7_hs_database_size - -Dhs_deserialize_database=corei7_hs_deserialize_database - -Dhs_deserialize_database_at=corei7_hs_deserialize_database_at - -Dhs_expand_stream=corei7_hs_expand_stream - -Dhs_free_database=corei7_hs_free_database - -Dhs_free_scratch=corei7_hs_free_scratch - -Dhs_misc_alloc=corei7_hs_misc_alloc - -Dhs_misc_free=corei7_hs_misc_free - -Dhs_open_stream=corei7_hs_open_stream - -Dhs_reset_and_copy_stream=corei7_hs_reset_and_copy_stream - -Dhs_reset_and_expand_stream=corei7_hs_reset_and_expand_stream - -Dhs_reset_stream=corei7_hs_reset_stream - -Dhs_scan=corei7_hs_scan - -Dhs_scan_stream=corei7_hs_scan_stream - -Dhs_scan_vector=corei7_hs_scan_vector - -Dhs_scratch_alloc=corei7_hs_scratch_alloc - -Dhs_scratch_free=corei7_hs_scratch_free - -Dhs_scratch_size=corei7_hs_scratch_size - -Dhs_serialize_database=corei7_hs_serialize_database - -Dhs_serialized_database_info=corei7_hs_serialized_database_info - -Dhs_serialized_database_size=corei7_hs_serialized_database_size - -Dhs_set_allocator=corei7_hs_set_allocator - -Dhs_set_database_allocator=corei7_hs_set_database_allocator - -Dhs_set_misc_allocator=corei7_hs_set_misc_allocator - -Dhs_set_scratch_allocator=corei7_hs_set_scratch_allocator - -Dhs_set_stream_allocator=corei7_hs_set_stream_allocator - -Dhs_stream_alloc=corei7_hs_stream_alloc - -Dhs_stream_free=corei7_hs_stream_free - -Dhs_stream_size=corei7_hs_stream_size - -Dhs_valid_platform=corei7_hs_valid_platform - -Dhs_version=corei7_hs_version - -DhwlmExec=corei7_hwlmExec - -DhwlmExecStreaming=corei7_hwlmExecStreaming - -DloadSomFromStream=corei7_loadSomFromStream - -Dloadcompressed128=corei7_loadcompressed128 - -Dloadcompressed256=corei7_loadcompressed256 - -Dloadcompressed32=corei7_loadcompressed32 - -Dloadcompressed384=corei7_loadcompressed384 - -Dloadcompressed512=corei7_loadcompressed512 - -Dloadcompressed64=corei7_loadcompressed64 - -Dmcsheng_pext_mask=corei7_mcsheng_pext_mask - -Dmm_mask_mask=corei7_mm_mask_mask - -Dmm_shuffle_end=corei7_mm_shuffle_end - -Dmmbit_keyshift_lut=corei7_mmbit_keyshift_lut - -Dmmbit_maxlevel_direct_lut=corei7_mmbit_maxlevel_direct_lut - -Dmmbit_maxlevel_from_keyshift_lut=corei7_mmbit_maxlevel_from_keyshift_lut - -Dmmbit_root_offset_from_level=corei7_mmbit_root_offset_from_level - -Dmmbit_zero_to_lut=corei7_mmbit_zero_to_lut - -DnfaBlockExecReverse=corei7_nfaBlockExecReverse - -DnfaCheckFinalState=corei7_nfaCheckFinalState - -DnfaExecCastle_Q=corei7_nfaExecCastle_Q - -DnfaExecCastle_Q2=corei7_nfaExecCastle_Q2 - -DnfaExecCastle_QR=corei7_nfaExecCastle_QR - -DnfaExecCastle_expandState=corei7_nfaExecCastle_expandState - -DnfaExecCastle_inAccept=corei7_nfaExecCastle_inAccept - -DnfaExecCastle_inAnyAccept=corei7_nfaExecCastle_inAnyAccept - -DnfaExecCastle_initCompressedState=corei7_nfaExecCastle_initCompressedState - -DnfaExecCastle_queueCompressState=corei7_nfaExecCastle_queueCompressState - -DnfaExecCastle_queueInitState=corei7_nfaExecCastle_queueInitState - -DnfaExecCastle_reportCurrent=corei7_nfaExecCastle_reportCurrent - -DnfaExecGough16_Q=corei7_nfaExecGough16_Q - -DnfaExecGough16_Q2=corei7_nfaExecGough16_Q2 - -DnfaExecGough16_QR=corei7_nfaExecGough16_QR - -DnfaExecGough16_expandState=corei7_nfaExecGough16_expandState - -DnfaExecGough16_inAccept=corei7_nfaExecGough16_inAccept - -DnfaExecGough16_inAnyAccept=corei7_nfaExecGough16_inAnyAccept - -DnfaExecGough16_initCompressedState=corei7_nfaExecGough16_initCompressedState - -DnfaExecGough16_queueCompressState=corei7_nfaExecGough16_queueCompressState - -DnfaExecGough16_queueInitState=corei7_nfaExecGough16_queueInitState - -DnfaExecGough16_reportCurrent=corei7_nfaExecGough16_reportCurrent - -DnfaExecGough16_testEOD=corei7_nfaExecGough16_testEOD - -DnfaExecGough8_Q=corei7_nfaExecGough8_Q - -DnfaExecGough8_Q2=corei7_nfaExecGough8_Q2 - -DnfaExecGough8_QR=corei7_nfaExecGough8_QR - -DnfaExecGough8_expandState=corei7_nfaExecGough8_expandState - -DnfaExecGough8_inAccept=corei7_nfaExecGough8_inAccept - -DnfaExecGough8_inAnyAccept=corei7_nfaExecGough8_inAnyAccept - -DnfaExecGough8_initCompressedState=corei7_nfaExecGough8_initCompressedState - -DnfaExecGough8_queueCompressState=corei7_nfaExecGough8_queueCompressState - -DnfaExecGough8_queueInitState=corei7_nfaExecGough8_queueInitState - -DnfaExecGough8_reportCurrent=corei7_nfaExecGough8_reportCurrent - -DnfaExecGough8_testEOD=corei7_nfaExecGough8_testEOD - -DnfaExecLbrDot_Q=corei7_nfaExecLbrDot_Q - -DnfaExecLbrDot_Q2=corei7_nfaExecLbrDot_Q2 - -DnfaExecLbrDot_QR=corei7_nfaExecLbrDot_QR - -DnfaExecLbrDot_expandState=corei7_nfaExecLbrDot_expandState - -DnfaExecLbrDot_inAccept=corei7_nfaExecLbrDot_inAccept - -DnfaExecLbrDot_inAnyAccept=corei7_nfaExecLbrDot_inAnyAccept - -DnfaExecLbrDot_initCompressedState=corei7_nfaExecLbrDot_initCompressedState - -DnfaExecLbrDot_queueCompressState=corei7_nfaExecLbrDot_queueCompressState - -DnfaExecLbrDot_queueInitState=corei7_nfaExecLbrDot_queueInitState - -DnfaExecLbrDot_reportCurrent=corei7_nfaExecLbrDot_reportCurrent - -DnfaExecLbrNVerm_Q=corei7_nfaExecLbrNVerm_Q - -DnfaExecLbrNVerm_Q2=corei7_nfaExecLbrNVerm_Q2 - -DnfaExecLbrNVerm_QR=corei7_nfaExecLbrNVerm_QR - -DnfaExecLbrNVerm_expandState=corei7_nfaExecLbrNVerm_expandState - -DnfaExecLbrNVerm_inAccept=corei7_nfaExecLbrNVerm_inAccept - -DnfaExecLbrNVerm_inAnyAccept=corei7_nfaExecLbrNVerm_inAnyAccept - -DnfaExecLbrNVerm_initCompressedState=corei7_nfaExecLbrNVerm_initCompressedState - -DnfaExecLbrNVerm_queueCompressState=corei7_nfaExecLbrNVerm_queueCompressState - -DnfaExecLbrNVerm_queueInitState=corei7_nfaExecLbrNVerm_queueInitState - -DnfaExecLbrNVerm_reportCurrent=corei7_nfaExecLbrNVerm_reportCurrent - -DnfaExecLbrShuf_Q=corei7_nfaExecLbrShuf_Q - -DnfaExecLbrShuf_Q2=corei7_nfaExecLbrShuf_Q2 - -DnfaExecLbrShuf_QR=corei7_nfaExecLbrShuf_QR - -DnfaExecLbrShuf_expandState=corei7_nfaExecLbrShuf_expandState - -DnfaExecLbrShuf_inAccept=corei7_nfaExecLbrShuf_inAccept - -DnfaExecLbrShuf_inAnyAccept=corei7_nfaExecLbrShuf_inAnyAccept - -DnfaExecLbrShuf_initCompressedState=corei7_nfaExecLbrShuf_initCompressedState - -DnfaExecLbrShuf_queueCompressState=corei7_nfaExecLbrShuf_queueCompressState - -DnfaExecLbrShuf_queueInitState=corei7_nfaExecLbrShuf_queueInitState - -DnfaExecLbrShuf_reportCurrent=corei7_nfaExecLbrShuf_reportCurrent - -DnfaExecLbrTruf_Q=corei7_nfaExecLbrTruf_Q - -DnfaExecLbrTruf_Q2=corei7_nfaExecLbrTruf_Q2 - -DnfaExecLbrTruf_QR=corei7_nfaExecLbrTruf_QR - -DnfaExecLbrTruf_expandState=corei7_nfaExecLbrTruf_expandState - -DnfaExecLbrTruf_inAccept=corei7_nfaExecLbrTruf_inAccept - -DnfaExecLbrTruf_inAnyAccept=corei7_nfaExecLbrTruf_inAnyAccept - -DnfaExecLbrTruf_initCompressedState=corei7_nfaExecLbrTruf_initCompressedState - -DnfaExecLbrTruf_queueCompressState=corei7_nfaExecLbrTruf_queueCompressState - -DnfaExecLbrTruf_queueInitState=corei7_nfaExecLbrTruf_queueInitState - -DnfaExecLbrTruf_reportCurrent=corei7_nfaExecLbrTruf_reportCurrent - -DnfaExecLbrVerm_Q=corei7_nfaExecLbrVerm_Q - -DnfaExecLbrVerm_Q2=corei7_nfaExecLbrVerm_Q2 - -DnfaExecLbrVerm_QR=corei7_nfaExecLbrVerm_QR - -DnfaExecLbrVerm_expandState=corei7_nfaExecLbrVerm_expandState - -DnfaExecLbrVerm_inAccept=corei7_nfaExecLbrVerm_inAccept - -DnfaExecLbrVerm_inAnyAccept=corei7_nfaExecLbrVerm_inAnyAccept - -DnfaExecLbrVerm_initCompressedState=corei7_nfaExecLbrVerm_initCompressedState - -DnfaExecLbrVerm_queueCompressState=corei7_nfaExecLbrVerm_queueCompressState - -DnfaExecLbrVerm_queueInitState=corei7_nfaExecLbrVerm_queueInitState - -DnfaExecLbrVerm_reportCurrent=corei7_nfaExecLbrVerm_reportCurrent - -DnfaExecLimEx128_B_Reverse=corei7_nfaExecLimEx128_B_Reverse - -DnfaExecLimEx128_Q=corei7_nfaExecLimEx128_Q - -DnfaExecLimEx128_Q2=corei7_nfaExecLimEx128_Q2 - -DnfaExecLimEx128_QR=corei7_nfaExecLimEx128_QR - -DnfaExecLimEx128_expandState=corei7_nfaExecLimEx128_expandState - -DnfaExecLimEx128_inAccept=corei7_nfaExecLimEx128_inAccept - -DnfaExecLimEx128_inAnyAccept=corei7_nfaExecLimEx128_inAnyAccept - -DnfaExecLimEx128_initCompressedState=corei7_nfaExecLimEx128_initCompressedState - -DnfaExecLimEx128_queueCompressState=corei7_nfaExecLimEx128_queueCompressState - -DnfaExecLimEx128_queueInitState=corei7_nfaExecLimEx128_queueInitState - -DnfaExecLimEx128_reportCurrent=corei7_nfaExecLimEx128_reportCurrent - -DnfaExecLimEx128_testEOD=corei7_nfaExecLimEx128_testEOD - -DnfaExecLimEx128_zombie_status=corei7_nfaExecLimEx128_zombie_status - -DnfaExecLimEx256_B_Reverse=corei7_nfaExecLimEx256_B_Reverse - -DnfaExecLimEx256_Q=corei7_nfaExecLimEx256_Q - -DnfaExecLimEx256_Q2=corei7_nfaExecLimEx256_Q2 - -DnfaExecLimEx256_QR=corei7_nfaExecLimEx256_QR - -DnfaExecLimEx256_expandState=corei7_nfaExecLimEx256_expandState - -DnfaExecLimEx256_inAccept=corei7_nfaExecLimEx256_inAccept - -DnfaExecLimEx256_inAnyAccept=corei7_nfaExecLimEx256_inAnyAccept - -DnfaExecLimEx256_initCompressedState=corei7_nfaExecLimEx256_initCompressedState - -DnfaExecLimEx256_queueCompressState=corei7_nfaExecLimEx256_queueCompressState - -DnfaExecLimEx256_queueInitState=corei7_nfaExecLimEx256_queueInitState - -DnfaExecLimEx256_reportCurrent=corei7_nfaExecLimEx256_reportCurrent - -DnfaExecLimEx256_testEOD=corei7_nfaExecLimEx256_testEOD - -DnfaExecLimEx256_zombie_status=corei7_nfaExecLimEx256_zombie_status - -DnfaExecLimEx32_B_Reverse=corei7_nfaExecLimEx32_B_Reverse - -DnfaExecLimEx32_Q=corei7_nfaExecLimEx32_Q - -DnfaExecLimEx32_Q2=corei7_nfaExecLimEx32_Q2 - -DnfaExecLimEx32_QR=corei7_nfaExecLimEx32_QR - -DnfaExecLimEx32_expandState=corei7_nfaExecLimEx32_expandState - -DnfaExecLimEx32_inAccept=corei7_nfaExecLimEx32_inAccept - -DnfaExecLimEx32_inAnyAccept=corei7_nfaExecLimEx32_inAnyAccept - -DnfaExecLimEx32_initCompressedState=corei7_nfaExecLimEx32_initCompressedState - -DnfaExecLimEx32_queueCompressState=corei7_nfaExecLimEx32_queueCompressState - -DnfaExecLimEx32_queueInitState=corei7_nfaExecLimEx32_queueInitState - -DnfaExecLimEx32_reportCurrent=corei7_nfaExecLimEx32_reportCurrent - -DnfaExecLimEx32_testEOD=corei7_nfaExecLimEx32_testEOD - -DnfaExecLimEx32_zombie_status=corei7_nfaExecLimEx32_zombie_status - -DnfaExecLimEx384_B_Reverse=corei7_nfaExecLimEx384_B_Reverse - -DnfaExecLimEx384_Q=corei7_nfaExecLimEx384_Q - -DnfaExecLimEx384_Q2=corei7_nfaExecLimEx384_Q2 - -DnfaExecLimEx384_QR=corei7_nfaExecLimEx384_QR - -DnfaExecLimEx384_expandState=corei7_nfaExecLimEx384_expandState - -DnfaExecLimEx384_inAccept=corei7_nfaExecLimEx384_inAccept - -DnfaExecLimEx384_inAnyAccept=corei7_nfaExecLimEx384_inAnyAccept - -DnfaExecLimEx384_initCompressedState=corei7_nfaExecLimEx384_initCompressedState - -DnfaExecLimEx384_queueCompressState=corei7_nfaExecLimEx384_queueCompressState - -DnfaExecLimEx384_queueInitState=corei7_nfaExecLimEx384_queueInitState - -DnfaExecLimEx384_reportCurrent=corei7_nfaExecLimEx384_reportCurrent - -DnfaExecLimEx384_testEOD=corei7_nfaExecLimEx384_testEOD - -DnfaExecLimEx384_zombie_status=corei7_nfaExecLimEx384_zombie_status - -DnfaExecLimEx512_B_Reverse=corei7_nfaExecLimEx512_B_Reverse - -DnfaExecLimEx512_Q=corei7_nfaExecLimEx512_Q - -DnfaExecLimEx512_Q2=corei7_nfaExecLimEx512_Q2 - -DnfaExecLimEx512_QR=corei7_nfaExecLimEx512_QR - -DnfaExecLimEx512_expandState=corei7_nfaExecLimEx512_expandState - -DnfaExecLimEx512_inAccept=corei7_nfaExecLimEx512_inAccept - -DnfaExecLimEx512_inAnyAccept=corei7_nfaExecLimEx512_inAnyAccept - -DnfaExecLimEx512_initCompressedState=corei7_nfaExecLimEx512_initCompressedState - -DnfaExecLimEx512_queueCompressState=corei7_nfaExecLimEx512_queueCompressState - -DnfaExecLimEx512_queueInitState=corei7_nfaExecLimEx512_queueInitState - -DnfaExecLimEx512_reportCurrent=corei7_nfaExecLimEx512_reportCurrent - -DnfaExecLimEx512_testEOD=corei7_nfaExecLimEx512_testEOD - -DnfaExecLimEx512_zombie_status=corei7_nfaExecLimEx512_zombie_status - -DnfaExecLimEx64_B_Reverse=corei7_nfaExecLimEx64_B_Reverse - -DnfaExecLimEx64_Q=corei7_nfaExecLimEx64_Q - -DnfaExecLimEx64_Q2=corei7_nfaExecLimEx64_Q2 - -DnfaExecLimEx64_QR=corei7_nfaExecLimEx64_QR - -DnfaExecLimEx64_expandState=corei7_nfaExecLimEx64_expandState - -DnfaExecLimEx64_inAccept=corei7_nfaExecLimEx64_inAccept - -DnfaExecLimEx64_inAnyAccept=corei7_nfaExecLimEx64_inAnyAccept - -DnfaExecLimEx64_initCompressedState=corei7_nfaExecLimEx64_initCompressedState - -DnfaExecLimEx64_queueCompressState=corei7_nfaExecLimEx64_queueCompressState - -DnfaExecLimEx64_queueInitState=corei7_nfaExecLimEx64_queueInitState - -DnfaExecLimEx64_reportCurrent=corei7_nfaExecLimEx64_reportCurrent - -DnfaExecLimEx64_testEOD=corei7_nfaExecLimEx64_testEOD - -DnfaExecLimEx64_zombie_status=corei7_nfaExecLimEx64_zombie_status - -DnfaExecMcClellan16_B=corei7_nfaExecMcClellan16_B - -DnfaExecMcClellan16_Q=corei7_nfaExecMcClellan16_Q - -DnfaExecMcClellan16_Q2=corei7_nfaExecMcClellan16_Q2 - -DnfaExecMcClellan16_QR=corei7_nfaExecMcClellan16_QR - -DnfaExecMcClellan16_SimpStream=corei7_nfaExecMcClellan16_SimpStream - -DnfaExecMcClellan16_expandState=corei7_nfaExecMcClellan16_expandState - -DnfaExecMcClellan16_inAccept=corei7_nfaExecMcClellan16_inAccept - -DnfaExecMcClellan16_inAnyAccept=corei7_nfaExecMcClellan16_inAnyAccept - -DnfaExecMcClellan16_initCompressedState=corei7_nfaExecMcClellan16_initCompressedState - -DnfaExecMcClellan16_queueCompressState=corei7_nfaExecMcClellan16_queueCompressState - -DnfaExecMcClellan16_queueInitState=corei7_nfaExecMcClellan16_queueInitState - -DnfaExecMcClellan16_reportCurrent=corei7_nfaExecMcClellan16_reportCurrent - -DnfaExecMcClellan16_testEOD=corei7_nfaExecMcClellan16_testEOD - -DnfaExecMcClellan8_B=corei7_nfaExecMcClellan8_B - -DnfaExecMcClellan8_Q=corei7_nfaExecMcClellan8_Q - -DnfaExecMcClellan8_Q2=corei7_nfaExecMcClellan8_Q2 - -DnfaExecMcClellan8_QR=corei7_nfaExecMcClellan8_QR - -DnfaExecMcClellan8_SimpStream=corei7_nfaExecMcClellan8_SimpStream - -DnfaExecMcClellan8_expandState=corei7_nfaExecMcClellan8_expandState - -DnfaExecMcClellan8_inAccept=corei7_nfaExecMcClellan8_inAccept - -DnfaExecMcClellan8_inAnyAccept=corei7_nfaExecMcClellan8_inAnyAccept - -DnfaExecMcClellan8_initCompressedState=corei7_nfaExecMcClellan8_initCompressedState - -DnfaExecMcClellan8_queueCompressState=corei7_nfaExecMcClellan8_queueCompressState - -DnfaExecMcClellan8_queueInitState=corei7_nfaExecMcClellan8_queueInitState - -DnfaExecMcClellan8_reportCurrent=corei7_nfaExecMcClellan8_reportCurrent - -DnfaExecMcClellan8_testEOD=corei7_nfaExecMcClellan8_testEOD - -DnfaExecMcSheng16_Q=corei7_nfaExecMcSheng16_Q - -DnfaExecMcSheng16_Q2=corei7_nfaExecMcSheng16_Q2 - -DnfaExecMcSheng16_QR=corei7_nfaExecMcSheng16_QR - -DnfaExecMcSheng16_expandState=corei7_nfaExecMcSheng16_expandState - -DnfaExecMcSheng16_inAccept=corei7_nfaExecMcSheng16_inAccept - -DnfaExecMcSheng16_inAnyAccept=corei7_nfaExecMcSheng16_inAnyAccept - -DnfaExecMcSheng16_initCompressedState=corei7_nfaExecMcSheng16_initCompressedState - -DnfaExecMcSheng16_queueCompressState=corei7_nfaExecMcSheng16_queueCompressState - -DnfaExecMcSheng16_queueInitState=corei7_nfaExecMcSheng16_queueInitState - -DnfaExecMcSheng16_reportCurrent=corei7_nfaExecMcSheng16_reportCurrent - -DnfaExecMcSheng16_testEOD=corei7_nfaExecMcSheng16_testEOD - -DnfaExecMcSheng8_Q=corei7_nfaExecMcSheng8_Q - -DnfaExecMcSheng8_Q2=corei7_nfaExecMcSheng8_Q2 - -DnfaExecMcSheng8_QR=corei7_nfaExecMcSheng8_QR - -DnfaExecMcSheng8_expandState=corei7_nfaExecMcSheng8_expandState - -DnfaExecMcSheng8_inAccept=corei7_nfaExecMcSheng8_inAccept - -DnfaExecMcSheng8_inAnyAccept=corei7_nfaExecMcSheng8_inAnyAccept - -DnfaExecMcSheng8_initCompressedState=corei7_nfaExecMcSheng8_initCompressedState - -DnfaExecMcSheng8_queueCompressState=corei7_nfaExecMcSheng8_queueCompressState - -DnfaExecMcSheng8_queueInitState=corei7_nfaExecMcSheng8_queueInitState - -DnfaExecMcSheng8_reportCurrent=corei7_nfaExecMcSheng8_reportCurrent - -DnfaExecMcSheng8_testEOD=corei7_nfaExecMcSheng8_testEOD - -DnfaExecMpv_Q=corei7_nfaExecMpv_Q - -DnfaExecMpv_QueueExecRaw=corei7_nfaExecMpv_QueueExecRaw - -DnfaExecMpv_expandState=corei7_nfaExecMpv_expandState - -DnfaExecMpv_initCompressedState=corei7_nfaExecMpv_initCompressedState - -DnfaExecMpv_queueCompressState=corei7_nfaExecMpv_queueCompressState - -DnfaExecMpv_queueInitState=corei7_nfaExecMpv_queueInitState - -DnfaExecMpv_reportCurrent=corei7_nfaExecMpv_reportCurrent - -DnfaExecSheng_B=corei7_nfaExecSheng_B - -DnfaExecSheng_Q=corei7_nfaExecSheng_Q - -DnfaExecSheng_Q2=corei7_nfaExecSheng_Q2 - -DnfaExecSheng_QR=corei7_nfaExecSheng_QR - -DnfaExecSheng_expandState=corei7_nfaExecSheng_expandState - -DnfaExecSheng_inAccept=corei7_nfaExecSheng_inAccept - -DnfaExecSheng_inAnyAccept=corei7_nfaExecSheng_inAnyAccept - -DnfaExecSheng_initCompressedState=corei7_nfaExecSheng_initCompressedState - -DnfaExecSheng_queueCompressState=corei7_nfaExecSheng_queueCompressState - -DnfaExecSheng_queueInitState=corei7_nfaExecSheng_queueInitState - -DnfaExecSheng_reportCurrent=corei7_nfaExecSheng_reportCurrent - -DnfaExecSheng_testEOD=corei7_nfaExecSheng_testEOD - -DnfaExecTamarama_Q=corei7_nfaExecTamarama_Q - -DnfaExecTamarama_Q2=corei7_nfaExecTamarama_Q2 - -DnfaExecTamarama_QR=corei7_nfaExecTamarama_QR - -DnfaExecTamarama_expandState=corei7_nfaExecTamarama_expandState - -DnfaExecTamarama_inAccept=corei7_nfaExecTamarama_inAccept - -DnfaExecTamarama_inAnyAccept=corei7_nfaExecTamarama_inAnyAccept - -DnfaExecTamarama_queueCompressState=corei7_nfaExecTamarama_queueCompressState - -DnfaExecTamarama_queueInitState=corei7_nfaExecTamarama_queueInitState - -DnfaExecTamarama_reportCurrent=corei7_nfaExecTamarama_reportCurrent - -DnfaExecTamarama_testEOD=corei7_nfaExecTamarama_testEOD - -DnfaExecTamarama_zombie_status=corei7_nfaExecTamarama_zombie_status - -DnfaExpandState=corei7_nfaExpandState - -DnfaGetZombieStatus=corei7_nfaGetZombieStatus - -DnfaInAcceptState=corei7_nfaInAcceptState - -DnfaInAnyAcceptState=corei7_nfaInAnyAcceptState - -DnfaInitCompressedState=corei7_nfaInitCompressedState - -DnfaQueueCompressState=corei7_nfaQueueCompressState - -DnfaQueueExec=corei7_nfaQueueExec - -DnfaQueueExec2_raw=corei7_nfaQueueExec2_raw - -DnfaQueueExecRose=corei7_nfaQueueExecRose - -DnfaQueueExecToMatch=corei7_nfaQueueExecToMatch - -DnfaQueueExec_raw=corei7_nfaQueueExec_raw - -DnfaQueueInitState=corei7_nfaQueueInitState - -DnfaReportCurrentMatches=corei7_nfaReportCurrentMatches - -DnoodExec=corei7_noodExec - -DnoodExecStreaming=corei7_noodExecStreaming - -Dp_mask_arr=corei7_p_mask_arr - -Dp_mask_arr256=corei7_p_mask_arr256 - -DrepeatHasMatchBitmap=corei7_repeatHasMatchBitmap - -DrepeatHasMatchRange=corei7_repeatHasMatchRange - -DrepeatHasMatchRing=corei7_repeatHasMatchRing - -DrepeatHasMatchSparseOptimalP=corei7_repeatHasMatchSparseOptimalP - -DrepeatHasMatchTrailer=corei7_repeatHasMatchTrailer - -DrepeatLastTopBitmap=corei7_repeatLastTopBitmap - -DrepeatLastTopRange=corei7_repeatLastTopRange - -DrepeatLastTopRing=corei7_repeatLastTopRing - -DrepeatLastTopSparseOptimalP=corei7_repeatLastTopSparseOptimalP - -DrepeatLastTopTrailer=corei7_repeatLastTopTrailer - -DrepeatNextMatchBitmap=corei7_repeatNextMatchBitmap - -DrepeatNextMatchRange=corei7_repeatNextMatchRange - -DrepeatNextMatchRing=corei7_repeatNextMatchRing - -DrepeatNextMatchSparseOptimalP=corei7_repeatNextMatchSparseOptimalP - -DrepeatNextMatchTrailer=corei7_repeatNextMatchTrailer - -DrepeatPack=corei7_repeatPack - -DrepeatStoreBitmap=corei7_repeatStoreBitmap - -DrepeatStoreRange=corei7_repeatStoreRange - -DrepeatStoreRing=corei7_repeatStoreRing - -DrepeatStoreSparseOptimalP=corei7_repeatStoreSparseOptimalP - -DrepeatStoreTrailer=corei7_repeatStoreTrailer - -DrepeatUnpack=corei7_repeatUnpack - -DroseAnchoredCallback=corei7_roseAnchoredCallback - -DroseBlockExec=corei7_roseBlockExec - -DroseCallback=corei7_roseCallback - -DroseCatchUpAll=corei7_roseCatchUpAll - -DroseCatchUpMPV_i=corei7_roseCatchUpMPV_i - -DroseCatchUpSuf=corei7_roseCatchUpSuf - -DroseDelayRebuildCallback=corei7_roseDelayRebuildCallback - -DroseFloatingCallback=corei7_roseFloatingCallback - -DroseHandleChainMatch=corei7_roseHandleChainMatch - -DroseInitState=corei7_roseInitState - -DroseNfaAdaptor=corei7_roseNfaAdaptor - -DroseNfaEarliestSom=corei7_roseNfaEarliestSom - -DroseReportAdaptor=corei7_roseReportAdaptor - -DroseRunBoundaryProgram=corei7_roseRunBoundaryProgram - -DroseRunFlushCombProgram=corei7_roseRunFlushCombProgram - -DroseRunLastFlushCombProgram=corei7_roseRunLastFlushCombProgram - -DroseRunProgram=corei7_roseRunProgram - -DroseRunProgram_l=corei7_roseRunProgram_l - -DroseStreamEodExec=corei7_roseStreamEodExec - -DroseStreamExec=corei7_roseStreamExec - -DrshuftiExec=corei7_rshuftiExec - -DrtruffleExec=corei7_rtruffleExec - -Drun_accel=corei7_run_accel - -DsetSomFromSomAware=corei7_setSomFromSomAware - -DshuftiDoubleExec=corei7_shuftiDoubleExec - -DshuftiExec=corei7_shuftiExec - -Dsimd_onebit_masks=corei7_simd_onebit_masks - -Dsize_compress_stream=corei7_size_compress_stream - -DstoreSomToStream=corei7_storeSomToStream - -Dstorecompressed128=corei7_storecompressed128 - -Dstorecompressed256=corei7_storecompressed256 - -Dstorecompressed32=corei7_storecompressed32 - -Dstorecompressed384=corei7_storecompressed384 - -Dstorecompressed512=corei7_storecompressed512 - -Dstorecompressed64=corei7_storecompressed64 - -DstreamInitSufPQ=corei7_streamInitSufPQ - -DtruffleExec=corei7_truffleExec - -Dvbs_mask_data=corei7_vbs_mask_data - -Wno-everything -) -target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src -) -target_sources(libs-hyperscan-runtime_corei7 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/crc32.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/database.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/fdr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/fdr/teddy_avx2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_valid_platform.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hs_version.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/hwlm.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/hwlm/noodle_engine.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/castle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/gough.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/lbr.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_64.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_accel.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_native.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd128.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd256.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd384.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/limex_simd512.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcclellan.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mcsheng_data.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/mpv.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/nfa_api_dispatch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/repeat.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/sheng.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/shufti.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/tamarama.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/nfa/truffle.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/block.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/catchup.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/init.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/match.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/program_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/rose/stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/scratch.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_runtime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/som/som_stream.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/stream_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/cpuid_flags.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/masked_move.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/multibit.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/simd_utils.c - ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/util/state_compress.c -) +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/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt b/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..f6f811840e --- /dev/null +++ b/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt @@ -0,0 +1,88 @@ + +# 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(contrib-libs-jemalloc) +target_compile_options(contrib-libs-jemalloc PRIVATE + -funroll-loops + -fvisibility=hidden + -Wno-everything +) +target_include_directories(contrib-libs-jemalloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include +) +target_link_libraries(contrib-libs-jemalloc PUBLIC + contrib-libs-cxxsupp + contrib-libs-libunwind +) +target_sources(contrib-libs-jemalloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin_info.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/buf_writer.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/cache_bin.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/counter.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/decay.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ecache.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata_cache.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ehooks.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/emap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/eset.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/exp_grow.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/fxp.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa_hooks.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpdata.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/inspect.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa_extra.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pac.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pai.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/peak_event.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_data.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_log.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_recent.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_stats.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_sys.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/psset.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san_bump.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sec.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/thread_event.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c + ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c +) diff --git a/contrib/libs/jemalloc/CMakeLists.txt b/contrib/libs/jemalloc/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/jemalloc/CMakeLists.txt +++ b/contrib/libs/jemalloc/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) diff --git a/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt b/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..78e11d618b --- /dev/null +++ b/contrib/libs/libc_compat/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(contrib-libs-libc_compat) +target_compile_options(contrib-libs-libc_compat PRIVATE + -Wno-everything +) +target_include_directories(contrib-libs-libc_compat PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random +) +target_sources(contrib-libs-libc_compat PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray/reallocarray.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random/getrandom.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random/getentropy.c +) diff --git a/contrib/libs/libc_compat/CMakeLists.txt b/contrib/libs/libc_compat/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/libc_compat/CMakeLists.txt +++ b/contrib/libs/libc_compat/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) diff --git a/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt b/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..657394a707 --- /dev/null +++ b/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt @@ -0,0 +1,42 @@ + +# 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(libs-libevent-event_core) +target_compile_options(libs-libevent-event_core PRIVATE + -DHAVE_CONFIG_H + -DEVENT__HAVE_STRLCPY=1 + -Wno-everything +) +target_include_directories(libs-libevent-event_core PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include +) +target_link_libraries(libs-libevent-event_core PUBLIC + contrib-libs-libc_compat +) +target_sources(libs-libevent-event_core PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/buffer.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_filter.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_pair.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_ratelim.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_sock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/event.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evmap.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_rand.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_time.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/listener.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/log.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/signal.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/poll.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/select.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/epoll.c +) diff --git a/contrib/libs/libevent/event_core/CMakeLists.txt b/contrib/libs/libevent/event_core/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/libevent/event_core/CMakeLists.txt +++ b/contrib/libs/libevent/event_core/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) diff --git a/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt b/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..4068af682c --- /dev/null +++ b/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt @@ -0,0 +1,32 @@ + +# 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(contrib-libs-libunwind) +target_compile_options(contrib-libs-libunwind PUBLIC + -D_libunwind_ +) +target_compile_options(contrib-libs-libunwind PRIVATE + -D_LIBUNWIND_IS_NATIVE_ONLY + -fno-exceptions + -fno-rtti + -funwind-tables +) +target_include_directories(contrib-libs-libunwind PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include +) +target_sources(contrib-libs-libunwind PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S + ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp +) diff --git a/contrib/libs/libunwind/CMakeLists.txt b/contrib/libs/libunwind/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/libunwind/CMakeLists.txt +++ b/contrib/libs/libunwind/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) diff --git a/contrib/libs/linuxvdso/CMakeLists.linux-aarch64.txt b/contrib/libs/linuxvdso/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..c9d397538d --- /dev/null +++ b/contrib/libs/linuxvdso/CMakeLists.linux-aarch64.txt @@ -0,0 +1,17 @@ + +# 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(original) + +add_library(contrib-libs-linuxvdso) +target_link_libraries(contrib-libs-linuxvdso PUBLIC + libs-linuxvdso-original +) +target_sources(contrib-libs-linuxvdso PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/interface.cpp +) diff --git a/contrib/libs/linuxvdso/CMakeLists.txt b/contrib/libs/linuxvdso/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/linuxvdso/CMakeLists.txt +++ b/contrib/libs/linuxvdso/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) diff --git a/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt b/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d241a68870 --- /dev/null +++ b/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt @@ -0,0 +1,17 @@ + +# 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(libs-linuxvdso-original) +target_compile_options(libs-linuxvdso-original PRIVATE + -Wno-everything +) +target_sources(libs-linuxvdso-original PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/vdso_support.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/elf_mem_image.cc +) diff --git a/contrib/libs/linuxvdso/original/CMakeLists.txt b/contrib/libs/linuxvdso/original/CMakeLists.txt index 3c0f983fa5..fb9f9efce2 100644 --- a/contrib/libs/linuxvdso/original/CMakeLists.txt +++ b/contrib/libs/linuxvdso/original/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. -if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) include(CMakeLists.linux.txt) endif() diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..74965dc236 --- /dev/null +++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt @@ -0,0 +1,37 @@ + +# 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(MCJIT) +add_subdirectory(PerfJITEvents) +add_subdirectory(RuntimeDyld) + +add_library(llvm12-lib-ExecutionEngine) +target_compile_options(llvm12-lib-ExecutionEngine PRIVATE + -Wno-everything +) +target_include_directories(llvm12-lib-ExecutionEngine PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine +) +target_link_libraries(llvm12-lib-ExecutionEngine PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + lib-ExecutionEngine-RuntimeDyld + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Object + llvm12-lib-Support + llvm12-lib-Target +) +target_sources(llvm12-lib-ExecutionEngine PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngineBindings.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/GDBRegistrationListener.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/SectionMemoryManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/TargetSelect.cpp +) diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/ExecutionEngine/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) diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..a1a9266ca5 --- /dev/null +++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/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. + + + +add_library(lib-ExecutionEngine-PerfJITEvents) +target_compile_options(lib-ExecutionEngine-PerfJITEvents PRIVATE + -Wno-everything +) +target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents +) +target_link_libraries(lib-ExecutionEngine-PerfJITEvents PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + llvm12-lib-CodeGen + lib-DebugInfo-DWARF + llvm12-lib-ExecutionEngine + lib-ExecutionEngine-RuntimeDyld + llvm12-lib-IR + llvm12-lib-Object + llvm12-lib-Support +) +target_sources(lib-ExecutionEngine-PerfJITEvents PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp +) diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt index 3c0f983fa5..fb9f9efce2 100644 --- a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. -if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) include(CMakeLists.linux.txt) endif() diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..7585a57331 --- /dev/null +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt @@ -0,0 +1,91 @@ + +# 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(GlobalISel) + +add_executable(llvm-tblgen) +target_compile_options(llvm-tblgen PRIVATE + -Wno-everything +) +target_include_directories(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen +) +target_link_libraries(llvm-tblgen PUBLIC + contrib-libs-cxxsupp + library-cpp-lfalloc + contrib-libs-llvm12 + llvm12-lib-Demangle + llvm12-lib-Support + llvm12-lib-TableGen + utils-TableGen-GlobalISel +) +target_link_options(llvm-tblgen PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp +) +vcs_info(llvm-tblgen) diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt +++ b/contrib/libs/llvm12/utils/TableGen/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) diff --git a/contrib/libs/nayuki_md5/CMakeLists.linux-aarch64.txt b/contrib/libs/nayuki_md5/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..900e849144 --- /dev/null +++ b/contrib/libs/nayuki_md5/CMakeLists.linux-aarch64.txt @@ -0,0 +1,17 @@ + +# 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(contrib-libs-nayuki_md5) +target_link_libraries(contrib-libs-nayuki_md5 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(contrib-libs-nayuki_md5 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/nayuki_md5/md5.c +) diff --git a/contrib/libs/nayuki_md5/CMakeLists.txt b/contrib/libs/nayuki_md5/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/nayuki_md5/CMakeLists.txt +++ b/contrib/libs/nayuki_md5/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) diff --git a/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..44f3610fb1 --- /dev/null +++ b/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt @@ -0,0 +1,56 @@ + +# 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(OpenSSL REQUIRED) + +add_library(libs-poco-Crypto) +target_compile_options(libs-poco-Crypto PRIVATE + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-Crypto PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include +) +target_include_directories(libs-poco-Crypto PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include +) +target_link_libraries(libs-poco-Crypto PUBLIC + contrib-libs-cxxsupp + OpenSSL::OpenSSL + libs-poco-Foundation +) +target_sources(libs-poco-Crypto PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/Cipher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKey.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoTransform.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/DigestEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECDSADigestEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKey.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKeyImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/EVPPKey.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPair.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPairImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/PKCS12Container.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSACipherImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSADigestEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKey.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKeyImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/X509Certificate.cpp +) diff --git a/contrib/libs/poco/Crypto/CMakeLists.txt b/contrib/libs/poco/Crypto/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/Crypto/CMakeLists.txt +++ b/contrib/libs/poco/Crypto/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) diff --git a/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..724f84aa40 --- /dev/null +++ b/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt @@ -0,0 +1,192 @@ + +# 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(libs-poco-Foundation) +target_compile_options(libs-poco-Foundation PRIVATE + -DHAVE_PTHREAD_SETAFFINITY_NP + -DHAVE_THREE_PARAM_SCHED_SETAFFINITY + -DPCRE_STATIC + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-Foundation PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include +) +target_include_directories(libs-poco-Foundation PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion + ${CMAKE_SOURCE_DIR}/contrib/libs/pcre + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src +) +target_link_libraries(libs-poco-Foundation PUBLIC + contrib-libs-cxxsupp + contrib-libs-double-conversion + contrib-libs-pcre + ZLIB::ZLIB +) +target_sources(libs-poco-Foundation PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ASCIIEncoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AbstractObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ActiveDispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ArchiveStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Ascii.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AsyncChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AtomicCounter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base32Decoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base32Encoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base64Decoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base64Encoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/BinaryReader.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/BinaryWriter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Bugcheck.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ByteOrder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Channel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Checksum.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Clock.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Condition.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Configurable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ConsoleChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/CountingStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTime.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeFormat.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeFormatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeParser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Debugger.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DeflatingStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DigestEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DigestStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryIteratorStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryWatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Environment.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Error.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ErrorHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Event.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/EventArgs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/EventChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Exception.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FIFOBufferStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FPEnvironment.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/File.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileStreamFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Format.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Formatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FormattingChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Glob.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Hash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HashStatistic.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HexBinaryDecoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HexBinaryEncoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/InflatingStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/JSONString.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin1Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin2Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin9Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LineEndingConverter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LocalDateTime.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LogFile.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LogStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Logger.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LoggingFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LoggingRegistry.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MD4Engine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MD5Engine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Manifest.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MemoryPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MemoryStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Message.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NamedEvent.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NamedMutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NestedDiagnosticContext.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Notification.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NotificationCenter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NotificationQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NullChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NullStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumberFormatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumberParser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumericString.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Path.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PatternFormatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Pipe.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PipeImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PipeStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PriorityNotificationQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Process.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PurgeStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RWLock.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Random.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RandomStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RefCountedObject.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RegularExpression.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RotateStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Runnable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SHA1Engine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Semaphore.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SharedLibrary.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SharedMemory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SignalHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SimpleFileChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SortedDirectoryIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SplitterChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Stopwatch.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamConverter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamCopier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamTokenizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/String.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StringTokenizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SynchronizedObject.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Task.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TaskManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TaskNotification.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TeeStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TemporaryFile.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextBufferIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextConverter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextEncoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Thread.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadLocal.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadTarget.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TimedNotificationQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timespan.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timestamp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timezone.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Token.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URI.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URIStreamFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URIStreamOpener.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF16Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF32Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF8Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF8String.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UUID.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UUIDGenerator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Unicode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UnicodeConverter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Var.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/VarHolder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/VarIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Void.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1250Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1251Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1252Encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SyslogChannel.cpp +) diff --git a/contrib/libs/poco/Foundation/CMakeLists.txt b/contrib/libs/poco/Foundation/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/Foundation/CMakeLists.txt +++ b/contrib/libs/poco/Foundation/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) diff --git a/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..a84a5cda67 --- /dev/null +++ b/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt @@ -0,0 +1,45 @@ + +# 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(libs-poco-JSON) +target_compile_options(libs-poco-JSON PRIVATE + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-JSON PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include +) +target_include_directories(libs-poco-JSON PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src +) +target_link_libraries(libs-poco-JSON PUBLIC + contrib-libs-cxxsupp + libs-poco-Foundation +) +target_sources(libs-poco-JSON PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c +) diff --git a/contrib/libs/poco/JSON/CMakeLists.txt b/contrib/libs/poco/JSON/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/JSON/CMakeLists.txt +++ b/contrib/libs/poco/JSON/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) diff --git a/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..0a2e22dbfd --- /dev/null +++ b/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt @@ -0,0 +1,132 @@ + +# 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(libs-poco-Net) +target_compile_options(libs-poco-Net PRIVATE + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-Net PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include +) +target_include_directories(libs-poco-Net PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src +) +target_link_libraries(libs-poco-Net PUBLIC + contrib-libs-cxxsupp + libs-poco-Foundation +) +target_sources(libs-poco-Net PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/AbstractHTTPRequestHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DNS.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DialogSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPStreamFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FilePartSource.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTMLForm.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPAuthenticationParams.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBasicCredentials.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBufferAllocator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPChunkedStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCookie.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCredentials.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPDigestCredentials.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPFixedLengthStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPHeaderStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPIOStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPMessage.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequest.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandlerFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPResponse.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnectionFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerParams.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequest.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequestImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponse.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponseImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionInstantiator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStreamFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HostEntry.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPClient.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPEventArgs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPv4PacketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddress.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddressImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailMessage.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailRecipient.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MediaType.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MessageHeader.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MulticastSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartReader.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartWriter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPClient.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPEventArgs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPPacket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NameValueCollection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Net.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetworkInterface.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NullPartHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth10Credentials.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth20Credentials.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/POP3ClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartSource.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartStore.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PollSet.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableDecoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableEncoder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogListener.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Socket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddress.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddressImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotification.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotifier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketReactor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StringPartSource.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnectionFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerDispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerParams.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocketImpl.cpp +) diff --git a/contrib/libs/poco/Net/CMakeLists.txt b/contrib/libs/poco/Net/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/Net/CMakeLists.txt +++ b/contrib/libs/poco/Net/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) diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..da119edbce --- /dev/null +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt @@ -0,0 +1,69 @@ + +# 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(OpenSSL REQUIRED) + +add_library(libs-poco-NetSSL_OpenSSL) +target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include +) +target_include_directories(libs-poco-NetSSL_OpenSSL PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include +) +target_link_libraries(libs-poco-NetSSL_OpenSSL PUBLIC + contrib-libs-cxxsupp + OpenSSL::OpenSSL + libs-poco-Crypto + libs-poco-Foundation + libs-poco-JSON + libs-poco-Net + libs-poco-Util + libs-poco-XML +) +target_sources(libs-poco-NetSSL_OpenSSL PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactoryMgr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/ConsoleCertificateHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Context.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSSessionInstantiator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSStreamFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/InvalidCertificateHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyConsoleHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyFileHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactoryMgr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyPassphraseHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/RejectCertificateHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSMTPClientSession.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocketImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Session.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Utility.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/VerificationErrorArgs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/X509Certificate.cpp +) diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt +++ b/contrib/libs/poco/NetSSL_OpenSSL/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) diff --git a/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..e0869f32e7 --- /dev/null +++ b/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt @@ -0,0 +1,65 @@ + +# 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(libs-poco-Util) +target_compile_options(libs-poco-Util PRIVATE + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-Util PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include +) +target_include_directories(libs-poco-Util PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/expat + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include +) +target_link_libraries(libs-poco-Util PUBLIC + contrib-libs-cxxsupp + contrib-libs-expat + libs-poco-Foundation + libs-poco-JSON + libs-poco-XML +) +target_sources(libs-poco-Util PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/AbstractConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Application.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationMapper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationView.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/FilesystemConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/HelpFormatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IniFileConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IntValidator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/JSONConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LayeredConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingConfigurator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingSubsystem.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/MapConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Option.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionCallback.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionProcessor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionSet.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/PropertyFileConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/RegExpValidator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ServerApplication.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Subsystem.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/SystemConfiguration.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Timer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/TimerTask.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Validator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/XMLConfiguration.cpp +) diff --git a/contrib/libs/poco/Util/CMakeLists.txt b/contrib/libs/poco/Util/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/Util/CMakeLists.txt +++ b/contrib/libs/poco/Util/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) diff --git a/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b3cd42c18a --- /dev/null +++ b/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt @@ -0,0 +1,108 @@ + +# 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(libs-poco-XML) +target_compile_options(libs-poco-XML PRIVATE + -DHAVE_EXPAT_CONFIG_H + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DXML_DTD + -DXML_NS + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -Wno-everything +) +target_include_directories(libs-poco-XML PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/expat + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include +) +target_include_directories(libs-poco-XML PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src +) +target_link_libraries(libs-poco-XML PUBLIC + contrib-libs-cxxsupp + contrib-libs-expat + libs-poco-Foundation +) +target_sources(libs-poco-XML PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractContainerNode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractNode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttrMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attributes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttributesImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CDATASection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CharacterData.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ChildNodesList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Comment.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ContentHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMImplementation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMObject.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMParser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMSerializer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMWriter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DeclHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DefaultHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Document.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentEvent.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentFragment.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentType.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Element.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ElementsByTagNameList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Entity.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityReference.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolverImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ErrorHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Event.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventDispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventListener.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventTarget.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/InputSource.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LexicalHandler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Locator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LocatorImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/MutationEvent.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Name.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamePool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamedNodeMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceSupport.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Node.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeAppender.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeFilter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeIterator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Notation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ParserEngine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ProcessingInstruction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/QName.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXParser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Text.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/TreeWalker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ValueTraits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/WhitespaceFilter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilterImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLReader.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParserException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLString.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLWriter.cpp +) diff --git a/contrib/libs/poco/XML/CMakeLists.txt b/contrib/libs/poco/XML/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/poco/XML/CMakeLists.txt +++ b/contrib/libs/poco/XML/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) diff --git a/contrib/libs/t1ha/CMakeLists.darwin.txt b/contrib/libs/t1ha/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5aab2e8c19 --- /dev/null +++ b/contrib/libs/t1ha/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(contrib-libs-t1ha) +target_compile_options(contrib-libs-t1ha PRIVATE + -maes + -Wno-everything +) +target_sources(contrib-libs-t1ha PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_noavx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck_all.c +) diff --git a/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt b/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..3a7d58cb05 --- /dev/null +++ b/contrib/libs/t1ha/CMakeLists.linux-aarch64.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(contrib-libs-t1ha) +target_compile_options(contrib-libs-t1ha PRIVATE + -Wno-everything +) +target_sources(contrib-libs-t1ha PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_noavx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck_all.c +) diff --git a/contrib/libs/t1ha/CMakeLists.linux.txt b/contrib/libs/t1ha/CMakeLists.linux.txt new file mode 100644 index 0000000000..5aab2e8c19 --- /dev/null +++ b/contrib/libs/t1ha/CMakeLists.linux.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(contrib-libs-t1ha) +target_compile_options(contrib-libs-t1ha PRIVATE + -maes + -Wno-everything +) +target_sources(contrib-libs-t1ha PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_noavx.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck.c + ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck_all.c +) diff --git a/contrib/libs/t1ha/CMakeLists.txt b/contrib/libs/t1ha/CMakeLists.txt index 5aab2e8c19..3e0811fb22 100644 --- a/contrib/libs/t1ha/CMakeLists.txt +++ b/contrib/libs/t1ha/CMakeLists.txt @@ -6,22 +6,10 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-t1ha) -target_compile_options(contrib-libs-t1ha PRIVATE - -maes - -Wno-everything -) -target_sources(contrib-libs-t1ha PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_avx2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_ia32aes_noavx.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0_selfcheck.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha1_selfcheck.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha2_selfcheck.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck.c - ${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha_selfcheck_all.c -) +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/contrib/libs/tbb/CMakeLists.darwin.txt b/contrib/libs/tbb/CMakeLists.darwin.txt new file mode 100644 index 0000000000..3440164918 --- /dev/null +++ b/contrib/libs/tbb/CMakeLists.darwin.txt @@ -0,0 +1,54 @@ + +# 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(contrib-libs-tbb) +target_compile_options(contrib-libs-tbb PRIVATE + -D__TBB_BUILD + -mrtm + -mwaitpkg + -DUSE_PTHREAD + -D__TBB_USE_ITT_NOTIFY + -DDO_ITT_NOTIFY + -Wno-everything +) +target_include_directories(contrib-libs-tbb PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include +) +target_link_libraries(contrib-libs-tbb PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-tbb PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/allocator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena_slot.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/concurrent_bounded_queue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/dynamic_link.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/exception.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/global_control.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/governor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/main.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/market.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc_ex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/observer_proxy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/parallel_pipeline.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/private_server.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/profiling.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/queuing_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rml_tbb.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/semaphore.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/small_object_pool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_dispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_group_context.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/version.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/itt_notify.cpp +) diff --git a/contrib/libs/tbb/CMakeLists.linux-aarch64.txt b/contrib/libs/tbb/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..a786d878d4 --- /dev/null +++ b/contrib/libs/tbb/CMakeLists.linux-aarch64.txt @@ -0,0 +1,49 @@ + +# 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(contrib-libs-tbb) +target_compile_options(contrib-libs-tbb PRIVATE + -D__TBB_BUILD + -DUSE_PTHREAD + -Wno-everything +) +target_include_directories(contrib-libs-tbb PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include +) +target_link_libraries(contrib-libs-tbb PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-tbb PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/allocator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena_slot.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/concurrent_bounded_queue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/dynamic_link.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/exception.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/global_control.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/governor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/main.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/market.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc_ex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/observer_proxy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/parallel_pipeline.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/private_server.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/profiling.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/queuing_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rml_tbb.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/semaphore.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/small_object_pool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_dispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_group_context.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/version.cpp +) diff --git a/contrib/libs/tbb/CMakeLists.linux.txt b/contrib/libs/tbb/CMakeLists.linux.txt new file mode 100644 index 0000000000..3440164918 --- /dev/null +++ b/contrib/libs/tbb/CMakeLists.linux.txt @@ -0,0 +1,54 @@ + +# 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(contrib-libs-tbb) +target_compile_options(contrib-libs-tbb PRIVATE + -D__TBB_BUILD + -mrtm + -mwaitpkg + -DUSE_PTHREAD + -D__TBB_USE_ITT_NOTIFY + -DDO_ITT_NOTIFY + -Wno-everything +) +target_include_directories(contrib-libs-tbb PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include +) +target_link_libraries(contrib-libs-tbb PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-tbb PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/allocator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena_slot.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/concurrent_bounded_queue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/dynamic_link.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/exception.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/global_control.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/governor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/main.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/market.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc_ex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/observer_proxy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/parallel_pipeline.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/private_server.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/profiling.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/queuing_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rml_tbb.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_rw_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/semaphore.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/small_object_pool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_dispatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_group_context.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/version.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/itt_notify.cpp +) diff --git a/contrib/libs/tbb/CMakeLists.txt b/contrib/libs/tbb/CMakeLists.txt index 3440164918..3e0811fb22 100644 --- a/contrib/libs/tbb/CMakeLists.txt +++ b/contrib/libs/tbb/CMakeLists.txt @@ -6,49 +6,10 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-tbb) -target_compile_options(contrib-libs-tbb PRIVATE - -D__TBB_BUILD - -mrtm - -mwaitpkg - -DUSE_PTHREAD - -D__TBB_USE_ITT_NOTIFY - -DDO_ITT_NOTIFY - -Wno-everything -) -target_include_directories(contrib-libs-tbb PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include -) -target_link_libraries(contrib-libs-tbb PUBLIC - contrib-libs-cxxsupp -) -target_sources(contrib-libs-tbb PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/allocator.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena_slot.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/concurrent_bounded_queue.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/dynamic_link.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/exception.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/global_control.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/governor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/main.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/market.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc_ex.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/observer_proxy.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/parallel_pipeline.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/private_server.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/profiling.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/queuing_rw_mutex.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rml_tbb.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_mutex.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_rw_mutex.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/semaphore.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/small_object_pool.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_dispatcher.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_group_context.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/version.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/itt_notify.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/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt b/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..35f329bacb --- /dev/null +++ b/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt @@ -0,0 +1,77 @@ + +# 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(malloc_extension) + +add_library(contrib-libs-tcmalloc) +target_compile_options(contrib-libs-tcmalloc PRIVATE + -DTCMALLOC_256K_PAGES + -Wno-everything +) +target_link_libraries(contrib-libs-tcmalloc PUBLIC + contrib-libs-cxxsupp + contrib-restricted-abseil-cpp + libs-tcmalloc-malloc_extension +) +target_sources(contrib-libs-tcmalloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/want_hpaa.cc +) + +add_global_library_for(contrib-libs-tcmalloc.global contrib-libs-tcmalloc) +target_compile_options(contrib-libs-tcmalloc.global PRIVATE + -DTCMALLOC_256K_PAGES + -Wno-everything +) +target_link_libraries(contrib-libs-tcmalloc.global PUBLIC + contrib-libs-cxxsupp + contrib-restricted-abseil-cpp + libs-tcmalloc-malloc_extension +) +target_sources(contrib-libs-tcmalloc.global PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/tcmalloc.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/arena.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/background.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/central_freelist.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/common.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/cpu_cache.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_below64_size_class.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_size_class.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/legacy_size_classes.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/guarded_page_allocator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_address_map.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_allocator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_cache.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_page_aware_allocator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator_interface.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_heap.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/pagemap.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/parameters.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/peak_heap_tracker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/sampler.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/size_classes.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/span.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stack_trace_table.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/static_vars.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stats.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/system-alloc.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/thread_cache.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/transfer_cache.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experiment.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/noruntime_size_classes.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/cache_topology.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/environment.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/logging.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/memory_stats.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/mincore.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/numa.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_asm.S + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_unsupported.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/util.cc +) diff --git a/contrib/libs/tcmalloc/CMakeLists.txt b/contrib/libs/tcmalloc/CMakeLists.txt index 79468a5d8d..3e0811fb22 100644 --- a/contrib/libs/tcmalloc/CMakeLists.txt +++ b/contrib/libs/tcmalloc/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) diff --git a/contrib/libs/zstd/CMakeLists.darwin.txt b/contrib/libs/zstd/CMakeLists.darwin.txt new file mode 100644 index 0000000000..4a54c7bcb6 --- /dev/null +++ b/contrib/libs/zstd/CMakeLists.darwin.txt @@ -0,0 +1,62 @@ + +# 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(contrib-libs-zstd) +target_compile_options(contrib-libs-zstd PRIVATE + -DZSTD_LEGACY_SUPPORT=1 + -DZSTD_MULTITHREAD + -DDYNAMIC_BMI2 + -Wno-everything +) +target_include_directories(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy +) +target_link_libraries(contrib-libs-zstd PUBLIC + contrib-libs-xxhash +) +target_sources(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress_amd64.S + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/debug.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/entropy_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/error_private.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/fse_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/pool.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/threading.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/zstd_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/fse_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/hist.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/huf_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_literals.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_sequences.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_superblock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_double_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_lazy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_ldm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_opt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstdmt_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_ddict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress_block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/cover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/divsufsort.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/fastcover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/zdict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v01.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v02.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v03.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v04.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v05.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v06.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v07.c +) diff --git a/contrib/libs/zstd/CMakeLists.linux-aarch64.txt b/contrib/libs/zstd/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..1af91ccb9b --- /dev/null +++ b/contrib/libs/zstd/CMakeLists.linux-aarch64.txt @@ -0,0 +1,60 @@ + +# 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(contrib-libs-zstd) +target_compile_options(contrib-libs-zstd PRIVATE + -DZSTD_LEGACY_SUPPORT=1 + -DZSTD_MULTITHREAD + -Wno-everything +) +target_include_directories(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy +) +target_link_libraries(contrib-libs-zstd PUBLIC + contrib-libs-xxhash +) +target_sources(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/debug.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/entropy_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/error_private.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/fse_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/pool.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/threading.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/zstd_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/fse_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/hist.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/huf_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_literals.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_sequences.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_superblock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_double_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_lazy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_ldm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_opt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstdmt_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_ddict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress_block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/cover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/divsufsort.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/fastcover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/zdict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v01.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v02.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v03.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v04.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v05.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v06.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v07.c +) diff --git a/contrib/libs/zstd/CMakeLists.linux.txt b/contrib/libs/zstd/CMakeLists.linux.txt new file mode 100644 index 0000000000..4a54c7bcb6 --- /dev/null +++ b/contrib/libs/zstd/CMakeLists.linux.txt @@ -0,0 +1,62 @@ + +# 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(contrib-libs-zstd) +target_compile_options(contrib-libs-zstd PRIVATE + -DZSTD_LEGACY_SUPPORT=1 + -DZSTD_MULTITHREAD + -DDYNAMIC_BMI2 + -Wno-everything +) +target_include_directories(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy +) +target_link_libraries(contrib-libs-zstd PUBLIC + contrib-libs-xxhash +) +target_sources(contrib-libs-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress_amd64.S + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/debug.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/entropy_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/error_private.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/fse_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/pool.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/threading.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/zstd_common.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/fse_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/hist.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/huf_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_literals.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_sequences.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_superblock.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_double_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_fast.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_lazy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_ldm.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_opt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstdmt_compress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_ddict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress_block.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/cover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/divsufsort.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/fastcover.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/zdict.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v01.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v02.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v03.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v04.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v05.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v06.c + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v07.c +) diff --git a/contrib/libs/zstd/CMakeLists.txt b/contrib/libs/zstd/CMakeLists.txt index 4a54c7bcb6..3e0811fb22 100644 --- a/contrib/libs/zstd/CMakeLists.txt +++ b/contrib/libs/zstd/CMakeLists.txt @@ -6,57 +6,10 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-zstd) -target_compile_options(contrib-libs-zstd PRIVATE - -DZSTD_LEGACY_SUPPORT=1 - -DZSTD_MULTITHREAD - -DDYNAMIC_BMI2 - -Wno-everything -) -target_include_directories(contrib-libs-zstd PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy -) -target_link_libraries(contrib-libs-zstd PUBLIC - contrib-libs-xxhash -) -target_sources(contrib-libs-zstd PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress_amd64.S - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/debug.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/entropy_common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/error_private.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/fse_decompress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/pool.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/threading.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/zstd_common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/fse_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/hist.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/huf_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_literals.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_sequences.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_superblock.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_double_fast.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_fast.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_lazy.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_ldm.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_opt.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstdmt_compress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_ddict.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress_block.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/cover.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/divsufsort.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/fastcover.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/zdict.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v01.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v02.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v03.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v04.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v05.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v06.c - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v07.c -) +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() |