llvm-project/llvm/cmake/modules
Alex Denisov d0c8d58527 Fix CMake configuration error when run with -Werror/-Wall
The following code doesn't compile

  uint64_t i = x.load(std::memory_order_relaxed);
  return 0;

when CMAKE_C_FLAGS set to -Werror -Wall, thus incorrectly
breaking the CMake configuration step:

  -- Looking for __atomic_load_8 in atomic
  -- Looking for __atomic_load_8 in atomic - not found
  CMake Error at cmake/modules/CheckAtomic.cmake:79 (message):
    Host compiler appears to require libatomic for 64-bit operations, but
    cannot find it.
  Call Stack (most recent call first):
    cmake/config-ix.cmake:360 (include)
    CMakeLists.txt:671 (include)
2020-10-10 21:22:40 +02:00
..
AddLLVM.cmake [cmake] Fix cmake warning in standalone compiler-rt builds. 2020-10-08 09:49:14 +01:00
AddLLVMDefinitions.cmake
AddOCaml.cmake [llvm] [ocaml] Support linking against dylib 2019-10-11 14:32:43 +00:00
AddSphinxTarget.cmake [llvm] [docs] Do not require recommonmark for manpage build 2020-07-07 20:59:02 +02:00
CMakeLists.txt Fix missing build dependencies on omp_gen 2020-07-02 07:55:20 -06:00
CheckAtomic.cmake Fix CMake configuration error when run with -Werror/-Wall 2020-10-10 21:22:40 +02: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
CrossCompile.cmake [CMake] Fix cross-compiling with LLVM as CMake subproject 2020-04-30 16:54:20 +02:00
DetermineGCCCompatible.cmake
FindGRPC.cmake [clangd] Fix Windows build when remote index is enabled. 2020-08-17 16:55:01 +03:00
FindLibpfm.cmake [llvm-exegesis] Check perf_branch_entry for field cycles 2020-07-27 11:31:13 -04:00
FindOCaml.cmake
FindSphinx.cmake
FindZ3.cmake [NFC] Fix Z3 version detection regexp 2020-04-09 13:06:22 +02:00
GenerateVersionFromVCS.cmake
GetHostTriple.cmake [SystemZ/ZOS] Additions to the build system. 2020-08-26 06:53:44 -04:00
GetLibraryName.cmake [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
HandleLLVMOptions.cmake [cmake] Centralize LLVM_ENABLE_WARNINGS option 2020-09-21 10:23:17 -07: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 Revert "[CMake] Use find_dependency in LLVMConfig.cmake" 2020-09-22 00:24:15 -07:00
LLVMConfigVersion.cmake.in
LLVMDistributionSupport.cmake build: extract LLVM distribution target handling 2019-06-14 18:28:57 +00:00
LLVMExternalProjectUtils.cmake [CMake][AIX] Limit tools in external project build 2020-09-28 16:59:25 -04:00
LLVMInstallSymlink.cmake [cmake] install_symlink should obey DESTDIR unconditionally 2019-08-15 15:36:13 +00:00
LLVMProcessSources.cmake [clangd] Fix remote index build without shared libs mode 2020-04-28 19:16:37 +02:00
TableGen.cmake [CMake][TableGen] Remove dead CMake version checks 2020-09-07 10:59:07 +03:00
TensorFlowCompile.cmake [llvm] Release-mode ML InlineAdvisor 2020-06-24 08:18:42 -07:00
UseLibtool.cmake
VersionFromVCS.cmake Make ninja smart console builds more pretty 2020-06-22 06:35:13 -04:00