tech-pkg archive

[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:
On Mon, Dec 10, 2018 at 04:31:24PM +0000, wrote:
following up:

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.

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.

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.


Home | Main Index | Thread Index | Old Index