Displaying 2 results from an estimated 2 matches for "cmake_cxx_compiler_works".
Did you mean:
dcmake_cxx_compiler_works
2015 Nov 02
2
[RFC] Strategies for Bootstrapping Compiler-RT builtins
> On Nov 2, 2015, at 10:10 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>
>> Today building this toolchain with CMake is impossible because you cannot configure the cross-compiled builtins. The failure is a result of CMake’s try_compile function always testing a full compile then link operation. When bootstrapping a cross-compiler this will always fail because
2014 Apr 03
2
[LLVMdev] r204593 breaks Asan tests on FreeBSD
...s-2.24.tar.gz
./configure --prefix=/usr --enable-language=c,c++
gmake
sudo gmake install
# these are necessary to pass LLVM :: BugPoint/compile-custom.ll
sudo pkg install gcc
sudo pkg install python
CC=clang CXX=clang++ cmake \
-DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" \
-DCMAKE_CXX_COMPILER_WORKS=1 \
-DCMAKE_EXE_LINKER_FLAGS="-lcxxrt" \
-DLLVM_CONFIG_TEST_LIBRARIES="cxxrt" \
../llvm
---
Thanks!
--