These values allow, for example, --target=aarch64 and
--target=aarch64-linux-gnu to detect aarch64-linux-android. This is
confusing. Users should specify --target=aarch64-linux-android to get Android GCC
installation.
Reverts D53463.
Paths
| Differential D110379
[Driver] Remove confusing *-linux-android detection with non-android --target= ClosedPublic Authored by MaskRay on Sep 23 2021, 8:37 PM.
Details Summary These values allow, for example, --target=aarch64 and Reverts D53463.
Diff Detail
Unit TestsFailed Event TimelineComment Actions You may need to check whether the Android clang has correct clang -dumpmachine. If not, specify LLVM_HOST_TRIPLE explicitly in CMake. Comment Actions @nickdesaulniers I presume this is still necessary? See https://reviews.llvm.org/D53463 for why we added this. (The Android kernel build does not use the Android triple.) Comment Actions Sorry, I missed the email for this code review, let me check my filters aren't too agressive.
That's no longer the case, so we might as well just wholesale revert D53463 IMO. MaskRay added a reverted change: D53463: [Driver] allow Android triples to alias for non Android targets. Comment Actionsrevert D53463 This revision is now accepted and ready to land.Sep 27 2021, 1:14 PM This revision was landed with ongoing or failed builds.Sep 27 2021, 1:28 PM Closed by commit rG75f0194d3d25: [Driver] Remove confusing *-linux-android detection with non-android --target= (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375383 clang/lib/Driver/ToolChains/Gnu.cpp
clang/test/Driver/android-gcc-toolchain.c
|