Displaying 2 results from an estimated 2 matches for "dcmake_link_executable".
2018 May 06
2
Cannot compile LLVM suite with clang+lld
...site.
I'm running Arch Linux and already have LLVM, clang, lld and libcxx
installed (prebuilt against libstdc++). Now I want a "pure"
llvm toolchain.
The following options were used:
-DBOOTSTRAP_LLVM_ENABLE_LLD
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_LINKER=lld
-DCMAKE_LINK_EXECUTABLE="/usr/bin/ld.lld"
-DCMAKE_AR="/usr/bin/llvm-ar"
-DCMAKE_AS="/usr/bin/llvm-as"
-DCLANG_DEFAULT_LINKER=lld
-DCLANG_DEFAULT_RTLIB=compiler-rt
-DCLANG_ENABLE_BOOTSTRAP=ON
-DLIBCXX_USE_COMPILER_RT=ON
-DLIBCXXABI_USE_COMPILER_RT=ON
-DLLVM_ENABLE_LLD=ON
-DLLVM_ENABLE_LIBCXX=O...
2018 May 06
0
Cannot compile LLVM suite with clang+lld
...have LLVM, clang, lld and libcxx
> installed (prebuilt against libstdc++). Now I want a "pure"
> llvm toolchain.
>
> The following options were used:
> -DBOOTSTRAP_LLVM_ENABLE_LLD
> -DCMAKE_C_COMPILER=clang
> -DCMAKE_CXX_COMPILER=clang++
> -DCMAKE_LINKER=lld
> -DCMAKE_LINK_EXECUTABLE="/usr/bin/ld.lld"
> -DCMAKE_AR="/usr/bin/llvm-ar"
> -DCMAKE_AS="/usr/bin/llvm-as"
> -DCLANG_DEFAULT_LINKER=lld
> -DCLANG_DEFAULT_RTLIB=compiler-rt
> -DCLANG_ENABLE_BOOTSTRAP=ON
> -DLIBCXX_USE_COMPILER_RT=ON
> -DLIBCXXABI_USE_COMPILER_RT=ON
> -DL...