Re: Recompiling Packages with Optimization Flags

2020-11-08 Thread Paweł Marciniak
Of course, put all changes in the ~ / .rpmrc file. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-co

Re: Recompiling Packages with Optimization Flags

2020-11-08 Thread Paweł Marciniak
> Is there a way to pass '-march=znver2' to the compiler from rpmbuild?  I don't know but you can change the line: optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection from the file /usr/lib/rpm/redhat/rpmrc ___

Re: Recompiling Packages with Optimization Flags

2020-11-08 Thread Stephen John Smoogen
On Sun, 8 Nov 2020 at 02:36, Joseph D Wagner wrote: > Forgive me if this is the wrong spot to ask. > > I'm doing some CPU intensive work, and I'd like to optimize a few > packages. Even if it's only a 5% gain, it will add up over many > hours/days of continuous runtime. > > Back in the day, I co

Recompiling Packages with Optimization Flags

2020-11-07 Thread Joseph D Wagner
Forgive me if this is the wrong spot to ask. I'm doing some CPU intensive work, and I'd like to optimize a few packages.  Even if it's only a 5% gain, it will add up over many hours/days of continuous runtime. Back in the day, I could recompile a package like this: rpmbuild --rebuild --targe