- 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
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From: Egbert Eich <eich@suse.com>
|
|
Date: Sun Mar 13 10:57:59 2022 +0100
|
|
Subject: Do not include symbols defined in driver/others/parameter.c in DYNAMIC_BUILD
|
|
Patch-mainline: Not yet
|
|
Git-repo: https://github.com/xianyi/OpenBLAS
|
|
Git-commit: 53cd07b0201c94ea50a499867382dcf39d1b8766
|
|
References:
|
|
|
|
driver/others/parameter.c does not get build during DYNAMIC_BUILD, thus,
|
|
do not declare its symbols. This will make the build fail early and in
|
|
an obvious way if functions are trying to use these symbols.
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
|
Signed-off-by: Egbert Eich <eich@suse.de>
|
|
---
|
|
common_macro.h | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
diff --git a/common_macro.h b/common_macro.h
|
|
index 9826f180..d2fa822c 100644
|
|
--- a/common_macro.h
|
|
+++ b/common_macro.h
|
|
@@ -2610,8 +2610,9 @@
|
|
#endif
|
|
|
|
#ifndef ASSEMBLER
|
|
-#if defined(ARCH_X86) || defined(ARCH_X86_64) || defined(ARCH_IA64) || defined(ARCH_MIPS64) || defined(ARCH_ARM64)\
|
|
-|| defined(ARCH_LOONGARCH64) || defined(ARCH_E2K)
|
|
+#if !defined(DYNAMIC_ARCH) \
|
|
+ && (defined(ARCH_X86) || defined(ARCH_X86_64) || defined(ARCH_IA64) || defined(ARCH_MIPS64) || defined(ARCH_ARM64) \
|
|
+ || defined(ARCH_LOONGARCH64) || defined(ARCH_E2K))
|
|
extern BLASLONG gemm_offset_a;
|
|
extern BLASLONG gemm_offset_b;
|
|
extern BLASLONG sbgemm_p;
|