bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] building 1.0.2.000 on FreeBSD.......


From: Michael Petch
Subject: Re: [Bug-gnubg] building 1.0.2.000 on FreeBSD.......
Date: Tue, 18 Feb 2014 10:37:08 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]