summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-07-30 22:08:38 +0000
committerJF Bastien <jfbastien@apple.com>2019-07-30 22:08:38 +0000
commitd56dc1d926b9ee2317f3766d21700bdc77dd84f6 (patch)
treea88c538508bda58135637cba982a670e9ab1741e /llvm/cmake/modules
parent072317311473fee34948c51b41a4be55affbca4b (diff)
downloadbcm5719-llvm-d56dc1d926b9ee2317f3766d21700bdc77dd84f6.tar.gz
bcm5719-llvm-d56dc1d926b9ee2317f3766d21700bdc77dd84f6.zip
[NFC] Improve cmake diagnostic when checking atomics
llvm-svn: 367359
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/CheckAtomic.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/cmake/modules/CheckAtomic.cmake b/llvm/cmake/modules/CheckAtomic.cmake
index 9a4cdf12a62..29f3bdd57f0 100644
--- a/llvm/cmake/modules/CheckAtomic.cmake
+++ b/llvm/cmake/modules/CheckAtomic.cmake
@@ -69,10 +69,10 @@ if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
- message(FATAL_ERROR "Host compiler must support std::atomic!")
+ message(FATAL_ERROR "Host compiler must support 64-bit std::atomic!")
endif()
else()
- message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.")
+ message(FATAL_ERROR "Host compiler appears to require libatomic for 64-bit operations, but cannot find it.")
endif()
endif()
OpenPOWER on IntegriCloud