aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
commita9e5890a07cad8cfc475223eb12855a31ec8318a (patch)
tree104d1c6ba83fb89e4373d7582c7a465c9fbbad16 /contrib/restricted/aws
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/aws')
-rw-r--r--contrib/restricted/aws/aws-c-cal/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-c-cal/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-c-cal/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/aws/aws-checksums/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-checksums/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-checksums/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/aws/s2n/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/s2n/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/s2n/CMakeLists.linux.txt2
18 files changed, 18 insertions, 18 deletions
diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin.txt
index 9c31860634..c28381a676 100644
--- a/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-aws-aws-c-cal PRIVATE
-DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-cal PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.linux-aarch64.txt
index 680cd13da7..d729ec396a 100644
--- a/contrib/restricted/aws/aws-c-cal/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-aws-aws-c-cal PRIVATE
-DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-cal PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.linux.txt
index 680cd13da7..d729ec396a 100644
--- a/contrib/restricted/aws/aws-c-cal/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-aws-aws-c-cal PRIVATE
-DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-cal PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
index 63adc5461c..c6d3f58fef 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
@@ -17,7 +17,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DHAVE_MM256_EXTRACT_EPI64
-DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include
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 9fd9236853..a146f74288 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
@@ -14,7 +14,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DCJSON_HIDE_SYMBOLS
-DHAVE_SYSCONF
-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
index f572569133..2e36a7692b 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
@@ -17,7 +17,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DHAVE_MM256_EXTRACT_EPI64
-DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include
diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin.txt
index e738f0d04c..d7f9cd17a6 100644
--- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin.txt
@@ -31,7 +31,7 @@ target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
-DS2N_MADVISE_SUPPORTED
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-event-stream PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include
diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux-aarch64.txt
index 56c16206b6..e754eefb5a 100644
--- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux-aarch64.txt
@@ -31,7 +31,7 @@ target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
-DS2N_MADVISE_SUPPORTED
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-event-stream PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include
diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux.txt
index 56c16206b6..e754eefb5a 100644
--- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.linux.txt
@@ -31,7 +31,7 @@ target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
-DS2N_MADVISE_SUPPORTED
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-event-stream PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include
diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt
index 536966fbe5..64d2a9dee3 100644
--- a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt
@@ -26,7 +26,7 @@ target_compile_options(restricted-aws-aws-c-io PRIVATE
-DS2N_STACKTRACE
-DS2N___RESTRICT__SUPPORTED
-DUSE_S2N
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-io PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
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 b454722933..859d5769a1 100644
--- a/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux-aarch64.txt
@@ -26,7 +26,7 @@ target_compile_options(restricted-aws-aws-c-io PRIVATE
-DS2N_STACKTRACE
-DS2N___RESTRICT__SUPPORTED
-DUSE_S2N
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-io PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt
index b454722933..859d5769a1 100644
--- a/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt
@@ -26,7 +26,7 @@ target_compile_options(restricted-aws-aws-c-io PRIVATE
-DS2N_STACKTRACE
-DS2N___RESTRICT__SUPPORTED
-DUSE_S2N
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-io PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
diff --git a/contrib/restricted/aws/aws-checksums/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-checksums/CMakeLists.darwin.txt
index 8c953b888a..c7805ff1e2 100644
--- a/contrib/restricted/aws/aws-checksums/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-checksums/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ target_compile_options(restricted-aws-aws-checksums PRIVATE
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-checksums PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/include
diff --git a/contrib/restricted/aws/aws-checksums/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-checksums/CMakeLists.linux-aarch64.txt
index 3844f3d615..70c75162ac 100644
--- a/contrib/restricted/aws/aws-checksums/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-checksums/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ target_compile_options(restricted-aws-aws-checksums PRIVATE
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-checksums PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/include
diff --git a/contrib/restricted/aws/aws-checksums/CMakeLists.linux.txt b/contrib/restricted/aws/aws-checksums/CMakeLists.linux.txt
index 3844f3d615..70c75162ac 100644
--- a/contrib/restricted/aws/aws-checksums/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-checksums/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ target_compile_options(restricted-aws-aws-checksums PRIVATE
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-checksums PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/include
diff --git a/contrib/restricted/aws/s2n/CMakeLists.darwin.txt b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
index 5b1516b606..09035da4f2 100644
--- a/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
@@ -20,7 +20,7 @@ target_compile_options(restricted-aws-s2n PRIVATE
-DS2N_STACKTRACE
-DS2N_CPUID_AVAILABLE
-DS2N_KYBER512R3_AVX2_BMI2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-s2n PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n
diff --git a/contrib/restricted/aws/s2n/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/s2n/CMakeLists.linux-aarch64.txt
index d03ea8fb0f..84dcb48aad 100644
--- a/contrib/restricted/aws/s2n/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/s2n/CMakeLists.linux-aarch64.txt
@@ -19,7 +19,7 @@ target_compile_options(restricted-aws-s2n PRIVATE
-DS2N___RESTRICT__SUPPORTED
-DS2N_FEATURES_AVAILABLE
-DS2N_STACKTRACE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-s2n PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n
diff --git a/contrib/restricted/aws/s2n/CMakeLists.linux.txt b/contrib/restricted/aws/s2n/CMakeLists.linux.txt
index 9737b44e30..aa77c97b45 100644
--- a/contrib/restricted/aws/s2n/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/s2n/CMakeLists.linux.txt
@@ -21,7 +21,7 @@ target_compile_options(restricted-aws-s2n PRIVATE
-DS2N_STACKTRACE
-DS2N_CPUID_AVAILABLE
-DS2N_KYBER512R3_AVX2_BMI2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-s2n PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n