Discussion:
_performance_build and -O3 package builds
Florian Weimer
2018-12-10 11:56:20 UTC
Permalink
Downstream, we had a separate set of builds flags for certain packages
and used -O3 there, targeted at POWER (both ppc64 and ppc64le), for
increased use of vectorization presumably.

I don't think this was ever upstreamed to Fedora (the downstream changes
were in the redhat-rpm-config package). I don't recall seeing a
corresponding Fedora change. As a result, the recent downstream rebase
lost support for this.

Should Fedora package maintainers remove _performance_build support or
custom flag overrides for -O3 from their packages?

My understanding is that Fedora build flag policy is set by the
redhat-rpm-config package, which currently specifies -O2 for all
architectures.

Thanks,
Florian
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/li
Kevin Fenzi
2018-12-10 16:00:31 UTC
Permalink
Post by Florian Weimer
Downstream, we had a separate set of builds flags for certain packages
and used -O3 there, targeted at POWER (both ppc64 and ppc64le), for
increased use of vectorization presumably.
I don't think this was ever upstreamed to Fedora (the downstream changes
were in the redhat-rpm-config package). I don't recall seeing a
corresponding Fedora change. As a result, the recent downstream rebase
lost support for this.
Should Fedora package maintainers remove _performance_build support or
custom flag overrides for -O3 from their packages?
My understanding is that Fedora build flag policy is set by the
redhat-rpm-config package, which currently specifies -O2 for all
architectures.
Well, we have:
https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags

So, I would say anyone using those custom flags/overrides needs to
document why in spec and in general shouldn't override or use custom
flags. ;)

kevin
Igor Gnatenko
2018-12-10 16:12:18 UTC
Permalink
I think providing some simple way how to turn -O3 (or even some other
flags) would be interesting idea.

So I would love to see ticket for FPC and corresponding patch for
redhat-rpm-config.
Post by Florian Weimer
Downstream, we had a separate set of builds flags for certain packages
and used -O3 there, targeted at POWER (both ppc64 and ppc64le), for
increased use of vectorization presumably.
I don't think this was ever upstreamed to Fedora (the downstream changes
were in the redhat-rpm-config package). I don't recall seeing a
corresponding Fedora change. As a result, the recent downstream rebase
lost support for this.
Should Fedora package maintainers remove _performance_build support or
custom flag overrides for -O3 from their packages?
My understanding is that Fedora build flag policy is set by the
redhat-rpm-config package, which currently specifies -O2 for all
architectures.
Thanks,
Florian
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedo
Peter Robinson
2018-12-11 01:36:41 UTC
Permalink
This post might be inappropriate. Click to display it.
Loading...