[all-commits] [llvm/llvm-project] 912bba: [libcxx][CI] Set Arm triples to match native clang...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Feb 22 01:39:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 912bba5ae25aea1da32ee022a51f063477e5e0f0
      https://github.com/llvm/llvm-project/commit/912bba5ae25aea1da32ee022a51f063477e5e0f0
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M libcxx/cmake/caches/Armv7Arm.cmake
    M libcxx/cmake/caches/Armv7Thumb-noexceptions.cmake
    M libcxx/cmake/caches/Armv8Arm.cmake
    M libcxx/cmake/caches/Armv8Thumb-noexceptions.cmake
    M libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp

  Log Message:
  -----------
  [libcxx][CI] Set Arm triples to match native clang build's default

We were using:
armv8-linux-gnueabihf
But for a native clang build the default target is:
armv8l-linux-gnueabihf

(ditto for v7)

Add the "l" to the target triples and update the one test
that is unsupported to look for the various possible names.

armv(7 or 8)(m or l, optionally)

The UNSUPPORTED does not include aarch64 because aarch64 Linux
(and others that follow Arm's AAPCS64) use quad precision for
long double where arm64 (darwin) does not:
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#811arithmetic-types

Reviewed By: rovka

Differential Revision: https://reviews.llvm.org/D119948




More information about the All-commits mailing list