commit | 1f2b8bf21925e206b26cfd0be6ad1d7b4079139e | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Thu Jan 21 21:21:48 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 05 01:24:19 2021 -0800 |
tree | 1b90895863422235c92d81258e3479a70cca45d6 | |
parent | 191b8525262586c41dd34f52270bedce730204b3 [diff] |
[CMake][libc] Don't do CPU feature detection when cross-compiling We won't be able to run the compiled program since it will be compiled for different system. We instead allow passing the CPU features via CMake option in that case. Differential Revision: https://reviews.llvm.org/D95203 GitOrigin-RevId: c4819eec1a2aea4758cc1ed38aefb0f1c9dec94a