rorth wrote:

> We try to restrict distribution differences to things like default linker 
> options and library paths. Affecting `-mcpu=` seems very unintuitive. There 
> are many Debian derivatives. It's weird that Debian uses -mcpu=v9 while 
> others use -mcpu=v8. We should not increase `IsDebian` or `IsGentoo` use.

Ah, thanks.  That simplifies things a lot.

> If -mcpu=v9 seems the right thing for the majority of configurations, we can 
> bump -mcpu=v9 for all Linux and ask other, older systems to use 
> https://clang.llvm.org/docs/UsersManual.html#configuration-files to specify 
> `-mcpu=v8`.

I'd been operating under the assumption that `clang` should work out of the box 
on either kind of distro.  I'll update the patch accordingly and add a release 
notes entry about the change.

https://github.com/llvm/llvm-project/pull/109278
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to