You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 28, 2020. It is now read-only.
message(WARNING"Host ${NICE_NAME} version must be at least ${WARN_VERSION} due to miscompiles from earlier versions, your version is ${CMAKE_CXX_COMPILER_VERSION}.")
message(WARNING"Host ${NICE_NAME} version should be at least ${SOFT_ERROR_VERSION} because LLVM will soon use new C++ features which your toolchain version doesn't support. Your version is ${CMAKE_CXX_COMPILER_VERSION}. Ignoring because you've set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
39
+
else()
40
+
message(FATAL_ERROR"Host ${NICE_NAME} version should be at least ${SOFT_ERROR_VERSION} because LLVM will soon use new C++ features which your toolchain version doesn't support. Your version is ${CMAKE_CXX_COMPILER_VERSION}. You can temporarily opt out using LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
message(FATAL_ERROR"Host Clang must be able to find libstdc++4.8 or newer!")
62
+
#include <iosfwd>
63
+
#if defined(__GLIBCXX__)
64
+
#if __GLIBCXX__ < ${GCC_MIN_DATE}
65
+
#error Unsupported libstdc++ version
66
+
#endif
67
+
#endif
68
+
int main() { return 0; }
69
+
"
70
+
LLVM_LIBSTDCXX_MIN)
71
+
if(NOTLLVM_LIBSTDCXX_MIN)
72
+
message(FATAL_ERROR"libstdc++ version must be at least ${GCC_MIN}.")
73
+
endif()
74
+
check_cxx_source_compiles("
75
+
#include <iosfwd>
76
+
#if defined(__GLIBCXX__)
77
+
#if __GLIBCXX__ < ${GCC_SOFT_ERROR_DATE}
78
+
#error Unsupported libstdc++ version
79
+
#endif
80
+
#endif
81
+
int main() { return 0; }
82
+
"
83
+
LLVM_LIBSTDCXX_SOFT_ERROR)
84
+
if(NOTLLVM_LIBSTDCXX_SOFT_ERROR)
85
+
if(LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN)
86
+
message(WARNING"libstdc++ version should be at least ${GCC_SOFT_ERROR} because LLVM will soon use new C++ features which your toolchain version doesn't support. Ignoring because you've set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
87
+
else()
88
+
message(FATAL_ERROR"libstdc++ version should be at least ${GCC_SOFT_ERROR} because LLVM will soon use new C++ features which your toolchain version doesn't support. You can temporarily opt out using LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN, but very soon your toolchain won't be supported.")
0 commit comments