Ticket #8039: atlas-3.8.3.p11.patch

File atlas-3.8.3.p11.patch, 2.6 KB (added by jsp, 12 years ago)
  • SPKG.txt

    # HG changeset patch
    # User Jaap Spies <jaapspies@gmail.com>
    # Date 1264596611 -3600
    # Node ID 613c3f02315a4deee158a0fb367be4e5c22e7031
    # Parent  cffdd7ee34e28b75fc8525ef0653d0513613075f
    in src/lib/Make.inc change -melf_x86_64 to -64 for SunOS with $SAGE64 = yes
    
    diff -r cffdd7ee34e2 -r 613c3f02315a SPKG.txt
    a b  
    3333
    3434== ChangeLog ==
    3535
     36=== atlas-3.8.3.p11 (Jaap Spies, January 27th 2010) ===
     37 * For use with the Sun ld with SAGE64="yes" change ldflag -melf_86_64 to -64
     38 * See also the remarks from David Kirky on atlas-3.8.3.p5
     39
    3640=== atlas-3.8.3.p10 (David Kirkby, January 5th 2010) ===
    3741 * replace bitwidth.py which uses 'ctypes' at that is broken
    3842   on many platforms.
     43
    3944=== atlas-3.8.3.p7 (William Stein, Sept 21 2009) ===
    4045 * Make this into a dummy package on Cygwin that requires lapack.
    4146
  • spkg-install-script

    diff -r cffdd7ee34e2 -r 613c3f02315a spkg-install-script
    a b  
    7272        # now build the shared libraries
    7373        cd lib
    7474        # If the Sun linker is used, alter the Makefile to be suitable for the"
    75         # Sun linker. 
     75        # Sun linker.
     76        # If "xSAGE64" = xyes we change the ldflag -melf_x86_64 to -64.
    7677        if [ `uname` = "SunOS" ]; then
    7778          if [ "`ld  --version  2>&1  | grep GNU`" = "" ]; then
    7879             echo "The Makefile generated in ATLAS for building shared libraries"
     
    8687             echo "'--no-whole-archive' will be changed to '-zdefaultextract'"
    8788             echo "A copy of the original Makefile will be copied to Makefile.orig"
    8889             cp Makefile Makefile.orig
    89              sed 's/-shared/-G/g' Makefile > makefile
    90              sed 's/-soname/-h/g' makefile > Makefile
    91              sed 's/--whole-archive/-z allextract/g' Makefile > makefile
    92              sed 's/--no-whole-archive/-z defaultextract/g' makefile > Makefile
    93              rm makefile
     90             sed 's/-shared/-G/g' Makefile > makefile.tmp
     91             sed 's/-soname/-h/g' makefile.tmp > Makefile
     92             sed 's/--whole-archive/-z allextract/g' Makefile > makefile.tmp
     93             sed 's/--no-whole-archive/-z defaultextract/g' makefile.tmp > Makefile
     94             rm makefile.tmp
     95             if [ "x$SAGE64" = xyes ]; then
     96                sed 's/-melf_x86_64/-64/g' Make.inc > makeinc
     97                mv makeinc Make.inc
     98             fi
    9499          else
    95100             echo "WARNING You are using the GNU linker from 'binutils'"
    96101             echo "Generally it is considered better to use the Sun linker"