Displaying 2 results from an estimated 2 matches for "compiler_rt_src_root".
2014 Feb 21
4
[LLVMdev] compiler-rt CMake build
...e it doesn't
really work as expected.
I add the following code to the tools/clang/runtime/CMakeLists.txt to
configure compiler-rt as external project:
ExternalProject_Add(compiler-rt
#DEPENDS clang clang++ llvm-config
PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt
SOURCE_DIR ${COMPILER_RT_SRC_ROOT}
CMAKE_ARGS -DCMAKE_C_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang
-DCMAKE_CXX_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang++
-DCMAKE_BUILD_TYPE=Release
-DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config
-DCOMPILER_RT_OUTPUT_DIR=${LL...
2014 Feb 06
3
[LLVMdev] compiler-rt CMake build
On Thu, Feb 6, 2014 at 7:57 PM, Jean-Daniel Dupas <devlists at shadowlab.org>wrote:
>
> Le 6 févr. 2014 à 16:20, Brad King <brad.king at kitware.com> a écrit :
>
> > On 02/06/2014 08:12 AM, Alexey Samsonov wrote:
> >> Please note that it makes a lot of sense to built compiler-rt (and
> sanitizers) with just-built
> >> Clang. In fact, even though we