Skip to content

Commit a938972

Browse files
authored
Merge pull request #4943 from martin-frbg/update_readme
Update README.md
2 parents 15a5759 + 3fc1225 commit a938972

File tree

1 file changed

+24
-27
lines changed

1 file changed

+24
-27
lines changed

README.md

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22

33
[![Join the chat at https://gitter.im/xianyi/OpenBLAS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/xianyi/OpenBLAS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

5-
Travis CI: [![Build Status](https://travis-ci.com/xianyi/OpenBLAS.svg?branch=develop)](https://travis-ci.com/xianyi/OpenBLAS)
6-
7-
AppVeyor: [![Build status](https://ci.appveyor.com/api/projects/status/09sohd35n8nkkx64/branch/develop?svg=true)](https://ci.appveyor.com/project/xianyi/openblas/branch/develop)
8-
95
Cirrus CI: [![Build Status](https://api.cirrus-ci.com/github/xianyi/OpenBLAS.svg?branch=develop)](https://cirrus-ci.com/github/xianyi/OpenBLAS)
10-
<!-- Drone CI: [![Build Status](https://cloud.drone.io/api/badges/xianyi/OpenBLAS/status.svg?branch=develop)](https://cloud.drone.io/xianyi/OpenBLAS/)-->
6+
117

128

139
[![Build Status](https://dev.azure.com/xianyi/OpenBLAS/_apis/build/status/xianyi.OpenBLAS?branchName=develop)](https://dev.azure.com/xianyi/OpenBLAS/_build/latest?definitionId=1&branchName=develop)
@@ -19,7 +15,7 @@ OSUOSL IBMZ-CI [![Build Status](http://ibmz-ci.osuosl.org/buildStatus/icon?job=O
1915

2016
OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.13 BSD version.
2117

22-
Please read the documentation on the OpenBLAS wiki pages: <https://github.com/xianyi/OpenBLAS/wiki>.
18+
Please read the documentation in the OpenBLAS folder: <https://github.com/OpenMathLib/OpenBLAS/docs>.
2319

2420
For a general introduction to the BLAS routines, please refer to the extensive documentation of their reference implementation hosted at netlib:
2521
<https://www.netlib.org/blas>. On that site you will likewise find documentation for the reference implementation of the higher-level library LAPACK - the **L**inear **A**lgebra **Pack**age that comes included with OpenBLAS. If you are looking for a general primer or refresher on Linear Algebra, the set of six
@@ -31,12 +27,12 @@ We provide official binary packages for the following platform:
3127

3228
* Windows x86/x86_64
3329

34-
You can download them from [file hosting on sourceforge.net](https://sourceforge.net/projects/openblas/files/) or from the Releases section of the github project page, [https://github.com/xianyi/OpenBLAS/releases](https://github.com/xianyi/OpenBLAS/releases).
30+
You can download them from [file hosting on sourceforge.net](https://sourceforge.net/projects/openblas/files/) or from the Releases section of the github project page, [https://github.com/OpenMathLib/OpenBLAS/releases](https://github.com/OpenMathLib/OpenBLAS/releases).
3531

3632
## Installation from Source
3733

38-
Download from project homepage, https://xianyi.github.com/OpenBLAS/, or check out the code
39-
using Git from https://github.com/xianyi/OpenBLAS.git. (If you want the most up to date version, be
34+
Download from project homepage, https://github.com/OpenMathLib/OpenBLAS/, or check out the code
35+
using Git from https://github.com/OpenMathLib/OpenBLAS.git. (If you want the most up to date version, be
4036
sure to use the develop branch - master is several years out of date due to a change of maintainership.)
4137
Buildtime parameters can be chosen in Makefile.rule, see there for a short description of each option.
4238
Most can also be given directly on the make or cmake command line.
@@ -45,10 +41,10 @@ Most can also be given directly on the make or cmake command line.
4541

4642
Building OpenBLAS requires the following to be installed:
4743

48-
* GNU Make
44+
* GNU Make or CMake
4945
* A C compiler, e.g. GCC or Clang
5046
* A Fortran compiler (optional, for LAPACK)
51-
* IBM MASS (optional, see below)
47+
5248

5349
### Normal compile
5450

@@ -66,24 +62,22 @@ build options you plan to set.
6662

6763
### Cross compile
6864

69-
Set `CC` and `FC` to point to the cross toolchains, and set `HOSTCC` to your host C compiler.
65+
Set `CC` and `FC` to point to the cross toolchains, and if you use `make`, also set `HOSTCC` to your host C compiler.
7066
The target must be specified explicitly when cross compiling.
7167

7268
Examples:
7369

74-
* On an x86 box, compile this library for a loongson3a CPU:
70+
* On a Linux system, cross-compiling to an older MIPS64 router board:
7571
```sh
76-
make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
72+
make BINARY=64 CC=mipsisa64r6el-linux-gnuabi64-gcc FC=mipsisa64r6el-linux-gnuabi64-gfortran HOSTCC=gcc TARGET=P6600
7773
```
78-
or same with the newer mips-crosscompiler put out by Loongson that defaults to the 32bit ABI:
74+
* or to a Windows x64 host:
7975
```sh
80-
make HOSTCC=gcc CC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gcc -mabi=64' FC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gfortran -mabi=64' TARGET=LOONGSON3A
76+
make CC="i686-w64-mingw32-gcc -Bstatic" FC="i686-w64-mingw32-gfortran -static-libgfortran" TARGET=HASWELL BINARY=32 CROSS=1 NUM_THREADS=20 CONSISTENT_FPCSR=1 HOSTCC=gcc
8177
```
8278

83-
* On an x86 box, compile this library for a loongson3a CPU with loongcc (based on Open64) compiler:
84-
```sh
85-
make CC=loongcc FC=loongf95 HOSTCC=gcc TARGET=LOONGSON3A CROSS=1 CROSS_SUFFIX=mips64el-st-linux-gnu- NO_LAPACKE=1 NO_SHARED=1 BINARY=32
86-
```
79+
You can find instructions for other cases both in the "Supported Systems" section below and in the docs folder. The .yml scripts included with the sources (which contain the
80+
build scripts for the "continuous integration" (CI) build tests automatically run on every proposed change to the sources) may also provide additional hints.
8781

8882
When compiling for a more modern CPU TARGET of the same architecture, e.g. TARGET=SKYLAKEX on a HASWELL host, option "CROSS=1" can be used to suppress the automatic invocation of the tests at the end of the build.
8983

@@ -260,8 +254,10 @@ On **riscv64**, DYNAMIC_ARCH enables support for riscv64_zvl128b and riscv64_zvl
260254

261255
On **LoongArch64**, it comprises LA264 and LA464 as well as generic LoongArch64 support.
262256

263-
The `TARGET` option can be used in conjunction with `DYNAMIC_ARCH=1` to specify which cpu model should be assumed for all the
264-
common code in the library, usually you will want to set this to the oldest model you expect to encounter.
257+
The `TARGET` option can - and usually **should** - be used in conjunction with `DYNAMIC_ARCH=1` to specify which cpu model should be assumed for all the common code in the library, usually you will want to set this to the oldest model you expect to encounter.
258+
Failure to specify this may lead to advanced instructions being used by the compiler, just because the build host happens to support them. This is most likely to happen when aggressive optimization options are in effect, and the resulting library may then crash with an
259+
illegal instruction error on weaker hardware, before it even reaches the BLAS routines specifically included for that cpu.
260+
265261
Please note that it is not possible to combine support for different architectures, so no combined 32 and 64 bit or x86_64 and arm64 in the same library.
266262

267263
### Supported OS
@@ -315,20 +311,21 @@ If you compile this library with `USE_OPENMP=1`, you should use the above functi
315311
316312
## Reporting bugs
317313
318-
Please submit an issue in https://github.com/xianyi/OpenBLAS/issues.
314+
Please submit an issue in https://github.com/OpenMathLib/OpenBLAS/issues.
319315
320316
## Contact
321317
318+
+ Use github discussions: https://github.com/OpenMathLib/OpenBLAS/discussions
322319
* OpenBLAS users mailing list: https://groups.google.com/forum/#!forum/openblas-users
323320
* OpenBLAS developers mailing list: https://groups.google.com/forum/#!forum/openblas-dev
324321
325322
## Change log
326323
327-
Please see Changelog.txt to view the differences between OpenBLAS and GotoBLAS2 1.13 BSD version.
324+
Please see Changelog.txt.
328325
329326
## Troubleshooting
330327
331-
* Please read the [FAQ](https://github.com/xianyi/OpenBLAS/wiki/Faq) first.
328+
* Please read the [FAQ](https://github.com/OpenMathLib/OpenBLAS/docs/faq,md) in the docs folder first.
332329
* Please use GCC version 4.6 and above to compile Sandy Bridge AVX kernels on Linux/MinGW/BSD.
333330
* Please use Clang version 3.1 and above to compile the library on Sandy Bridge microarchitecture.
334331
Clang 3.0 will generate the wrong AVX binary code.
@@ -345,9 +342,9 @@ Please see Changelog.txt to view the differences between OpenBLAS and GotoBLAS2
345342
346343
## Contributing
347344
348-
1. [Check for open issues](https://github.com/xianyi/OpenBLAS/issues) or open a fresh issue
345+
1. [Check for open issues](https://github.com/OpenMathLib/OpenBLAS/issues) or open a fresh issue
349346
to start a discussion around a feature idea or a bug.
350-
2. Fork the [OpenBLAS](https://github.com/xianyi/OpenBLAS) repository to start making your changes.
347+
2. Fork the [OpenBLAS](https://github.com/OpenMathLib/OpenBLAS) repository to start making your changes.
351348
3. Write a test which shows that the bug was fixed or that the feature works as expected.
352349
4. Send a pull request. Make sure to add yourself to `CONTRIBUTORS.md`.
353350

0 commit comments

Comments
 (0)