<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
Hi, all</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
GCC has configuration options '--with-arch=cpu' and '--with-tune=cpu' [1] that provide default values for '-march' and '-mtune' respectively.</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
Is there an equivalent option that could be passed to cmake to configure Clang.</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
We need this to build a x86_64-v3 Clang version.</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
M. Chinoune</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
[1] https://gcc.gnu.org/install/configure.html</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" dir="auto">
<br>
</div>
</body>
</html>