Skip to content

Commit 8a20d91

Browse files
committed
Log detected COMPILER_VERSION in error message
Change-Id: I32b70efa91769e1397b53c490361b8d399ff8f29
1 parent acf3f69 commit 8a20d91

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp/cmake_modules/san-config.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ if ("${ARROW_USE_UBSAN}" OR "${ARROW_USE_ASAN}" OR "${ARROW_USE_TSAN}")
9494
# Require clang 3.4 or newer; clang 3.3 has issues with TSAN and pthread
9595
# symbol interception.
9696
if("${COMPILER_VERSION}" VERSION_LESS "3.4")
97-
message(SEND_ERROR "Must use clang 3.4 or newer to run a sanitizer build."
98-
" Try using clang from $NATIVE_TOOLCHAIN/")
97+
message(SEND_ERROR "Must use clang 3.4 or newer to run a sanitizer build."
98+
" Detected unsupported version ${COMPILER_VERSION}."
99+
" Try using clang from $NATIVE_TOOLCHAIN/.")
99100
endif()
100101
add_definitions("-fsanitize-blacklist=${BUILD_SUPPORT_DIR}/sanitize-blacklist.txt")
101102
else()

0 commit comments

Comments
 (0)