[llvm-dev] llvm-toolchain-3.8 on lower arm targets, specifically Debian armel and Raspbian.

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue May 17 20:50:02 PDT 2016

On 17 May 2016 at 15:15, peter green via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Can you tell me how I would go about telling the cmake buildsystem (which is
> what the Debian packaging currently seems to use) that I want it to build
> without compiler-rt?

If you don't need/want the various Sanitizer runtimes (e.g. you don't
support sanitizers or already have versions provided with GCC) then
it's as easy as not downloading compiler-rt or removing it from the
projects/ directory before running CMake. The build should carry on
quite happily without it.

If you do need the sanitizers from compiler-rt, you can disable the
bits that are causing problems right now with "cmake
-DCOMPILER_RT_BUILD_BUILTINS=OFF <other options>". Of course, the
sanitizers themselves may suffer from similar issues -- you just won't
know until you get there.



More information about the llvm-dev mailing list