On 2014-02-18 10:20, Michael Petch wrote:
> ./configure CC="gcc49" CPPFLAGS="-O3 -funroll-loops -march=native
> -mtune=native -I/usr/local/include" LDFLAGS="-L/usr/local/lib"
> --enable-simd=avx
>

There is one other thing you should be aware of.  --enable-simd=avx will
only run on processors that support AVX. If you force a build to use AVX
and your OS an processor don't support it you will get an error.

In theory you shouldn't need --enable-simd=avx for do it yourself
builds, as the 1.02.000 build process will attempt to use AVX during
compile if supported on your OS and processor. If AVX isn't supported it
will use SSE or SSE2, and if the processor doesn't support any of them
then it will use none. Unless you are experiencing problems, you
shouldn't need --enable-simd=avx .

So this should work:

./configure CC="gcc49" CPPFLAGS="-O3 -funroll-loops -march=native
-mtune=native -I/usr/local/include" LDFLAGS="-L/usr/local/lib"

--
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304


_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to