This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new b0b014b cmake: prettier messages for AVX2 support
b0b014b is described below
commit b0b014b1a4bd0e87524e2ffcff43fba999fefeaa
Author: Adar Dembo <[email protected]>
AuthorDate: Wed Dec 18 21:34:16 2019 -0800
cmake: prettier messages for AVX2 support
Change-Id: Ic8d01bb2413c64e70526b7d83e35447eec70f747
Reviewed-on: http://gerrit.cloudera.org:8080/14928
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Kudu Jenkins
---
src/kudu/util/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/kudu/util/CMakeLists.txt b/src/kudu/util/CMakeLists.txt
index 737d806..f92af7b 100644
--- a/src/kudu/util/CMakeLists.txt
+++ b/src/kudu/util/CMakeLists.txt
@@ -249,7 +249,6 @@ execute_process(
OUTPUT_VARIABLE AVX2_SUPPORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
-message("AVX2_SUPPORT=${AVX2_SUPPORT}")
# block_bloom_filter_avx2.cc uses AVX2 operations.
if (AVX2_SUPPORT)
@@ -260,6 +259,9 @@ if (AVX2_SUPPORT)
# instead of relying on __AVX2__ defined by compiler with -mavx2.
set_source_files_properties(block_bloom_filter_avx2.cc block_bloom_filter.cc
PROPERTIES COMPILE_DEFINITIONS "USE_AVX2=1")
+ message("Compiler supports AVX2")
+else()
+ message("Compiler does not support AVX2")
endif()
set(UTIL_LIBS