summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2025-05-18 12:54:09 +0300
committerrobot-contrib <[email protected]>2025-05-18 13:06:58 +0300
commitd1811f1cf5a0337457ccd3288ea035b98766d0ab (patch)
tree47b0b2c8e27b4827c4f86d3f2b90a0787a7621a8 /contrib/restricted/aws/aws-c-common
parent510bcc570720f5f3f1c90491ccdce126155c1017 (diff)
Update contrib/restricted/aws/aws-checksums to 0.2.7
commit_hash:c5bf5558f1399900ede13429f75a7f75ebd82151
Diffstat (limited to 'contrib/restricted/aws/aws-c-common')
-rw-r--r--contrib/restricted/aws/aws-c-common/.yandex_meta/__init__.py3
-rw-r--r--contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.copyrights.report2
-rw-r--r--contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.licenses.report2
-rw-r--r--contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-armv8a.h8
-rw-r--r--contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-linux.h33
-rw-r--r--contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h36
6 files changed, 51 insertions, 33 deletions
diff --git a/contrib/restricted/aws/aws-c-common/.yandex_meta/__init__.py b/contrib/restricted/aws/aws-c-common/.yandex_meta/__init__.py
index 2cd57a9d597..56f81bb9af1 100644
--- a/contrib/restricted/aws/aws-c-common/.yandex_meta/__init__.py
+++ b/contrib/restricted/aws/aws-c-common/.yandex_meta/__init__.py
@@ -99,6 +99,9 @@ aws_c_common = CMakeNinjaNixProject(
disable_includes=[
"legacy/ittnotify.h",
],
+ platform_dispatchers=[
+ "generated/include/aws/common/config.h",
+ ],
install_targets=["aws-c-common"],
post_install=post_install,
)
diff --git a/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.copyrights.report b/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.copyrights.report
index 12b66fe1ae9..eb5b0f2cc33 100644
--- a/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.copyrights.report
+++ b/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.copyrights.report
@@ -38,7 +38,7 @@ BELONGS ya.make
Score : 100.00
Match type : COPYRIGHT
Files with this license:
- generated/include/aws/common/config.h [5:5]
+ generated/include/aws/common/config-linux.h [5:5]
include/aws/common/allocator.h [4:4]
include/aws/common/array_list.h [5:5]
include/aws/common/array_list.inl [5:5]
diff --git a/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.licenses.report b/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.licenses.report
index a8ede1532c6..164fe22492c 100644
--- a/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.licenses.report
+++ b/contrib/restricted/aws/aws-c-common/.yandex_meta/devtools.licenses.report
@@ -279,7 +279,7 @@ BELONGS ya.make
Match type : TAG
Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
Files with this license:
- generated/include/aws/common/config.h [6:6]
+ generated/include/aws/common/config-linux.h [6:6]
include/aws/common/allocator.h [5:5]
include/aws/common/array_list.h [6:6]
include/aws/common/array_list.inl [6:6]
diff --git a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-armv8a.h b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-armv8a.h
new file mode 100644
index 00000000000..e76c18c7d81
--- /dev/null
+++ b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-armv8a.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include "config-linux.h"
+
+#undef AWS_ARCH_INTEL
+#undef AWS_ARCH_INTEL_X64
+
+#define AWS_ARCH_ARM64
diff --git a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-linux.h b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-linux.h
new file mode 100644
index 00000000000..1bab20d34b3
--- /dev/null
+++ b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config-linux.h
@@ -0,0 +1,33 @@
+#ifndef AWS_COMMON_CONFIG_H
+#define AWS_COMMON_CONFIG_H
+
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+/*
+ * This header exposes compiler feature test results determined during cmake
+ * configure time to inline function implementations. The macros defined here
+ * should be considered to be an implementation detail, and can change at any
+ * time.
+ */
+#define AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
+#define AWS_HAVE_GCC_INLINE_ASM
+/* #undef AWS_HAVE_MSVC_INTRINSICS_X64 */
+#define AWS_HAVE_POSIX_LARGE_FILE_SUPPORT
+/* #undef AWS_HAVE_EXECINFO */
+/* #undef AWS_HAVE_WINAPI_DESKTOP */
+#define AWS_HAVE_LINUX_IF_LINK_H
+#define AWS_HAVE_AVX2_INTRINSICS
+#define AWS_HAVE_AVX512_INTRINSICS
+#define AWS_HAVE_MM256_EXTRACT_EPI64
+#define AWS_HAVE_CLMUL
+/* #undef AWS_HAVE_ARM32_CRC */
+/* #undef AWS_HAVE_ARMv8_1 */
+/* #undef AWS_ARCH_ARM64 */
+#define AWS_ARCH_INTEL
+#define AWS_ARCH_INTEL_X64
+#define AWS_USE_CPU_EXTENSIONS
+
+#endif
diff --git a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
index 1bab20d34b3..31c5d95152a 100644
--- a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
+++ b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
@@ -1,33 +1,7 @@
-#ifndef AWS_COMMON_CONFIG_H
-#define AWS_COMMON_CONFIG_H
-
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-/*
- * This header exposes compiler feature test results determined during cmake
- * configure time to inline function implementations. The macros defined here
- * should be considered to be an implementation detail, and can change at any
- * time.
- */
-#define AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
-#define AWS_HAVE_GCC_INLINE_ASM
-/* #undef AWS_HAVE_MSVC_INTRINSICS_X64 */
-#define AWS_HAVE_POSIX_LARGE_FILE_SUPPORT
-/* #undef AWS_HAVE_EXECINFO */
-/* #undef AWS_HAVE_WINAPI_DESKTOP */
-#define AWS_HAVE_LINUX_IF_LINK_H
-#define AWS_HAVE_AVX2_INTRINSICS
-#define AWS_HAVE_AVX512_INTRINSICS
-#define AWS_HAVE_MM256_EXTRACT_EPI64
-#define AWS_HAVE_CLMUL
-/* #undef AWS_HAVE_ARM32_CRC */
-/* #undef AWS_HAVE_ARMv8_1 */
-/* #undef AWS_ARCH_ARM64 */
-#define AWS_ARCH_INTEL
-#define AWS_ARCH_INTEL_X64
-#define AWS_USE_CPU_EXTENSIONS
+#pragma once
+#if defined(__aarch64__) || defined(_M_ARM64)
+# include "config-armv8a.h"
+#else
+# include "config-linux.h"
#endif