Ticket #14429: singular-3-1-5.p7.diff

File singular-3-1-5.p7.diff, 1.6 KB (added by jdemeyer, 9 years ago)
  • SPKG.txt

    # HG changeset patch
    # User Jeroen Demeyer <jdemeyer@cage.ugent.be>
    # Date 1365502500 -7200
    # Node ID 4beebcf071d5efa30e61f5a75c231587bd9e05e1
    # Parent  a27fc120ee07236bd41c580d2c349eaac3eb405f
    #14429: On sparc processors, configure with --with-align=8
    
    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    8989
    9090== ChangeLog ==
    9191
     92=== singular-3-1-5.p7 (Jeroen Demeyer, 9 April 2013) ===
     93 * #14429: On sparc processors, build with --with-align=8.
     94
    9295=== singular-3-1-5.p6 (Jeroen Demeyer, 5 April 2013) ===
    9396 * #14415: Add osx_link.patch to fix linker problems on OS X 10.4 PPC
    9497   with GCC 4.7.2.
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    1414fi
    1515
    1616# disable the dynamic kernel, except on Linux
    17 if [ "$UNAME" = "Linux" ]; then
    18     DYNAMIC_KERNEL=""
    19 else
    20     DYNAMIC_KERNEL="--without-dynamic-kernel"
     17if [ "$UNAME" != "Linux" ]; then
     18    SINGULAR_CONFIGURE="--without-dynamic-kernel $SINGULAR_CONFIGURE"
    2119fi
    2220
    2321if [ "$UNAME" = "Darwin" ]; then
     
    2826    unset LD
    2927fi
    3028
     29# On SPARC, we need 8-byte alignment for 64-bit integers
     30if uname -p | grep sparc >/dev/null; then
     31    SINGULAR_CONFIGURE="--with-align=8 $SINGULAR_CONFIGURE"
     32fi
     33
     34
    3135if [ "x$SAGE_DEBUG" = "xyes" ]; then
    3236    WITH_DEBUG="--with-debug"
    3337    ENABLE_DEBUGOUTPUT="--enable-debugoutput"
     
    149153                --enable-libfac \
    150154                --enable-IntegerProgramming \
    151155                --disable-doc \
    152                 $DYNAMIC_KERNEL \
     156                $SINGULAR_CONFIGURE \
    153157                --with-debug
    154158
    155159    if [ $? -ne 0 ]; then