One plus with O2 is you also get a log if you should have a failure which helps with troubleshooting code. Just what I have always been used to and most packages built in Arch, Debian or Red Hat Linux will normally default to 02 by using a vanilla Cmake command and optimizations are usually correctly picked for hardware and OS environment. You can of course specify very specific hardware features using -march which gets very detailed because you really get into specific and targeted optimizations then.
Statistics: Posted by graphicw — Sun May 05, 2024 8:45 am