summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/CheckAtomic.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Repair cmake libatomic check.James Y Knight2015-06-161-6/+36
| | | | | | | | | | | | | | The cmake check for whether libatomic could be used had been unconditionally setting the result to false. Which was somewhat fortunate, because the prerequisite check for whether it was *needed* was always claiming it was, even if it was not. However, this made platforms where libatomic is actually necessary fail to link. Differential Revision: http://reviews.llvm.org/D10453 llvm-svn: 239819
* cmake: Use MSVC atomics with clang-clReid Kleckner2015-03-021-0/+1
| | | | llvm-svn: 231022
* build: check if atomic routines are implicitly providedSaleem Abdulrasool2015-02-251-3/+7
| | | | | | | | | | It is possible for the atomic routines to be provided by the compiler without requiring any additional libraries. Check if that is the case before checking for a library. Patch by Matt Glazar! llvm-svn: 230452
* Add CMake check for libatomic.Evgeniy Stepanov2014-09-121-0/+5
| | | | llvm-svn: 217666
* Rename LLVM_MULTITHREADED define and fix build without threads.Eric Christopher2011-09-191-2/+2
| | | | | | Patch by Arrowdodger. llvm-svn: 140064
* CheckAtomic.cmake: Put all C++ code inside CHECK_CXX_SOURCE_COMPILES.Oscar Fuentes2009-12-061-2/+1
| | | | llvm-svn: 90685
* Fix for atomic intrinsics detection when using MSVC.Oscar Fuentes2009-12-051-0/+12
| | | | | | Patch by Michael Beck! llvm-svn: 90683
* Implement cmake LLVM_MULTITHREADED gcc atomic builtin checks.Xerxes Ranby2009-07-171-0/+18
llvm-svn: 76221
OpenPOWER on IntegriCloud