search for: checkatomic

Displaying 8 results from an estimated 8 matches for "checkatomic".

2012 Feb 28
0
[LLVMdev] [patch] atomic functions on darwin
...his and also modifies the cmake and autoconf tests to 'pass' LLVM_HAS_ATOMICS. I'm able to build LLVMSupport.dylib with this patch. Please review, revise, criticize? Fang -- David Fang http://www.csl.cornell.edu/~fang/ -------------- next part -------------- Index: cmake/modules/CheckAtomic.cmake =================================================================== --- cmake/modules/CheckAtomic.cmake (revision 151623) +++ cmake/modules/CheckAtomic.cmake (working copy) @@ -6,6 +6,9 @@ #ifdef _MSC_VER #include <windows.h> #endif +#ifdef __APPLE__ +#include <libkern/OSAtomic.h&...
2016 Jan 25
3
Building LLVM 3.7.1 on OS X
...S=OFF -DLLVM_INCLUDE_EXAMPLES=OFF .. -- The C compiler identification is AppleClang 4.1.0.4211166 -- The CXX compiler identification is AppleClang 4.1.0.4211166 [...] -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:291 (include) CMakeLists.txt:360 (include) How is libatomic supposed to be installed on OS X? (perhaps it's somewhat of a newbie question - I...
2016 Feb 25
2
[llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
Hi, when I switch to an unsupported GCC like v4.6.4 to build LLVM v3.8-rc3 with cmake I get the following: ... -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:296 (include) CMakeLists.txt:407 (include) -- Configuring incomplete, errors occurred! See also "/home/wearefam/src/llvm-toolchain/llvm-build/C...
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...;$C_AND_CXX_COMMON_FLAGS" \ -DCMAKE_CXX_FLAGS="$C_AND_CXX_COMMON_FLAGS" \ ../llvm Firstly, I encounter the known problem with __atomic_load_8. arm-cortex-m{3,4} most probably doesn't support 64bit atomic read/write, but as long as I don't use it, changing the line in CheckAtomic.cmake: message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.") to: message(WARNING "Host compiler appears to require libatomic, but cannot find it.") could push the things further. But then I encounter that error: -- Targeting...
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
...TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf/ -I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -ccc-gcc-name arm-linux-gnueabihf-gcc' *Error message:* CMake Error at cmake/modules/CheckAtomic.cmake:33 (message): Host compiler must support std::atomic! Call Stack (most recent call first): cmake/config-ix.cmake:296 (include) CMakeLists.txt:407 (include) -- Configuring incomplete, errors occurred! See also "/home/iiita/crossbuild/build/CMakeFiles/CMakeOutput.log". See als...
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...-DCMAKE_CXX_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-g++ \ -DCMAKE_ASM_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-as \ ../llvm ... -- Looking for __atomic_load_8 in atomic -- Looking for __atomic_load_8 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:74 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:350 (include) CMakeLists.txt:585 (include) arm-none-eabi toolchain doesn't contain libatomic, but I need to build compiler_rt using this tool to...
2018 Aug 03
10
[7.0.0 Release] rc1 has been tagged
Dear testers, 7.0.0-rc1 was just tagged (from the branch at r338847). It's early in the release process, but I'd like to find out what the status is of the branch on our various platforms. Please run the test script, share the results, and upload binaries. Thanks, Hans
2018 Aug 06
4
[Release-testers] [7.0.0 Release] rc1 has been tagged
..._WITHOUT_LIB - Success > -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB > -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed > -- Looking for __atomic_load_8 in atomic > -- Looking for __atomic_load_8 in atomic - not found > CMake Error at cmake/modules/CheckAtomic.cmake:75 (message): > Host compiler appears to require libatomic, but cannot find it. > > Interestingly, Phase1 does *not* suffer from this, but there the "host compiler" is clang 6.0.0. > > Phase1 CMake output: > > Performing C++ SOURCE FILE Test HAVE_CXX_A...