commit | 8955fd424156d669c1151d175f1f7cb1e1c305e9 | [log] [tgz] |
---|---|---|
author | YunQiang Su <wzssyqa@gmail.com> | Tue Oct 18 04:49:25 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 17 21:50:41 2022 -0700 |
tree | 4e043bdc6d6a1b5f4ca024e73efb1119c17c5e52 | |
parent | fc0595ec63b94067dcfaf75705449f4e0bedfaf2 [diff] |
[CMake] Fix MIPSr6 build for compiler-rt The current version pass -mips64r2 or -mips32r2 options, which make it failed to build on r6 platform. In this patch: we detect whether we are MIPSr6 by _MIPS_ARCH_MIPS32R6/_MIPS_ARCH_MIPS64R6 The out and install path is set to the default triple instead of hardcoded one, since the clang ask for it. Differential Revision: https://reviews.llvm.org/D135735 GitOrigin-RevId: 9221aa6d649f0f3c9027525260cec1f06e33bb85