[PATCH] D21599: [Libcxx][MIPS] Use LLVM CheckAtomic.cmake module to figure out whether we need to link with libatomic.

Nitesh Jain via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 03:28:04 PDT 2016

nitesh.jain added a comment.

In http://reviews.llvm.org/D21599#481553, @dsanders wrote:

> What sets HAVE_CXX_LIBATOMICS64? I don't see a reference to LLVM's CheckAtomic.

The CheckAtomic.cmake module (http://reviews.llvm.org/D20896) in llvm will set  HAVE_CXX_LIBATOMICS64 if library exit and atomics work with it. This value then can be read from LLVM CMake cache.

F2156495: CMakeCache.txt <http://reviews.llvm.org/F2156495>



More information about the cfe-commits mailing list