e2a59c91a4
- Update to version 0.2.20: * common: - Improved CMake support - Fixed several thread race and locking bugs - Fixed default LAPACK optimization level - Updated LAPACK to 3.7.0 - Added ReLAPACK (https://github.com/HPAC/ReLAPACK), make BUILD_RELAPACK=1 * POWER: - Optimizations for Power9 - Fixed several Power8 assembly bugs * ARM: - New optimized Vulcan and ThunderX2T99 targets - Support for ARMV7 SOFT_FP ABI (make ARM_SOFTFP_ABI=1) - Detect all cpu cores including offline ones - Fix compilation with CLANG - Support building a shared library for Android * MIPS: - Fixed several threading issues - Fix compilation with CLANG * x86_64: - Detect Intel Bay Trail and Apollo Lake - Detect Intel Sky Lake and Kaby Lake - Detect Intel Knights Landing - Detect AMD A8, A10, A12 and Ryzen - Support 64bit builds with Visual Studio - Fix building with Intel and PGI compilers - Fix building with MINGW and TDM-GCC - Fix cmake builds for Haswell and related cpus - Fix building for Sandybridge with CLANG 3.9 OBS-URL: https://build.opensuse.org/request/show/513093 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=52
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
Index: OpenBLAS-0.2.20/exports/Makefile
|
|
===================================================================
|
|
--- OpenBLAS-0.2.20.orig/exports/Makefile
|
|
+++ OpenBLAS-0.2.20/exports/Makefile
|
|
@@ -137,6 +137,7 @@ else
|
|
endif
|
|
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.
|
|
@@ -164,6 +165,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.
|
|
@@ -183,6 +185,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
|