aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-16 19:50:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-16 19:50:23 +0100
commitedc592085458130b6e4aebeccc7ce45ea920d97a (patch)
tree12ca3097dfc7143e9a74e9b3b5b1c10587b51903 /contrib
parent048c80ae85da8a987f18595e65622566dda1425c (diff)
downloadrspamd-edc592085458130b6e4aebeccc7ce45ea920d97a.tar.gz
rspamd-edc592085458130b6e4aebeccc7ce45ea920d97a.zip
[Minor] Another try to fix brain-damaged torch build system
Diffstat (limited to 'contrib')
-rw-r--r--contrib/torch/torch7/lib/TH/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/torch/torch7/lib/TH/CMakeLists.txt b/contrib/torch/torch7/lib/TH/CMakeLists.txt
index 1696f5b3f..fdaec267c 100644
--- a/contrib/torch/torch7/lib/TH/CMakeLists.txt
+++ b/contrib/torch/torch7/lib/TH/CMakeLists.txt
@@ -170,7 +170,6 @@ IF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND)
ENDIF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND)
# IF SSE4 FOUND
-IF(FALSE)
IF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND)
SET(CMAKE_C_FLAGS "${C_SSE4_1_FLAGS} -DUSE_SSE4_1 ${C_SSE4_2_FLAGS} -DUSE_SSE4_2 ${CMAKE_C_FLAGS}")
IF(MSVC)
@@ -180,7 +179,6 @@ IF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND)
ENDIF(MSVC)
SET(simd ${simd} generic/simd/convolve5x5_sse.c)
ENDIF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND)
-ENDIF()
# IF AVX FOUND
IF(FALSE)