aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcherednik <dcherednik@ydb.tech>2022-11-25 22:09:52 +0300
committerdcherednik <dcherednik@ydb.tech>2022-11-25 22:09:52 +0300
commite1d81bf14c5f2a3d8b82345dc28c21d130f984d2 (patch)
treedff6c99b525cdbbc8b83094c124d321463ddf5bc
parent95407ff011acff532494021bae4e90947a7fe472 (diff)
downloadydb-e1d81bf14c5f2a3d8b82345dc28c21d130f984d2.tar.gz
Use intel SIMD instructions on x86_64 only.
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt4
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt3
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt4
3 files changed, 4 insertions, 7 deletions
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
index 30a2c631ca..fe09917b26 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
@@ -11,9 +11,9 @@ add_library(restricted-aws-aws-c-common)
target_compile_options(restricted-aws-aws-c-common PRIVATE
-DAWS_COMMON_USE_IMPORT_EXPORT
-DCJSON_HIDE_SYMBOLS
- -DHAVE_AVX2_INTRINSICS
- -DHAVE_MM256_EXTRACT_EPI64
-DHAVE_SYSCONF
+ -DHAVE_MM256_EXTRACT_EPI64
+ -DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_NONE
-Wno-everything
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 b7fd181790..838fc9f72f 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
@@ -11,10 +11,7 @@ add_library(restricted-aws-aws-c-common)
target_compile_options(restricted-aws-aws-c-common PRIVATE
-DAWS_COMMON_USE_IMPORT_EXPORT
-DCJSON_HIDE_SYMBOLS
- -DHAVE_AVX2_INTRINSICS
- -DHAVE_MM256_EXTRACT_EPI64
-DHAVE_SYSCONF
- -DUSE_SIMD_ENCODING
-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR
-Wno-everything
)
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
index a81abf45ae..4494ea34f2 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
@@ -11,9 +11,9 @@ add_library(restricted-aws-aws-c-common)
target_compile_options(restricted-aws-aws-c-common PRIVATE
-DAWS_COMMON_USE_IMPORT_EXPORT
-DCJSON_HIDE_SYMBOLS
- -DHAVE_AVX2_INTRINSICS
- -DHAVE_MM256_EXTRACT_EPI64
-DHAVE_SYSCONF
+ -DHAVE_MM256_EXTRACT_EPI64
+ -DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR
-Wno-everything