summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-19 19:12:57 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-19 21:43:01 +0000
commitc40cc543d0b579ffbfa06e079271efcd839b72ae (patch)
tree0c5b9dfbeb44c8ca6eebb02762d2277aa75b5673 /cmake
parent25c53ce00ed1e4ea777d1b34552443b5e090a859 (diff)
Display message when trying out SIMD tests
This clarifies the weird pause when configuring, right after the HAVE_reduce_relocations test. Change-Id: I0edcbbd085286c20c4eaea8d8e15a509ec93d85f Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtFeature.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/QtFeature.cmake b/cmake/QtFeature.cmake
index 8d7006a4de..edf2a95c65 100644
--- a/cmake/QtFeature.cmake
+++ b/cmake/QtFeature.cmake
@@ -504,6 +504,13 @@ function(qt_config_compile_test_x86simd extension label)
"${CMAKE_CURRENT_SOURCE_DIR}/config.tests/x86_simd"
x86_simd
CMAKE_FLAGS "-DSIMD:string=${extension}")
+
+ if(${TEST_X86SIMD_${extension}})
+ set(status_label "Success")
+ else()
+ set(status_label "Failed")
+ endif()
+ message(STATUS "Performing SIMD Test ${label} - ${status_label}")
set(TEST_subarch_${extension} "${TEST_X86SIMD_${extension}}" CACHE INTERNAL "${label}")
endfunction()