ff51291708
Avoid compile-time CPU-detection (boo#1100677) the docs in GotoBLAS_02QuickInstall.txt say 3. Specifying target architecture If you need library for different architecture, you can use TARGET option. You can find current available options in top of getarch.c. For example, if you need library for Intel core2 architecture, you'll find FORCE_CORE2 option in getarch.c. Therefore you can specify TARGET=CORE2 (get rid of FORCE_) with make. $shell> make TARGET=CORE2 This is rather unspecific, but my tests show it helps to get reproducible binaries and compilation still happens with -DDYNAMIC_ARCH -march=skylake-avx512 OBS-URL: https://build.opensuse.org/request/show/825866 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=94 |
||
---|---|---|
_constraints | ||
_multibuild | ||
.gitattributes | ||
.gitignore | ||
OpenBLAS-0.3.10.tar.gz | ||
openblas-noexecstack.patch | ||
openblas-s390.patch | ||
openblas.changes | ||
openblas.spec | ||
README.HPC.SUSE | ||
README.SUSE |
openSUSE specific packaging =========================== OpenBLAS provides optimized implementations of BLAS and LAPACK. openSUSE provides three variants: * Serial library (libopenblas_serial0) * With OpenMP support (libopenblas_openmp0) * With threading support (libopenblas_pthreads0) By defult openSUSE uses pthreads version on x86 systems and OpenMP for other architectures. On x86 systems OpenBLAS uses dynamic architectures support, so it contains all CPU-related optimizations. How to switch between the various BLAS/LAPACK implementations ============================================================= BLAS: sudo /usr/sbin/update-alternatives --config libblas.so.3 LAPACK: sudo /usr/sbin/update-alternatives --config liblapack.so.3 More information is available at: https://en.opensuse.org/openSUSE:Science_Linear_algebra_libraries