Files
libatlas3/atlas-suse-shared.patch
Jan Engelhardt ccff8110e9 Accepting request 415887 from home:michel_mno:branches:science
-  temporarily change basic flavor build
   do not set -V -A and let ATLAS build to analyse architecture.
   (would need more work to be compatible with new 3.10.3)

- update to 3.10.3 (copy from changelog)
  ATLAS 3.10.3 released 07/28/16, highlights of changes from 3.10.2
   * Updated F77 L1BLAS testers to those used LAPACK3.6.1
   * Fixed bug in rotmg revealed by LAPACK3.6.1 testers
   * Fixed bug in hprk/sprk that could cause NaN propogation in HERK/SYRK due
     to reading uninitialized memory in BETA=0 case
   * Fixed bug in threaded SYR2K/HER2K that could cause NaN propogation due
     to reading uninitialized memory
   * Extended matrix/vector norm functions to detect NaNs
   * Extended configure:
     + --force-clang=/path/to/clang : will use clang for all C compilers,
       even goodgcc (assumes gcc flag & inline-assembly compatibility)
     + --cripple-atlas-performance: install despite failing throttle check
     + Can now use arch string rather than enum # for -A arg
     + --force-tids now affects ATLrun.sh as well as threaded build
     + ARM32 autodetects SOFTFP/HARDFP ABI
   * backport of config & archdefs for: 
     + POWER[7,8]le, IBMz[10,13,19], Corei[3,4], ARM[7,9,15,17], 
       ARM64[xgene,a53,a57]
     + archdefs for NEON ARMa[7,15]
     + config support for IBM Z[9,196,12]
   * backport & extension of atlas_simd.h & atlas_cplxsimd.h
     + New SIMD kernels for: VSX, VXZ, AVX2, AdvancedSIMD, NEON
   * Fixed mflop test of PrintMMLine, that sometimes failed to print
     valid mflop due to negative values from prior runs
   * Removed ATL_dmm6x1x60_sse2_32.c from z index files (not valid cplx kern)

OBS-URL: https://build.opensuse.org/request/show/415887
OBS-URL: https://build.opensuse.org/package/show/science/libatlas3?expand=0&rev=27
2016-07-29 16:55:22 +00:00

37 lines
1.5 KiB
Diff

---
makes/Make.lib | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Index: ATLAS/makes/Make.lib
===================================================================
--- ATLAS.orig/makes/Make.lib
+++ ATLAS/makes/Make.lib
@@ -4,6 +4,8 @@ mySRCdir = $(SRCdir)/lib
#
# override with libatlas.so only when atlas is built to one lib
#
+so_ver_major=3
+so_ver = $(so_ver_major).0
DYNlibs = liblapack.so libf77blas.so libcblas.so libatlas.so
PTDYNlibs = liblapack.so libptf77blas.so libptcblas.so libatlas.so
CDYNlibs = liblapack.so libcblas.so libatlas.so
@@ -112,9 +114,15 @@ TRYALL_WIN :
# These are a bunch of different ways to attempt to build a .so, try them all
#
LDTRY:
- $(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
- -rpath-link $(LIBINSTdir) \
- --whole-archive $(libas) --no-whole-archive $(LIBS)
+# $(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
+# -rpath-link $(LIBINSTdir) \
+# --whole-archive $(libas) --no-whole-archive $(LIBS)
+ mkdir static_libs ; pushd static_libs && $(foreach file,$(libas),ar x ../$(file);) popd ; \
+ $(LD) $(LDFLAGS) -shared -soname=$(outso).$(so_ver_major) \
+ -o $(outso).$(so_ver) static_libs/*.o $(LIBS) ; \
+ ln -s $(outso).$(so_ver) $(outso).$(so_ver_major) ; \
+ ln -s $(outso).$(so_ver) $(outso) ; \
+ rm -rf static_libs
GCCTRY:
$(GOODGCC) -shared -o $(outso) \
-Wl,"-rpath-link $(LIBINSTdir)" \