Changeset 144149


Ignore:
Timestamp:
Jan 3, 2016, 7:17:55 AM (4 years ago)
Author:
mcalhoun@…
Message:

arpack, qrupdate, SuiteSparse: use vecLibFort instead of Accelerate Framework

  • Octave can crash unless it uses vecLibFort and its dependents do not use Accelerate Framework (run test suite to confirm)
Location:
trunk/dports/math
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/SuiteSparse/Portfile

    r144148 r144149  
    88epoch               20120107
    99version             4.2.1
    10 revision            3
     10revision            4
    1111categories          math science
    1212platforms           darwin
     
    7474    # select BLAS and LAPACK
    7575
    76     set BLAS "-framework Accelerate"
     76    set BLAS "${prefix}/lib/vecLibFort.dylib"
    7777    if {[variant_isset atlas]} {
    7878        # Threaded lib gets priority over non-threaded (ppc)
     
    129129    }
    130130
    131     set atlas "-framework Accelerate"
     131    set atlas "-lvecLibFort"
    132132    if {[variant_isset atlas]} {
    133133        if {[file exists ${prefix}/lib/libtatlas.dylib]} {
  • trunk/dports/math/arpack/Portfile

    r144140 r144149  
    1010github.setup        opencollab arpack-ng 3.3.0
    1111name                arpack
    12 revision            1
     12revision            2
    1313categories          math
    1414license             BSD
     
    6363
    6464variant accelerate conflicts atlas openblas description {build with Accelerate framework} {
    65     # the change of LDFLAGS is required to avoid linking against the ATLAS ones
    66     # if they are present; if we specify /usr/lib/libblas.dylib directly, the
    67     # linking fails. http://forge.scilab.org/index.php/p/arpack-ng/issues/1220/
    68     configure.args-delete  LDFLAGS=''
    69     configure.args-append  LDFLAGS='/usr/lib/libblas.dylib /usr/lib/liblapack.dylib' --with-blas="-lblas -llapack"
     65    configure.args-append --with-blas="-L${prefix}/lib -lvecLibFort"
    7066}
    7167
  • trunk/dports/math/qrupdate/Portfile

    r144146 r144149  
    1111name                qrupdate
    1212version             1.1.2
    13 revision            3
     13revision            4
    1414# upstream follows a weird folder naming policy, we need last two digits of version separated by a dot
    1515set branch          [join [lrange [split ${version} .] 1 2] .]
     
    7777variant accelerate conflicts atlas openblas description {build with Accelerate framework} {
    7878    depends_lib-append      port:vecLibFort
    79     build.args-append       BLAS=-lvecLibFort LAPACK="-framework Accelerate"
    80     destroot.args-append    BLAS=-lvecLibFort LAPACK="-framework Accelerate"
    81     test.args-append        BLAS=-lvecLibFort LAPACK="-framework Accelerate"
     79    build.args-append       BLAS=-lvecLibFort LAPACK=-lvecLibFort
     80    destroot.args-append    BLAS=-lvecLibFort LAPACK=-lvecLibFort
     81    test.args-append        BLAS=-lvecLibFort LAPACK=-lvecLibFort
    8282}
    8383
Note: See TracChangeset for help on using the changeset viewer.