raphael / linux-samus

Linux 4.16 on Chromebook Pixel 2015
GNU General Public License v2.0
181 stars 36 forks source link

Always build with -march=broadwell? #146

Closed remexre closed 8 years ago

remexre commented 8 years ago

If this is only ever going to run on samus machines, might as well go for that extra little bit of performance, right? I'm mostly referring to the Arch PKGBUILD here, but anything else that makes sense, too.

remexre commented 8 years ago

If, of course, I remember that my desktop is not a Chromebook in a fancy case.

ehegnes commented 8 years ago

If it's only going to run on a singe machine, you might as well build with -march=native, no?

remexre commented 8 years ago

I built it on the skylake machine; it completes a lot faster, plus I can have the kernel compiling when I'm doing the rest of the install. Ditto if an unofficial repo wants to host it

raphael commented 8 years ago

What exactly would you change? the compilation flags for AUR packages are typically controlled by the content of makepkg.conf as defined on the compilation machine.