diff options
author | uzhas <uzhas@ydb.tech> | 2023-12-11 12:48:58 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-12-11 14:21:05 +0300 |
commit | 8c430a3dc91949899bba095f678e93fae92f01c5 (patch) | |
tree | 7dde284ebcbe2b1106f63865c4dc5278880200ca /contrib | |
parent | b3588741a100fbdad4500d88711c161aacff9736 (diff) | |
download | ydb-8c430a3dc91949899bba095f678e93fae92f01c5.tar.gz |
windows: fix yqlworker build
Diffstat (limited to 'contrib')
29 files changed, 268 insertions, 421 deletions
diff --git a/contrib/restricted/aws/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..be12f5d90f --- /dev/null +++ b/contrib/restricted/aws/CMakeLists.darwin-arm64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(aws-c-auth) +add_subdirectory(aws-c-cal) +add_subdirectory(aws-c-common) +add_subdirectory(aws-c-compression) +add_subdirectory(aws-c-event-stream) +add_subdirectory(aws-c-http) +add_subdirectory(aws-c-io) +add_subdirectory(aws-c-mqtt) +add_subdirectory(aws-c-s3) +add_subdirectory(aws-c-sdkutils) +add_subdirectory(aws-checksums) +add_subdirectory(aws-crt-cpp) +add_subdirectory(s2n) diff --git a/contrib/restricted/aws/CMakeLists.darwin-x86_64.txt b/contrib/restricted/aws/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..be12f5d90f --- /dev/null +++ b/contrib/restricted/aws/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(aws-c-auth) +add_subdirectory(aws-c-cal) +add_subdirectory(aws-c-common) +add_subdirectory(aws-c-compression) +add_subdirectory(aws-c-event-stream) +add_subdirectory(aws-c-http) +add_subdirectory(aws-c-io) +add_subdirectory(aws-c-mqtt) +add_subdirectory(aws-c-s3) +add_subdirectory(aws-c-sdkutils) +add_subdirectory(aws-checksums) +add_subdirectory(aws-crt-cpp) +add_subdirectory(s2n) diff --git a/contrib/restricted/aws/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..be12f5d90f --- /dev/null +++ b/contrib/restricted/aws/CMakeLists.linux-aarch64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(aws-c-auth) +add_subdirectory(aws-c-cal) +add_subdirectory(aws-c-common) +add_subdirectory(aws-c-compression) +add_subdirectory(aws-c-event-stream) +add_subdirectory(aws-c-http) +add_subdirectory(aws-c-io) +add_subdirectory(aws-c-mqtt) +add_subdirectory(aws-c-s3) +add_subdirectory(aws-c-sdkutils) +add_subdirectory(aws-checksums) +add_subdirectory(aws-crt-cpp) +add_subdirectory(s2n) diff --git a/contrib/restricted/aws/CMakeLists.linux-x86_64.txt b/contrib/restricted/aws/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..be12f5d90f --- /dev/null +++ b/contrib/restricted/aws/CMakeLists.linux-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(aws-c-auth) +add_subdirectory(aws-c-cal) +add_subdirectory(aws-c-common) +add_subdirectory(aws-c-compression) +add_subdirectory(aws-c-event-stream) +add_subdirectory(aws-c-http) +add_subdirectory(aws-c-io) +add_subdirectory(aws-c-mqtt) +add_subdirectory(aws-c-s3) +add_subdirectory(aws-c-sdkutils) +add_subdirectory(aws-checksums) +add_subdirectory(aws-crt-cpp) +add_subdirectory(s2n) diff --git a/contrib/restricted/aws/CMakeLists.txt b/contrib/restricted/aws/CMakeLists.txt index be12f5d90f..d863ebd180 100644 --- a/contrib/restricted/aws/CMakeLists.txt +++ b/contrib/restricted/aws/CMakeLists.txt @@ -6,16 +6,14 @@ # original buildsystem will not be accepted. -add_subdirectory(aws-c-auth) -add_subdirectory(aws-c-cal) -add_subdirectory(aws-c-common) -add_subdirectory(aws-c-compression) -add_subdirectory(aws-c-event-stream) -add_subdirectory(aws-c-http) -add_subdirectory(aws-c-io) -add_subdirectory(aws-c-mqtt) -add_subdirectory(aws-c-s3) -add_subdirectory(aws-c-sdkutils) -add_subdirectory(aws-checksums) -add_subdirectory(aws-crt-cpp) -add_subdirectory(s2n) +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +endif() diff --git a/contrib/restricted/aws/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..dcf82a82b5 --- /dev/null +++ b/contrib/restricted/aws/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(aws-c-auth) +add_subdirectory(aws-c-cal) +add_subdirectory(aws-c-common) +add_subdirectory(aws-c-compression) +add_subdirectory(aws-c-event-stream) +add_subdirectory(aws-c-http) +add_subdirectory(aws-c-io) +add_subdirectory(aws-c-mqtt) +add_subdirectory(aws-c-s3) +add_subdirectory(aws-c-sdkutils) +add_subdirectory(aws-checksums) +add_subdirectory(aws-crt-cpp) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt index 4132ce81b1..fa330ecde6 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt @@ -54,17 +54,6 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c @@ -79,4 +68,15 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/arm/asm/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-x86_64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-x86_64.txt index a5385e5d75..3ee6bee53f 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-x86_64.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-x86_64.txt @@ -57,17 +57,6 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c @@ -83,6 +72,17 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ) target_sources_custom(restricted-aws-aws-c-common .avx2 diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt index 3bdc0bff17..19a8a3c493 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt @@ -53,17 +53,6 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c @@ -78,4 +67,15 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/arm/asm/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-x86_64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-x86_64.txt index d33211d955..3f8dd90a18 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-x86_64.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-x86_64.txt @@ -56,17 +56,6 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c @@ -82,6 +71,17 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ) target_sources_custom(restricted-aws-aws-c-common .avx2 diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.windows-x86_64.txt index b137a4a3b8..fb7823f7c5 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.windows-x86_64.txt @@ -14,7 +14,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE -DAWS_PTHREAD_SETNAME_TAKES_2ARGS -DCJSON_HIDE_SYMBOLS -DHAVE_SYSCONF - -DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR + -DAWS_COMMON_EXPORTS -DHAVE_MM256_EXTRACT_EPI64 -DHAVE_AVX2_INTRINSICS -DUSE_SIMD_ENCODING @@ -53,17 +53,6 @@ target_sources(restricted-aws-aws-c-common PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c diff --git a/contrib/restricted/aws/aws-c-common/ya.make b/contrib/restricted/aws/aws-c-common/ya.make index 85a2c01545..34a4842b47 100644 --- a/contrib/restricted/aws/aws-c-common/ya.make +++ b/contrib/restricted/aws/aws-c-common/ya.make @@ -44,6 +44,10 @@ ELSEIF (OS_DARWIN) -framework CoreFoundation ) +ELSEIF (OS_WINDOWS) + CFLAGS( + -DAWS_COMMON_EXPORTS + ) ELSE() CFLAGS( -DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR @@ -87,17 +91,6 @@ SRCS( source/lru_cache.c source/math.c source/memtrace.c - source/posix/clock.c - source/posix/condition_variable.c - source/posix/device_random.c - source/posix/environment.c - source/posix/file.c - source/posix/mutex.c - source/posix/process.c - source/posix/rw_lock.c - source/posix/system_info.c - source/posix/thread.c - source/posix/time.c source/priority_queue.c source/process_common.c source/promise.c @@ -125,4 +118,20 @@ ELSEIF (ARCH_X86_64) SRC_C_AVX2(source/arch/intel/encoding_avx2.c) ENDIF() +IF (NOT OS_WINDOWS) + SRCS( + source/posix/clock.c + source/posix/condition_variable.c + source/posix/device_random.c + source/posix/environment.c + source/posix/file.c + source/posix/mutex.c + source/posix/process.c + source/posix/rw_lock.c + source/posix/system_info.c + source/posix/thread.c + source/posix/time.c + ) +ENDIF() + END() diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.windows-x86_64.txt index 0e233170c2..a9844e7813 100644 --- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.windows-x86_64.txt @@ -28,6 +28,7 @@ target_compile_options(restricted-aws-aws-c-event-stream PRIVATE -DS2N_PLATFORM_SUPPORTS_KTLS -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED + -DAWS_EVENT_STREAM_EXPORTS $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> ) target_include_directories(restricted-aws-aws-c-event-stream PUBLIC diff --git a/contrib/restricted/aws/aws-c-event-stream/ya.make b/contrib/restricted/aws/aws-c-event-stream/ya.make index d087791e00..61611a7fa8 100644 --- a/contrib/restricted/aws/aws-c-event-stream/ya.make +++ b/contrib/restricted/aws/aws-c-event-stream/ya.make @@ -46,6 +46,12 @@ CFLAGS( -DS2N___RESTRICT__SUPPORTED ) +IF (OS_WINDOWS) + CFLAGS( + -DAWS_EVENT_STREAM_EXPORTS + ) +ENDIF() + SRCS( source/event_stream.c source/event_stream_channel_handler.c diff --git a/contrib/restricted/aws/aws-c-http/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-c-http/CMakeLists.windows-x86_64.txt index 2df1842086..8d1599b730 100644 --- a/contrib/restricted/aws/aws-c-http/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-c-http/CMakeLists.windows-x86_64.txt @@ -28,6 +28,8 @@ target_compile_options(restricted-aws-aws-c-http PRIVATE -DS2N_PLATFORM_SUPPORTS_KTLS -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED + -DAWS_HTTP_EXPORTS + -std=c99 $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> ) target_include_directories(restricted-aws-aws-c-http PUBLIC diff --git a/contrib/restricted/aws/aws-c-http/ya.make b/contrib/restricted/aws/aws-c-http/ya.make index 766d17d996..42e663da6e 100644 --- a/contrib/restricted/aws/aws-c-http/ya.make +++ b/contrib/restricted/aws/aws-c-http/ya.make @@ -47,6 +47,17 @@ CFLAGS( -DS2N___RESTRICT__SUPPORTED ) +IF (CLANG_CL) + CFLAGS( + -DAWS_HTTP_EXPORTS + -std=c99 + ) +ELSEIF (OS_WINDOWS) + CFLAGS( + -DAWS_HTTP_EXPORTS + ) +ENDIF() + SRCS( source/connection.c source/connection_manager.c diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt index 64d2a9dee3..1608401534 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt @@ -49,12 +49,7 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c @@ -62,4 +57,9 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/bsd/kqueue_event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-x86_64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-x86_64.txt index 64d2a9dee3..1608401534 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-x86_64.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-x86_64.txt @@ -49,12 +49,7 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c @@ -62,4 +57,9 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/bsd/kqueue_event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt index 859d5769a1..be76545271 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt @@ -50,12 +50,7 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c @@ -63,4 +58,9 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.linux-x86_64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.linux-x86_64.txt index 859d5769a1..be76545271 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.linux-x86_64.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux-x86_64.txt @@ -50,12 +50,7 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c @@ -63,4 +58,9 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.windows-x86_64.txt index 7c1b0626c2..f353ab49e0 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.windows-x86_64.txt @@ -25,7 +25,9 @@ target_compile_options(restricted-aws-aws-c-io PRIVATE -DS2N_MADVISE_SUPPORTED -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED - -DUSE_S2N + -DAWS_IO_EXPORTS + -DAWS_USE_IO_COMPLETION_PORTS + -std=c99 $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> ) target_include_directories(restricted-aws-aws-c-io PUBLIC @@ -34,7 +36,6 @@ target_include_directories(restricted-aws-aws-c-io PUBLIC target_link_libraries(restricted-aws-aws-c-io PUBLIC restricted-aws-aws-c-cal restricted-aws-aws-c-common - restricted-aws-s2n ) target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c @@ -49,12 +50,7 @@ target_sources(restricted-aws-aws-c-io PRIVATE ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c diff --git a/contrib/restricted/aws/aws-c-io/include/aws/io/private/pki_utils.h b/contrib/restricted/aws/aws-c-io/include/aws/io/private/pki_utils.h index feb8d65ce9..ec1c2c62b2 100644 --- a/contrib/restricted/aws/aws-c-io/include/aws/io/private/pki_utils.h +++ b/contrib/restricted/aws/aws-c-io/include/aws/io/private/pki_utils.h @@ -10,6 +10,7 @@ /* It's ok to include external headers because this is a PRIVATE header file * (it is usually a crime to include windows.h from header file) */ # include <Windows.h> +# include <Wincrypt.h> #endif /* _WIN32 */ #ifdef AWS_OS_APPLE diff --git a/contrib/restricted/aws/aws-c-io/ya.make b/contrib/restricted/aws/aws-c-io/ya.make index e8c6309246..f34f5a86f8 100644 --- a/contrib/restricted/aws/aws-c-io/ya.make +++ b/contrib/restricted/aws/aws-c-io/ya.make @@ -16,7 +16,6 @@ ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-io/archive/v0.13.21.tar.gz) PEERDIR( contrib/restricted/aws/aws-c-cal contrib/restricted/aws/aws-c-common - contrib/restricted/aws/s2n ) ADDINCL( @@ -44,9 +43,28 @@ CFLAGS( -DS2N_MADVISE_SUPPORTED -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED - -DUSE_S2N ) +IF (CLANG_CL) + CFLAGS( + -DAWS_IO_EXPORTS + -DAWS_USE_IO_COMPLETION_PORTS + -std=c99 + ) +ELSEIF (OS_WINDOWS) + CFLAGS( + -DAWS_IO_EXPORTS + -DAWS_USE_IO_COMPLETION_PORTS + ) +ELSE() + PEERDIR( + contrib/restricted/aws/s2n + ) + CFLAGS( + -DUSE_S2N + ) +ENDIF() + SRCS( source/alpn_handler.c source/channel.c @@ -60,12 +78,7 @@ SRCS( source/pkcs11_lib.c source/pkcs11_tls_op_handler.c source/pki_utils.c - source/posix/host_resolver.c - source/posix/pipe.c - source/posix/shared_library.c - source/posix/socket.c source/retry_strategy.c - source/s2n/s2n_tls_channel_handler.c source/socket_channel_handler.c source/standard_retry_strategy.c source/statistics.c @@ -77,10 +90,20 @@ SRCS( IF (OS_DARWIN) SRCS( source/bsd/kqueue_event_loop.c + source/posix/host_resolver.c + source/posix/pipe.c + source/posix/shared_library.c + source/posix/socket.c + source/s2n/s2n_tls_channel_handler.c ) ELSEIF (OS_LINUX) SRCS( source/linux/epoll_event_loop.c + source/posix/host_resolver.c + source/posix/pipe.c + source/posix/shared_library.c + source/posix/socket.c + source/s2n/s2n_tls_channel_handler.c ) ENDIF() diff --git a/contrib/restricted/aws/aws-c-mqtt/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-c-mqtt/CMakeLists.windows-x86_64.txt index f6f7676670..629772eebb 100644 --- a/contrib/restricted/aws/aws-c-mqtt/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-c-mqtt/CMakeLists.windows-x86_64.txt @@ -30,6 +30,7 @@ target_compile_options(restricted-aws-aws-c-mqtt PRIVATE -DS2N_PLATFORM_SUPPORTS_KTLS -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED + -DAWS_MQTT_EXPORTS $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> ) target_include_directories(restricted-aws-aws-c-mqtt PUBLIC diff --git a/contrib/restricted/aws/aws-c-mqtt/ya.make b/contrib/restricted/aws/aws-c-mqtt/ya.make index e6397a5367..a537b59260 100644 --- a/contrib/restricted/aws/aws-c-mqtt/ya.make +++ b/contrib/restricted/aws/aws-c-mqtt/ya.make @@ -48,6 +48,12 @@ CFLAGS( -DS2N___RESTRICT__SUPPORTED ) +IF (OS_WINDOWS) + CFLAGS( + -DAWS_MQTT_EXPORTS + ) +ENDIF() + SRCS( source/client.c source/client_channel_handler.c diff --git a/contrib/restricted/aws/aws-crt-cpp/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/aws-crt-cpp/CMakeLists.windows-x86_64.txt index 6c2e3fb3bc..4d6fa795e4 100644 --- a/contrib/restricted/aws/aws-crt-cpp/CMakeLists.windows-x86_64.txt +++ b/contrib/restricted/aws/aws-crt-cpp/CMakeLists.windows-x86_64.txt @@ -36,6 +36,7 @@ target_compile_options(restricted-aws-aws-crt-cpp PRIVATE -DS2N_PLATFORM_SUPPORTS_KTLS -DS2N_STACKTRACE -DS2N___RESTRICT__SUPPORTED + -DAWS_CRT_CPP_EXPORTS $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> ) target_include_directories(restricted-aws-aws-crt-cpp PUBLIC diff --git a/contrib/restricted/aws/aws-crt-cpp/ya.make b/contrib/restricted/aws/aws-crt-cpp/ya.make index 962f99ecb7..ea6cc7c623 100644 --- a/contrib/restricted/aws/aws-crt-cpp/ya.make +++ b/contrib/restricted/aws/aws-crt-cpp/ya.make @@ -63,6 +63,12 @@ CFLAGS( -DS2N___RESTRICT__SUPPORTED ) +IF (OS_WINDOWS) + CFLAGS( + -DAWS_CRT_CPP_EXPORTS + ) +ENDIF() + SRCS( source/Allocator.cpp source/Api.cpp diff --git a/contrib/restricted/aws/s2n/CMakeLists.txt b/contrib/restricted/aws/s2n/CMakeLists.txt index d863ebd180..380079ac7b 100644 --- a/contrib/restricted/aws/s2n/CMakeLists.txt +++ b/contrib/restricted/aws/s2n/CMakeLists.txt @@ -14,6 +14,4 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL include(CMakeLists.darwin-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") include(CMakeLists.darwin-arm64.txt) -elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) - include(CMakeLists.windows-x86_64.txt) endif() diff --git a/contrib/restricted/aws/s2n/CMakeLists.windows-x86_64.txt b/contrib/restricted/aws/s2n/CMakeLists.windows-x86_64.txt deleted file mode 100644 index 5a2ac247d2..0000000000 --- a/contrib/restricted/aws/s2n/CMakeLists.windows-x86_64.txt +++ /dev/null @@ -1,305 +0,0 @@ - -# This file was generated by the build system used internally in the Yandex monorepo. -# Only simple modifications are allowed (adding source-files to targets, adding simple properties -# like target_include_directories). These modifications will be ported to original -# ya.make files by maintainers. Any complex modifications which can't be ported back to the -# original buildsystem will not be accepted. - - - -add_library(restricted-aws-s2n) -target_compile_options(restricted-aws-s2n PRIVATE - -DS2N_ATOMIC_SUPPORTED - -DS2N_CLOEXEC_SUPPORTED - -DS2N_CLOEXEC_XOPEN_SUPPORTED - -DS2N_CLONE_SUPPORTED - -DS2N_DIAGNOSTICS_POP_SUPPORTED - -DS2N_DIAGNOSTICS_PUSH_SUPPORTED - -DS2N_EXECINFO_AVAILABLE - -DS2N_FALL_THROUGH_SUPPORTED - -DS2N_KYBER512R3_AVX2_BMI2_SUPPORTED - -DS2N_KYBER512R3_M256_INTRINSICS_SUPPORTED - -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH - -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX - -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4 - -DS2N_LIBCRYPTO_SUPPORTS_FLAG_NO_CHECK_TIME - -DS2N_MADVISE_SUPPORTED - -DS2N___RESTRICT__SUPPORTED - -DS2N_STACKTRACE - -DS2N_CPUID_AVAILABLE - -DS2N_KYBER512R3_AVX2_BMI2 - $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> -) -target_include_directories(restricted-aws-s2n PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api -) -target_link_libraries(restricted-aws-s2n PUBLIC - contrib-libs-openssl -) -target_sources(restricted-aws-s2n PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_basemul_avx2.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fq_avx2.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_invntt_avx2.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt_avx2.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_shuffle_avx2.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_aes_gcm.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_chacha20_poly1305.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_3des.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_aes.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_certificate.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cipher.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_composite_cipher_aes_sha.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_crypto.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_dhe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_drbg.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecc_evp.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecdsa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp_signing.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_fips.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hash.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hkdf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hmac.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_libcrypto.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_locking.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_openssl_x509.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_pkey.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_pss.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_signing.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_sequence.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_null.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_rc4.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_tls13_keys.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/error/s2n_errno.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fips202.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_indcpa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_poly.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_symmetric-shake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_kyber_evp.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_base64.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_network_order.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_pem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_text.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cert_status.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cert_status_response.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_alpn.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_cert_status_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_cookie.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_early_data_indication.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_ems.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_max_frag_len.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_pq_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_renegotiation_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_sct_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_server_name.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_groups.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_ec_point_format.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type_lists.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_npn.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_nst_early_data_indication.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_psk_key_exchange_modes.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_quic_transport_params.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_alpn.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_cert_status_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_cookie.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_early_data_indication.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_ems.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_max_fragment_length.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_renegotiation_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_sct_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_server_name.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_aead.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_alerts.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_async_pkey.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_auth_selection.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cbc.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_change_cipher_spec.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_suites.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert_verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_finished.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_key_exchange.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_config.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_crl.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_crypto.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_early_data.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ecc_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_encrypted_extensions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_establish_session.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_fingerprint.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_hashes.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_transcript.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_type.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_log.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_update.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ktls.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ktls_io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_next_protocol.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ocsp_stapling.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_post_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_prf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_protocol_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_quic_support.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_aead.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_cbc.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_composite.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_stream.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_write.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_recv.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_renegotiate.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_resume.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_security_policies.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_send.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_done.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_extensions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_finished.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello_retry.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_key_exchange.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_new_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_shutdown.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_scheme.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_certificate_verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_key_schedule.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_secrets.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_x509_validator.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_array.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_atomic.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_blob.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_ensure.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_fork_detection.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_init.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_map.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_mem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_result.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_rfc5952.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_safety.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_set.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_consts_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fips202x4_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_indcpa_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_poly_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) -target_sources_custom(restricted-aws-s2n - .avx2 - SRCS - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_rejsample_avx2.c - CUSTOM_FLAGS - -mavx2 - -mfma - -mbmi - -mbmi2 -) |