[cfe-dev] Clang default target microarchitecture?

mehdi chinoune via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 28 22:44:16 PDT 2021


Hi, all

GCC has configuration options '--with-arch=cpu' and '--with-tune=cpu' [1] that provide default values for '-march' and '-mtune' respectively.

Is there an equivalent option that could be passed to cmake to configure Clang.

We need this to build a x86_64-v3 Clang version.

M. Chinoune

[1] https://gcc.gnu.org/install/configure.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210929/02e4af3f/attachment-0001.html>


More information about the cfe-dev mailing list