1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/cmake/modules
Nicolai Hähnle b3943e6777 Build fix: Turn off _GLIBCXX_DEBUG based on a compile check
Summary:
Enabling _GLIBCXX_DEBUG (implied by LLVM_ENABLE_EXPENSIVE_CHECKS) causes
std::min_element (and presumably others) to no longer be constexpr, which
in turn causes the build to fail.

This seems like a bug in the GCC STL. This change works around it.

Change-Id: I5fc471caa9c4de3ef4e87aeeac8df1b960e8e72c

Reviewers: tstellar, hans, serge-sans-paille

Differential Revision: https://reviews.llvm.org/D75199
2020-03-02 16:16:26 +01:00
..
AddLLVM.cmake [CMake] Use PUBLIC link mode for static libraries 2020-02-29 11:05:59 -08:00
AddLLVMDefinitions.cmake
AddOCaml.cmake [llvm] [ocaml] Support linking against dylib 2019-10-11 14:32:43 +00:00
AddSphinxTarget.cmake [llvm] [cmake] Add install targets for missing distribution components 2019-10-02 16:06:50 +00:00
CheckAtomic.cmake [CMake] CheckAtomic.cmake: catch false positives in RISC-V 2020-02-17 18:53:41 +00:00
CheckCompilerVersion.cmake MSVC Buggy version detection: turn pre-processor error into CMake configuration time check 2020-01-31 00:11:55 +00:00
CheckLinkerFlag.cmake
ChooseMSVCCRT.cmake Revert r361826, as it still breaks LLDB. 2019-05-28 15:04:39 +00:00
CMakeLists.txt Fix compiler extension in standalone mode 2020-02-20 07:19:04 +01:00
CrossCompile.cmake [cmake] Pass external project source directories to sub-configures 2019-10-17 19:24:58 +00:00
DetermineGCCCompatible.cmake
FindLibpfm.cmake
FindOCaml.cmake
FindSphinx.cmake
FindZ3.cmake Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
GenerateVersionFromVCS.cmake [llvm] [cmake] Use current directory in GenerateVersionFromVCS 2019-02-11 09:07:07 +00:00
GetHostTriple.cmake [AIX] Improve 32/64-bit build configuration 2020-02-20 15:41:00 -05:00
HandleLLVMOptions.cmake Build fix: Turn off _GLIBCXX_DEBUG based on a compile check 2020-03-02 16:16:26 +01:00
HandleLLVMStdlib.cmake Add support in CMake to statically link the C++ standard library. 2019-08-14 19:55:59 +00:00
LLVM-Config.cmake Remove AllTargetsAsmPrinters 2020-01-17 19:04:06 -05:00
LLVMConfig.cmake.in Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
LLVMConfigVersion.cmake.in
LLVMDistributionSupport.cmake build: extract LLVM distribution target handling 2019-06-14 18:28:57 +00:00
LLVMExternalProjectUtils.cmake [CMake] Use LLVM tools external project build where possible 2020-02-07 13:43:30 -08:00
LLVMInstallSymlink.cmake [cmake] install_symlink should obey DESTDIR unconditionally 2019-08-15 15:36:13 +00:00
LLVMProcessSources.cmake [llvm] [cmake] Add additional headers only if they exist 2019-04-04 14:21:38 +00:00
TableGen.cmake [tablegen] Emit string literals instead of char arrays 2020-01-27 18:22:25 +00:00
UseLibtool.cmake [CMake] Use libtool for runtimes when building for Apple platform 2019-06-02 02:05:01 +00:00
VersionFromVCS.cmake [cmake] Remove SVN support from VersionFromVCS.cmake 2019-11-08 09:59:42 -08:00