summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common
diff options
context:
space:
mode:
authorignat <[email protected]>2022-08-31 08:44:15 +0300
committerignat <[email protected]>2022-08-31 08:44:15 +0300
commitd04c6ee6620c95efeef71dbf0cae8b3fbd8906fa (patch)
tree35ce8e79c0cf12ea36d61ad04b5fa272232f6693 /contrib/restricted/aws/aws-c-common
parent56d404b4b42e9aa7e4b96170f69c2d25220b5205 (diff)
New cmake semantics for compiling with AVX and other specific flags
Diffstat (limited to 'contrib/restricted/aws/aws-c-common')
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt12
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt12
2 files changed, 0 insertions, 24 deletions
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
index 4e62f1b1461..114443e6685 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
@@ -27,7 +27,6 @@ target_link_options(restricted-aws-aws-c-common INTERFACE
CoreFoundation
)
target_sources(restricted-aws-aws-c-common PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c
@@ -83,14 +82,3 @@ target_sources(restricted-aws-aws-c-common PRIVATE
${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
)
-set_property(
- SOURCE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
- APPEND
- PROPERTY
- COMPILE_OPTIONS
- -mavx2
- -mfma
- -mbmi
- -mbmi2
-)
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
index e42dea73f59..f0bf855b3fc 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
@@ -23,7 +23,6 @@ target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include
)
target_sources(restricted-aws-aws-c-common PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c
@@ -79,14 +78,3 @@ target_sources(restricted-aws-aws-c-common PRIVATE
${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
)
-set_property(
- SOURCE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
- APPEND
- PROPERTY
- COMPILE_OPTIONS
- -mavx2
- -mfma
- -mbmi
- -mbmi2
-)