Ticket #9808: 9808-Fortran-issues-in-SciPy.patch

File 9808-Fortran-issues-in-SciPy.patch, 3.1 KB (added by drkirkby, 11 years ago)

Sets F77, F90 and F95 so SciPy? really does use the Fortran compiler we want. Setting FC alone is insufficient.

  • SPKG.txt

    # HG changeset patch
    # User David Kirkby <david.kirkby@onetel.net>
    # Date 1286375656 -3600
    # Node ID 44ee8131ef745688df4b4c191da0f67320853618
    # Parent  cd21513d1bfae8f1483970516bdb2e231192c220
    #9808 Export F77, F90, F95 as FC was not sufficient. Added missing sections to SPKG.txt
    
    diff -r cd21513d1bfa -r 44ee8131ef74 SPKG.txt
    a b  
    11= scipy =
    22
    3 == maintainers ==
     3== Description ==
     4SciPy (pronounced "Sigh Pie") is open-source software for mathematics,
     5science, and engineering. The SciPy library depends on NumPy, which provides
     6convenient and fast N-dimensional array manipulation. The SciPy library is
     7built to work with NumPy arrays, and provides many user-friendly and efficient
     8numerical routines such as routines for numerical integration and optimization.
     9Together, they run on all popular operating systems, are quick to install, and
     10are free of charge. NumPy and SciPy are easy to use, but powerful enough to be
     11depended upon by some of the world's leading scientists and engineers.
     12
     13== License ==
     14SciPy's license is free for both commercial and non-commercial use, under the
     15BSD terms. See http://www.scipy.org/License_Compatibility
     16
     17== SPKG Maintainers ==
    418 * William Stein
    519 * Josh Kantor
    620 * Jason Grout
    721
     22== Upstream Contact ==
     23 http://www.scipy.org/
     24
     25== Dependencies ==
     26 * Python, which in Sage has numerous dependencies
     27 * Numpy
     28 * Fortran
     29
     30== Special Update/Build Instructions ==
     31 * None
     32
    833== Changelog ==
    934
    10 == scipy-0.8 (Stefan Reiterer; 13 September 2010) ===
    11  * upgrade to scipy 0.8.
    12  * deleted outdated patches
    13  * spkg install changed by F. Bissey, because g95
    14    makes trouble on OS X.
     35== scipy-0.8 (S. Reiterer, F. Bissey, D. Kirkby; 6th October 2010) ===
     36 * #9808 Upgrade to scipy 0.8.
     37 * Deleted outdated patches
     38 * spkg install changed by F. Bissey, because g95 makes trouble on OS X.
     39 * Exported FC, F77, F90 and F95 so SciPy does use the compiler
     40   we specify. Just setting FC was insufficient on a Sun with Fortran compilers
     41   in /usr/bin/f77 and /usr/bin/f90. The variable F95 was only set as a
     42   precautionary measure
     43 * Added "License information", "Upstream Contact", "Dependencies" and
     44   "Special Update/Build Instructions" section to SPKG.txt
     45 * Changed "maintainer" to "SPKG Maintainers" in SPKG.txt to be consistent with
     46   what is stated in the Sage Developers Guide.
    1547
    1648=== scipy-0.7.1 (Jason Grout; 12 Nov 2009) ===
    1749 * upgrade to scipy 0.7.1.  The optimize.py patch still needs to be applied in this version of scipy.
  • spkg-install

    diff -r cd21513d1bfa -r 44ee8131ef74 spkg-install
    a b  
    1818    export LAPACK
    1919    export LDFLAGS="-shared"
    2020fi
    21 export FC="${SAGE_LOCAL}/bin/sage_fortran"
     21export FC="$SAGE_LOCAL/bin/sage_fortran"
     22export F77="$SAGE_LOCAL/bin/sage_fortran"
     23export F90="$SAGE_LOCAL/bin/sage_fortran"
     24export F95="$SAGE_LOCAL/bin/sage_fortran"
    2225
    2326
    2427# This avoid problems on some systems -- until we officially