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

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 03:16:36 PST 2017


rengolin added inline comments.


================
Comment at: cmake/base-config-ix.cmake:169
       test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=64")
+    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "armv6m")
+      test_target_arch(armv6m "" "-march=armv6m" "-mfloat-abi=soft")
----------------
Why not just add a `test_target_arch` inside the `MATCHES "arm"` below?


https://reviews.llvm.org/D28463





More information about the llvm-commits mailing list