- Build PPC64LE libraries with the lastest gcc available to
take advantage of instruction sets in later CPUs used in
the CPU specific kernels (jsc#SLE-18143, bsc#1197721).
For fortran use the stock compiler to avoid compatibility
issues between different versions of libfortran.
This is relevant for Leap/SLE only. It may be dropped once
gcc < 10 is no longer supported.
- Do the same for x86_64 on SLE to make sure Cooperlake support
is built properly.
- Remove:
* Do-not-attempt-to-check-host-CPU-if-TARGET-is-set.patch
* Create-independent-kernel-Makfile-configuration-when-building-DYNAMIC_ARCH.patch
* For-DYNAMIC_ARCH-don-t-use-sbgemm_r-as-parameter.c-doesn-t-get-build.patch
Instead, add from upstream:
* Define-sbgemm_r-to-fix-DYNAMIC_ARCH-builds.patch
* Remove-extraneous-and-wrong-definition-of-sbgemm_r-on-x86_64.patch
* Fix-checks-for-AVX512-and-atomics.patch
* Revert-AVX512-capability-check-from-PR-1980-moved-to-build.patch
* Use-CC-and-full-command-line-instead-of-hard-coding-gcc-for-AVX512-checking.patch
* Utilize-compiler-AVX512-capability-info-from-c_check-when-building-getarch.patch
- Update to v0.3.20:
* general:
some code cleanup, with added casts etc.
fixed obtaining the cpu count with OpenMP and OMP_PROC_BIND unset
fixed pivot index calculation by ?LASWP for negative increments other
than one
fixed input argument check in LAPACK ? GEQRT2
improved the check for a Fortran compiler in CMAKE builds
disabled building OpenBLAS' optimized versions of LAPACK complex SPMV,
OBS-URL: https://build.opensuse.org/request/show/966746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=46
- Build PPC64LE libraries with the lastest gcc available to
take advantage of instruction sets in later CPUs used in
the CPU specific kernels (jsc#SLE-18143, bsc#1197721).
For fortran use the stock compiler to avoid compatibility
issues between different versions of libfortran.
This is relevant for Leap/SLE only. It may be dropped once
gcc < 10 is no longer supported.
- Do the same for x86_64 on SLE to make sure Cooperlake support
is built properly.
- Remove:
* Do-not-attempt-to-check-host-CPU-if-TARGET-is-set.patch
* Create-independent-kernel-Makfile-configuration-when-building-DYNAMIC_ARCH.patch
* For-DYNAMIC_ARCH-don-t-use-sbgemm_r-as-parameter.c-doesn-t-get-build.patch
Instead, add from upstream:
* Define-sbgemm_r-to-fix-DYNAMIC_ARCH-builds.patch
* Remove-extraneous-and-wrong-definition-of-sbgemm_r-on-x86_64.patch
* Fix-checks-for-AVX512-and-atomics.patch
* Revert-AVX512-capability-check-from-PR-1980-moved-to-build.patch
* Use-CC-and-full-command-line-instead-of-hard-coding-gcc-for-AVX512-checking.patch
* Utilize-compiler-AVX512-capability-info-from-c_check-when-building-getarch.patch
BLAS/LAPACK implementation (boo#1177260).
'openblas-common-devel' will provide the removed 'openblas-devel-headers'
while the arch specific 'preferred' flavor will provide the removed
'openblas-devel'.
OBS-URL: https://build.opensuse.org/request/show/966356
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=131
- Update to v0.3.20:
* general:
some code cleanup, with added casts etc.
fixed obtaining the cpu count with OpenMP and OMP_PROC_BIND unset
fixed pivot index calculation by ?LASWP for negative increments other
than one
fixed input argument check in LAPACK ? GEQRT2
improved the check for a Fortran compiler in CMAKE builds
disabled building OpenBLAS' optimized versions of LAPACK complex SPMV,
SPR,SYMV,SYR with NO_LAPACK=1
fixed building of LAPACK on certain distributed filesystems with parallel
gmake
fixed building the shared library on MacOS with classic flang
(v0.3.19)
reverted unsafe TRSV/ZRSV optimizations introduced in 0.3.16
fixed a potential thread race in the thread buffer reallocation routines
that were introduced in 0.3.18
fixed miscounting of thread pool size on Linux with OMP_PROC_BIND=TRUE
fixed CBLAS interfaces for CSROT/ZSROT and CROTG/ZROTG
made automatic library suffix for CMAKE builds with INTERFACE64 available
to CBLAS-only builds
(v0.3.18)
when the build-time number of preconfigured threads is exceeded
at runtime (by an external program calling BLAS functions from
a larger number of threads), OpenBLAS will now allocate an
auxiliary control structure for up to 512 additional threads
instead of aborting
added support for Loongson's LoongArch64 cpu architecture
fixed building OpenBLAS with CMAKE and -DBUILD_BFLOAT16=ON
added support for building OpenBLAS as a CMAKE subproject
OBS-URL: https://build.opensuse.org/request/show/965613
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=129
- Fixed bsc#1195232 for good: found and removed offending entry.
This reintroduces part of:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not create dummy symlinks on $self in /etc/alternatives: those
files are packages as %ghost and any real file existance only
confuses brp-checks, as it detects circular symlinks.
OBS-URL: https://build.opensuse.org/request/show/954096
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=128
- Partly revert:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not create dummy symlinks on $self in /etc/alternatives: those
files are packages as %ghost and any real file existance only
confuses brp-checks, as it detects circular symlinks.
for all suse_versions < current Factory in an attempt to fix bsc#1195232. (forwarded request 950115 from eeich)
OBS-URL: https://build.opensuse.org/request/show/950116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=45
- Partly revert:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not create dummy symlinks on $self in /etc/alternatives: those
files are packages as %ghost and any real file existance only
confuses brp-checks, as it detects circular symlinks.
for all suse_versions < current Factory in an attempt to fix bsc#1195232.
OBS-URL: https://build.opensuse.org/request/show/950115
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=127
common:
* Fixed a race condition on thread shutdown in non-OpenMP builds
* Fixed custom BUFFERSIZE option getting ignored in gmake builds
* Fixed CMAKE compilation of the TRMM kernels for GENERIC platforms
* Added CBLAS interfaces for CROTG, ZROTG, CSROT and ZDROT
* Improved performance of OMATCOPY_RT across all platforms
* Changed perl scripts to use env instead of a hardcoded /usr/bin/perl
* Fixed potential misreading of the GCC compiler version in the build scripts
* Fixed convergence problems in LAPACK complex GGEV/GGES (Reference-LAPACK #477)
* Reduced the stacksize requirements for running the LAPACK testsuite (Reference-LAPACK #335)
RISC V:
* Fixed compilation on RISCV (missing entry in getarch)
POWER:
* Fixed compilation for DYNAMIC_ARCH with clang and with older gcc versions
* Added support for compilation on FreeBSD/ppc64le
* Added optimized POWER10 kernels for SSCAL, DSCAL, CSCAL, ZSCAL
* Added optimized POWER10 kernels for SROT, DROT, CDOT, SASUM, DASUM
* Improved SSWAP, DSWAP, CSWAP, ZSWAP performance on POWER10
* Improved SCOPY and CCOPY performance on POWER10
* Improved SGEMM and DGEMM performance on POWER10
* Added support for compilation with the NVIDIA HPC compiler
x86_64:
* Added an optimized bfloat16 GEMM kernel for Cooperlake
* Added CPUID autodetection for Intel Rocket Lake and Tiger Lake cpus
* Improved the performance of SASUM,DASUM,SROT,DROT on AMD Ryzen cpus
* Added support for compilation with the NAG Fortran compiler
* Fixed recognition of the AMD AOCC compiler
* Fixed compilation for DYNAMIC_ARCH with clang on Windows
* Added support for running the BLAS/CBLAS tests on Windows
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=120
- Update to version 0.3.13
common:
* Added a generic bfloat16 SBGEMV kernel
* Fixed a potentially severe memory leak after fork in OpenMP builds
that was introduced in 0.3.12
* Added detection of the Fujitsu Fortran compiler
* Added detection of the (e)gfortran compiler on OpenBSD
* Added support for overriding the default name of the library independently
from symbol suffixing in the gmake builds (already supported in cmake)
RISC V:
* Added a RISC V port optimized for C910V
POWER:
* Added optimized POWER10 kernels for SAXPY, CAXPY, SDOT, DDOT and DGEMV_N
* Improved DGEMM performance on POWER10
* Improved STRSM and DTRSM performance on POWER9 and POWER10
* Fixed segmemtation faults in DYNAMIC_ARCH builds
* Fixed compilation with the PGI compiler
x86:
* Fixed compilation of kernels that require SSE2 intrinsics since 0.3.12
x86_64:
* Added an optimized bfloat16 SBGEMV kernel for SkylakeX and Cooperlake
* Improved the performance of SASUM and DASUM kernels through parallelization
* Improved the performance of SROT and DROT kernels
* Improved the performance of multithreaded xSYRK
* Fixed OpenMP builds that use the LLVM Clang compiler together with GNU gfortran
(where linking of both the LLVM libomp and GNU libgomp could lead to lockups or
wrong results)
* Fixed miscompilations by old gcc 4.6
* Fixed misdetection of AVX2 capability in some Sandybridge cpus
OBS-URL: https://build.opensuse.org/request/show/856635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=39
common:
* Added a generic bfloat16 SBGEMV kernel
* Fixed a potentially severe memory leak after fork in OpenMP builds
that was introduced in 0.3.12
* Added detection of the Fujitsu Fortran compiler
* Added detection of the (e)gfortran compiler on OpenBSD
* Added support for overriding the default name of the library independently
from symbol suffixing in the gmake builds (already supported in cmake)
RISC V:
* Added a RISC V port optimized for C910V
POWER:
* Added optimized POWER10 kernels for SAXPY, CAXPY, SDOT, DDOT and DGEMV_N
* Improved DGEMM performance on POWER10
* Improved STRSM and DTRSM performance on POWER9 and POWER10
* Fixed segmemtation faults in DYNAMIC_ARCH builds
* Fixed compilation with the PGI compiler
x86:
* Fixed compilation of kernels that require SSE2 intrinsics since 0.3.12
x86_64:
* Added an optimized bfloat16 SBGEMV kernel for SkylakeX and Cooperlake
* Improved the performance of SASUM and DASUM kernels through parallelization
* Improved the performance of SROT and DROT kernels
* Improved the performance of multithreaded xSYRK
* Fixed OpenMP builds that use the LLVM Clang compiler together with GNU gfortran
(where linking of both the LLVM libomp and GNU libgomp could lead to lockups or
wrong results)
* Fixed miscompilations by old gcc 4.6
* Fixed misdetection of AVX2 capability in some Sandybridge cpus
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=114
- Update to version 0.3.12
common:
* Fixed missing BLAS/LAPACK functions (inadvertently dropped during
the build system restructuring to support selective compilation)
* Fixed argument conversion macro in LAPACKE_zgesvdq (LAPACK #458)
power:
* Added optimized SCOPY/CCOPY kernels for POWER10
* Increased and unified the default size of the GEMM buffer
* Fixed building for POWER10 in DYNAMIC_ARCH mode
* POWER10 compatibility test now checks binutils version as well
* Cleaned up compiler warnings
x86_64:
* Corrected compiler version checks for AVX2 compatibility
* Added compiler option -mavx2 for building with flang
* Fixed direct SGEMM pathway for small matrix sizes (broken by
the code refactoring in 0.3.11)
* Fixed unhandled partial register clobbers in several kernels
for AXPY,DOT,GEMV_N and GEMV_T flagged by gcc10 tree-vectorizer
armv8:
* Improved Apple Vortex support to include cross-compiling
- Drop fix-build.patch, merged upstream.
OBS-URL: https://build.opensuse.org/request/show/843798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=38
common:
* Fixed missing BLAS/LAPACK functions (inadvertently dropped during
the build system restructuring to support selective compilation)
* Fixed argument conversion macro in LAPACKE_zgesvdq (LAPACK #458)
power:
* Added optimized SCOPY/CCOPY kernels for POWER10
* Increased and unified the default size of the GEMM buffer
* Fixed building for POWER10 in DYNAMIC_ARCH mode
* POWER10 compatibility test now checks binutils version as well
* Cleaned up compiler warnings
x86_64:
* Corrected compiler version checks for AVX2 compatibility
* Added compiler option -mavx2 for building with flang
* Fixed direct SGEMM pathway for small matrix sizes (broken by
the code refactoring in 0.3.11)
* Fixed unhandled partial register clobbers in several kernels
for AXPY,DOT,GEMV_N and GEMV_T flagged by gcc10 tree-vectorizer
armv8:
* Improved Apple Vortex support to include cross-compiling
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=109
- Update _constraints to use 12GB RAM on x86_64
- Update to version 0.3.11
common:
* Reduced the default BLAS3_MEM_ALLOC_THRESHOLD (used as an upper
limit for placing temporary arrays on the stack) to be compatible
with a stack size of 1mb (as imposed by the JAVA runtime library)
* Added mixed-precision dot function SBDOT and utility functions
shstobf16, shdtobf16, sbf16tos and dbf16tod to convert between
single or double precision float arrays and bfloat16 arrays
* Fixed prototypes of LAPACK_?ggsvp and LAPACK_?ggsvd functions
in lapack.h
* Fixed underflow and rounding errors in LAPACK SLANV2 and DLANV2
(causing miscalculations in e.g. SHSEQR/DHSEQR, LAPACK issue #263)
* Fixed workspace calculation in LAPACK ?GELQ (LAPACK issue #415)
* Fixed several bugs in the LAPACK testsuite
* Improved performance of TRMM and TRSM for certain problem sizes
* Fixed infinite recursions and workspace miscalculations in ReLAPACK
* CMAKE builds no longer require pkg-config for creating the .pc file
* Makefile builds no longer misread NO_CBLAS=0 or NO_LAPACK=0 as
enabling these options
* Fixed detection of gfortran when invoked through an mpi wrapper
* Improve thread reinitialization performance with OpenMP after a fork
* Added support for building only the subset of the library required
for a particular precision by specifying BUILD_SINGLE, BUILD_DOUBLE
* Optional function name prefixes and suffixes are now correctly
reflected in the generated cblas.h
* Added CMAKE build support for the LAPACK and multithreading tests
power:
* Added optimized support for POWER10
OBS-URL: https://build.opensuse.org/request/show/843166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=37
common:
* Reduced the default BLAS3_MEM_ALLOC_THRESHOLD (used as an upper
limit for placing temporary arrays on the stack) to be compatible
with a stack size of 1mb (as imposed by the JAVA runtime library)
* Added mixed-precision dot function SBDOT and utility functions
shstobf16, shdtobf16, sbf16tos and dbf16tod to convert between
single or double precision float arrays and bfloat16 arrays
* Fixed prototypes of LAPACK_?ggsvp and LAPACK_?ggsvd functions
in lapack.h
* Fixed underflow and rounding errors in LAPACK SLANV2 and DLANV2
(causing miscalculations in e.g. SHSEQR/DHSEQR, LAPACK issue #263)
* Fixed workspace calculation in LAPACK ?GELQ (LAPACK issue #415)
* Fixed several bugs in the LAPACK testsuite
* Improved performance of TRMM and TRSM for certain problem sizes
* Fixed infinite recursions and workspace miscalculations in ReLAPACK
* CMAKE builds no longer require pkg-config for creating the .pc file
* Makefile builds no longer misread NO_CBLAS=0 or NO_LAPACK=0 as
enabling these options
* Fixed detection of gfortran when invoked through an mpi wrapper
* Improve thread reinitialization performance with OpenMP after a fork
* Added support for building only the subset of the library required
for a particular precision by specifying BUILD_SINGLE, BUILD_DOUBLE
* Optional function name prefixes and suffixes are now correctly
reflected in the generated cblas.h
* Added CMAKE build support for the LAPACK and multithreading tests
power:
* Added optimized support for POWER10
* Added support for compiling for POWER8 in 32bit mode
* Added support for compilation with LLVM/clang
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=102
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