[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Package optimizations
On 12/10/18 2:14 PM, Joerg Sonnenberger wrote:
How portable do we want binary packages to be? If a packager inserts
-mavx2, it may not run on hardware that's just a few years old.
On Mon, Dec 10, 2018 at 04:31:24PM +0000, coypu%sdf.org@localhost wrote:
there's some discussion about whether we should allow packages to have
their own optimization flags.
We generally do not *want* that. The majority of packages has absolutely
no valid reason to insist on any specific optimizer flags. Period. There
are special cases and those are already just fine. Read: appending
certain flags like -ffast-math just works fine. -OMG is not generally
better than -O, contrary to the Gentoo Racing Community.
I think if we're going to allow this, there has to be a whitelist of
allowable flags that are certified for portability to any hardware we
consider worth supporting.
Main Index |
Thread Index |