llvm-project/llvm/cmake/modules
Kai Luo 9635168083 [AIX][cmake] Set atomics related macros when build with xlclang
Set `HAVE_CXX_ATOMICS_WITHOUT_LIB` or `HAVE_LIBATOMIC` when build LLVM with xlclang. With these macros set, libraries like libLLVMSupport are able to know whether it's necessary to add `-latomic` to dependent system libs. If `HAVE_LIBATOMIC` is set, `llvm-config --system-libs` appends `-latomic` to its output.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D111782
2021-10-18 09:18:05 +00:00
..
AddLLVM.cmake [CMake] Add detection for the mold linker in AddLLVM.cmake. 2021-09-28 17:46:52 +05:30
AddLLVMDefinitions.cmake
AddOCaml.cmake Add .cmt and .cmti files for OCaml bindings 2021-10-05 19:36:12 +05:30
AddSphinxTarget.cmake Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
CMakeLists.txt [cmake] Add support for multiple distributions 2021-05-12 11:13:18 -07:00
CheckAtomic.cmake [AIX][cmake] Set atomics related macros when build with xlclang 2021-10-18 09:18:05 +00:00
CheckCompilerVersion.cmake Bump MSVC required version to 19.14 2020-12-03 10:09:18 -08:00
ChooseMSVCCRT.cmake
CoverageReport.cmake [CMake] Add targets for generating coverage reports 2021-09-03 10:45:55 -05:00
CrossCompile.cmake [llvm] Remove LLVM_CHECK_ENABLED_PROJECTS again 2021-09-24 18:49:55 -04:00
DetermineGCCCompatible.cmake
FindGRPC.cmake [CMake][gRPC] Fix a typo in protobuf version variable name 2021-03-26 19:33:06 +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 Fix FindZ3.cmake to support static libraries and Windows 2021-07-29 10:55:44 +02:00
GenerateVersionFromVCS.cmake
GetErrcMessages.cmake [CMAKE] Fix cross-compilation build 2021-03-23 13:24:08 +03:00
GetHostTriple.cmake [CMake] Make the vendor part of default mingw triples consistent 2021-08-12 13:27:09 +03:00
GetLibraryName.cmake [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
HandleLLVMOptions.cmake [CMake] Remove the LLD LTO check for Darwin 2021-09-30 14:00:31 -07:00
HandleLLVMStdlib.cmake [CMake][llvm] avoid conflict w/ (and use when available) new builtin check_linker_flag 2021-04-27 16:41:28 -07:00
LLVM-Build.cmake [llvmbuildectomy] Also include component groups in llvm-config --components list 2020-11-26 21:05:56 +01:00
LLVM-Config.cmake [MCA] Moving the target specific CustomBehaviour impl. from /tools/llvm-mca/ to /lib/Target/. 2021-07-28 11:23:18 -07:00
LLVMCheckLinkerFlag.cmake [CMake][llvm] add missing include to LLVMCheckLinkerFlag 2021-04-27 18:48:52 -07:00
LLVMConfig.cmake.in [llvm] [cmake] Export LLVM_ENABLE_NEW_PASS_MANAGER into LLVMConfig.cmake 2021-08-06 20:39:38 +02:00
LLVMConfigVersion.cmake.in Revert "[CMake] Use write_basic_package_version_file for LLVM" 2021-03-29 13:07:39 -07:00
LLVMDistributionSupport.cmake [CMake] Don't LTO optimize targets that aren't part of any distribution 2021-05-19 15:02:11 -07:00
LLVMExternalProjectUtils.cmake [CMake] Pass through CMAKE_READELF to subbuilds 2021-09-24 18:20:30 -07:00
LLVMInstallSymlink.cmake [CMake] try creating symlink first on windows 2021-04-07 11:23:10 +02:00
LLVMProcessSources.cmake
TableGen.cmake [CMake][MLIR][Linalg] Adding variable to specify tablegen file dependencies. 2021-07-01 18:54:30 +00:00
TensorFlowCompile.cmake Fail gracefully if no inlining model is available to download. 2021-07-01 04:04:11 +00:00
UseLibtool.cmake
VersionFromVCS.cmake Make ninja smart console builds more pretty 2020-06-22 06:35:13 -04:00