[PATCH] D39600: [docs][ARM] Add HowTo for cross compiling and testing compiler-rt builtins on Arm

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 03:07:33 PST 2017


peter.smith added a comment.

Thanks very much for taking a look.



================
Comment at: docs/HowToCrossCompileBuiltinsOnArm.rst:53
+* ``-DCOMPILER_RT_BUILD_LIBFUZZER=OFF``
+* ``-DCOMPILER_RT_BUILD_PROFILE=OFF``
+* ``-DCMAKE_C_COMPILER=/path/to/clang``
----------------
efriedma wrote:
> Not sure why you're turning all this stuff off?  These libraries are generally useful for Linux targets.
I didn't want to stray to far from the builtins for this howto to keep it simple and within my experience. 

>From what I can tell I the support for cross-compilation and testing isn't as mature for the builtins, for example I can cross-build the profile library but the tests don't build for me and I haven't dug into why yet. I've not been able to get libfuzzer to cross build at all yet. I think that this information could be added later.  


https://reviews.llvm.org/D39600





More information about the llvm-commits mailing list