Displaying 4 results from an estimated 4 matches for "dcompiler_rt_default_target_arch".
2016 May 03
2
Problem on cross-compiling compiler-rt
This is currently a rough area in our build system, but there are two CMake options you probably need to set.
(1) -DLLVM_BUILD_EXTERNAL_COMPILER_RT=On —> This option causes the build to use the just-built clang when building compiler-rt
(2) -DCOMPILER_RT_DEFAULT_TARGET_ARCH=??? —> This is where you specify which architecture you want to build the compiler-rt archives and libraries for
Hopefully in the near future we’ll have a better story for building this functionality.
Hope this helps,
-Chris
> On May 3, 2016, at 12:09 AM, 李阳 via llvm-dev <llvm-dev at l...
2016 Aug 26
2
[Progress Update] LLVM Runtimes Subdirectory
> On Aug 26, 2016, at 3:22 PM, Renato Golin <renato.golin at linaro.org> wrote:
>
> On 26 August 2016 at 22:45, Chris Bieneman via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Recently, I’ve made a handful of new changes that actually make it useful, and I wanted to blast out this update and encourage people to give it a try.
>
> Woot! Compiling RT as we
2016 May 05
2
Problem on cross-compiling compiler-rt
...cn> wrote:
>
> I finally solved my problem. Chris's suggestion helps much, but there are still a few problems to build cross platform compiler-rt.
> -DLLVM_BUILD_EXTERNAL_COMPILER_RT=On -> This is valid and required to force compiler-rt to be built by the just-built clang.
> -DCOMPILER_RT_DEFAULT_TARGET_ARCH= -> This does not work, but -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE works.
> While using there two additional options, I still got errors. The build system successfully configured and built clang/LLVM but failed to configure compiler-rt due to the clang checking in compiler-rt's Cmake system....
2016 May 03
2
Problem on cross-compiling compiler-rt
Hi.
I'm trying to use Clang/LLVM as a cross-compiling toolchain. In previous version of LLVM with the old configure/Makefile building system, I'm able to build Clang/LLVM for target architecture with the host GCC firstly and then use the generated cross compiler to compile the compiler-rt project, and, consequently, I can get a cross compiler as well as the compiler-rt library. However,