aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/farmhash
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
commit3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4 (patch)
tree813632dc1e042d4799bb1a5838d02c781c977218 /contrib/libs/farmhash
parent77cb1379853232a9e0f5540d74d564dc76c9c208 (diff)
downloadydb-3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4.tar.gz
Hackish NO_COMPILER_WARNINGS support
Proper implementation must be done as part of YMAKE-91 YMAKE-91 ref:8b77363477972e5927f43d53d571cd60dd458995
Diffstat (limited to 'contrib/libs/farmhash')
-rw-r--r--contrib/libs/farmhash/CMakeLists.txt3
-rw-r--r--contrib/libs/farmhash/arch/sse41/CMakeLists.txt1
-rw-r--r--contrib/libs/farmhash/arch/sse42/CMakeLists.txt1
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.txt1
4 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libs/farmhash/CMakeLists.txt b/contrib/libs/farmhash/CMakeLists.txt
index 1c92cd963c..948de22915 100644
--- a/contrib/libs/farmhash/CMakeLists.txt
+++ b/contrib/libs/farmhash/CMakeLists.txt
@@ -8,6 +8,9 @@
add_library(contrib-libs-farmhash)
+target_compile_options(contrib-libs-farmhash PRIVATE
+ -Wno-everything
+)
target_include_directories(contrib-libs-farmhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
)
diff --git a/contrib/libs/farmhash/arch/sse41/CMakeLists.txt b/contrib/libs/farmhash/arch/sse41/CMakeLists.txt
index a266de247e..e83cb67bd6 100644
--- a/contrib/libs/farmhash/arch/sse41/CMakeLists.txt
+++ b/contrib/libs/farmhash/arch/sse41/CMakeLists.txt
@@ -10,6 +10,7 @@
add_library(farmhash-arch-sse41)
target_compile_options(farmhash-arch-sse41 PRIVATE
-msse4.1
+ -Wno-everything
)
target_link_libraries(farmhash-arch-sse41 PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse42/CMakeLists.txt b/contrib/libs/farmhash/arch/sse42/CMakeLists.txt
index 7d99951af2..0d829bbbf1 100644
--- a/contrib/libs/farmhash/arch/sse42/CMakeLists.txt
+++ b/contrib/libs/farmhash/arch/sse42/CMakeLists.txt
@@ -10,6 +10,7 @@
add_library(farmhash-arch-sse42)
target_compile_options(farmhash-arch-sse42 PRIVATE
-msse4.2
+ -Wno-everything
)
target_link_libraries(farmhash-arch-sse42 PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.txt
index b13944a837..03160577e6 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.txt
@@ -11,6 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
+ -Wno-everything
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-cxxsupp