From 98cb70e8d351ef89674aa4f43318655921706e7e Mon Sep 17 00:00:00 2001 From: conrad Date: Thu, 25 Feb 2021 21:31:28 +1000 Subject: [PATCH] note on thread_local --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab7dbede..a7eba14a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,6 +99,9 @@ endif() # NOTE: for Linux, this is available with gcc 4.8.3 onwards # NOTE: for macOS, thread_local is supoported in Xcode 8 (mid 2016 onwards) in C++11 mode +# NOTE: thread_local appears broken again on macOS 11 (Big Sur) and/or AppleClang 12.0 +# NOTE: see comments in include/armadillo_bits/arma_rng.hpp + if(DEFINED CMAKE_CXX_COMPILER_ID AND DEFINED CMAKE_CXX_COMPILER_VERSION) if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(NOT (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 4.8.3))