<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-12-08 11:17 GMT+01:00 Christian Kandeler <span dir="ltr"><<a href="mailto:christian.kandeler@qt.io" target="_blank">christian.kandeler@qt.io</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>I believe qbs is being overly strict here. There seem to be legitimate<br>
use cases for -march not covered by dedicated properties. See also<br>
<a href="https://bugreports.qt.io/browse/QBS-1018" rel="noreferrer" target="_blank">https://bugreports.qt.io/<wbr>browse/QBS-1018</a>.<br>
<span class=""><br></span></blockquote><div><br></div><div>Ah, I missed that bugreport. Yes I'd agree it's being too strict with regards to -march. Would be nice if this was fixed. </div><div><br></div><div>My use case is to run some computational code as fast as possible on the host machine, so I'd like the best optimization possible. </div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>As a workaround, you can try the (undocumented) cpp.machineType property. It doesn't do anything when using clang, though.<br></blockquote><div><br></div><div>I'll try that for now. Thanks!</div><div><br></div><div>Best regards,</div><div>Ola </div><div> </div></div></div></div>