Joseph Heled <[email protected]> writes: > My cpu (i7) has sse4 and avx2 support. Compiling from source is not the > right answer in general. Users should get this in the compiled package, > no?
The Ubuntu packaging is a copy of the Debian packaging, which I maintain. The Debian packaging uses the most conservative CPU settings to ensure that gnubg can run on every platform that Debian supports. I'm intentionally sacrificing some speed to avoid the problem where someone installs the gnubg package and then the binary won't run at all. My (possibly erroneous) perception is that most users of the package don't care that much about pure speed. Trying to build the binary multiple times with different compiler flags and select an appropriate version for the local CPU at runtime was more work than I had time or energy to do, and felt like overkill. -- Russ Allbery ([email protected]) <https://www.eyrie.org/~eagle/>
