e731315c9d
- Update to version 0.3.10 common: * Improved thread locking behaviour in blas_server and parallel getrf * Imported bugfix 394 from LAPACK (spurious reference to "XERBL" due to overlong lines) * Imported bugfix 403 from LAPACK (compile option "recursive" required for correctness with Intel and PGI) * Imported bugfix 408 from LAPACK (wrong scaling in ZHEEQUB) * Imported bugfix 411 from LAPACK (infinite loop in LARGV/LARTG/LARTGP) * Fixed mismatches between BUFFERSIZE and GEMM_UNROLL parameters that could lead to crashes at large matrix sizes * Restored internal soname in dynamic libraries on FreeBSD and Dragonfly * Added API (openblas_setaffinity) to set thread affinity programmatically on Linux * Added initial infrastructure for half-precision floating point (bfloat16) support with a generic implementation of SHGEMM * Added CMAKE build system support for building the cblas_Xgemm3m functions * Fixed CMAKE support for building in a path with embedded spaces * Fixed CMAKE (non)handling of NO_EXPRECISION and MAX_STACK_ALLOC * Fixed GCC version detection in the Makefiles * Allowed overriding the names of AR, AS and LD in Makefile builds POWER: * fixed big-endian POWER8 ELFv2 builds on FreeBSD * Fixed GCC version checks and DYNAMIC_ARCH builds on POWER9 * Fixed CMAKE build support for POWER9 * fixed a potential race condition in the thread buffer allocation * Worked around LAPACK test failures on PPC G4 MIPS: * fixed a potential race condition in the thread buffer allocation OBS-URL: https://build.opensuse.org/request/show/814610 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=92
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
Index: OpenBLAS-0.3.10/exports/Makefile
|
|
===================================================================
|
|
--- OpenBLAS-0.3.10.orig/exports/Makefile
|
|
+++ OpenBLAS-0.3.10/exports/Makefile
|
|
@@ -163,6 +163,7 @@ else ifeq ($(F_COMPILER), FLANG)
|
|
else
|
|
ifneq ($(C_COMPILER), LSB)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
|
|
+ -Wl,-z,noexecstack \
|
|
-Wl,--whole-archive $< -Wl,--no-whole-archive \
|
|
-Wl,-soname,$(INTERNALNAME) $(EXTRALIB)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
|
@@ -191,6 +192,7 @@ else
|
|
../$(LIBSONAME) : ../$(LIBNAME).renamed linktest.c
|
|
endif
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
|
|
+ -Wl,-z,noexecstack \
|
|
-Wl,--whole-archive $< -Wl,--no-whole-archive \
|
|
$(FEXTRALIB) $(EXTRALIB)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
|
@@ -210,6 +212,7 @@ ifeq ($(OSNAME), SunOS)
|
|
|
|
so : ../$(LIBSONAME)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
|
|
+ -Wl,-z,noexecstack \
|
|
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
|
rm -f linktest
|