Changeset 143762 for trunk/dports/math


Ignore:
Timestamp:
Dec 21, 2015, 1:49:19 AM (4 years ago)
Author:
sean@…
Message:

superlu_dist: update to 4.2

File:
1 edited

Legend:

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

    r140101 r143762  
    66
    77name                superlu_dist
    8 version             4.1
     8version             4.2
    99categories          math
    1010license             BSD
     
    2222worksrcdir          SuperLU_DIST_${version}
    2323
    24 checksums           rmd160  0212b417c4187ece0a249f5e1545adea75074840 \
    25                     sha256  8afb48036e9b3020d268d49d5a3711aaed2f65105747aa6a111ff8f64dcde93e
     24checksums           rmd160  0ede46faeb254804e2f7538158a3469c0803f1ba \
     25                    sha256  9ef541cac5c2ad635ec2965e6a9a3e616efea583e8a953c12bfe11c2f15eec54
    2626
    2727compilers.choose    cc cxx
     
    3838
    3939build.target        lib
    40 build.args          LAAUX=""
     40build.args          LAAUX="smach.o dmach.o"
    4141
    4242post-extract {
    4343    reinplace "s|^DSuperLUroot.*$|DSuperLUroot = ${worksrcpath}|" ${worksrcpath}/make.inc
     44    reinplace "s|^ PARMETIS_DIR.*$|PARMETIS_DIR = ${prefix}|" ${worksrcpath}/make.inc
    4445    reinplace "s|^PARMETISLIB.*$|PARMETISLIB = -L${prefix}/lib -lparmetis|" ${worksrcpath}/make.inc
    4546    reinplace "s|^METISLIB.*$|METISLIB = -L${prefix}/lib -lmetis|" ${worksrcpath}/make.inc
    46     reinplace "s|^ARCHFLAGS.*$|ARCHFLAGS = cr|" ${worksrcpath}/make.inc
    4747    reinplace "s|^IMPI.*$||" ${worksrcpath}/make.inc
    4848    reinplace "s|^CC.*$|CC = ${mpi.cc}|" ${worksrcpath}/make.inc
     
    5353}
    5454
    55 destroot {
     55post-build {
    5656    # make shared libraries
    5757    system -W ${worksrcpath}/SRC "${mpi.cc} *.o -framework Accelerate -L${prefix}/lib -lparmetis -lmetis -dynamiclib -all_load -Wl,-headerpad_max_install_names,-multiply_defined,suppress,-commons,use_dylibs,-search_paths_first -install_name ${prefix}/lib/lib${distname}.dylib -o ../lib/lib${distname}.dylib"
     58}
    5859
     60destroot {
    5961    xinstall -W ${worksrcpath}/SRC -m 644 Cnames.h dcomplex.h machines.h old_colamd.h \
    6062        psymbfact.h superlu_ddefs.h superlu_defs.h superlu_zdefs.h util_dist.h supermatrix_dist.h \
Note: See TracChangeset for help on using the changeset viewer.