[PATCH] D28463: [Builtin] [ARM] Update CMake to support the build of armv6m

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 10:08:47 PST 2017


weimingz added inline comments.


================
Comment at: cmake/base-config-ix.cmake:175
         test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard")
+        test_target_arch(armv6m "" "-march=armv6m" "-mfloat-abi=soft")
       endif()
----------------
weimingz wrote:
> compnerd wrote:
> > How are you planning on dealing with `arm` and `armv6m` builds stomping each other?  IIRC, the output file name is the same for both builds.
> They have different build directories:
>  ls lib/builtins/CMakeFiles                                                                                                         \
>         clang_rt.builtins-arm.dir  clang_rt.builtins-armv6m.dir
> and separate output files:
>  ls lib/linux/libclang_rt.builtins-arm*.a                                                                                           
>         lib/linux/libclang_rt.builtins-arm.a  lib/linux/libclang_rt.builtins-armv6m.a
> 
Hi Saleem, does it answer your question?


https://reviews.llvm.org/D28463





More information about the llvm-commits mailing list