-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Installation Guide
Just type make
to compile the library.
In order to build OpenBLAS on Windows you will need:
- MSYS (a collection of Unix tools). We recommend this distribution: http://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/
- MinGW-w64 (GCC for Windows). Either of these work well: (1) mingw-builds or (2) rubenvb's Personal Builds: 32-bit or 64-bit.
Simply download, unzip, add to the PATH environment variable and follow the usual instructions here.
Note: don't be alarmed if you see the lib
command fail. This is optional and only needed if you would like to dynamically link OpenBLAS from within Visual Studio. For further details see this page.
If your CPU is Sandy Bridge, please use Clang version 3.1 and above. The Clang 3.0 will generate the wrong AVX binary code of OpenBLAS.
You will need to install the following tools from the FreeBSD ports tree:
- lang/gcc [1]
- lang/perl5.12
- ftp/curl
- devel/gmake
- devel/patch
To compile run the command:
$ gmake CC=gcc46 FC=gfortran46
Note that you need to build with GNU make and manually specify the compiler, otherwhise gcc 4.2 from the base system would be used.