Ignore:
Timestamp:
Jan 23, 2014, 8:13:19 PM (6 years ago)
Author:
sean@…
Message:

plda: use mpi portgroup

File:
1 edited

Legend:

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

    r111272 r116356  
    33
    44PortSystem          1.0
     5PortGroup           mpi 1.0
     6
     7compilers.choose    cc cxx
     8mpi.choose
     9mpi.setup
    510
    611name                plda
    712version             3.1
    8 revision            2
     13revision            3
    914categories          math textproc
    1015maintainers         hum openmaintainer
     
    3035
    3136build.target        lda infer
    32 build.args          CC=${configure.cxx} \
     37
     38pre-build {
     39    build.args      CC=${configure.cxx} \
    3340                    CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
     41}
    3442
    35 variant mpi description {Add parallel lda} {
    36     depends_lib         path:bin/mpicc-mp:mpich-default
     43if {[mpi_variant_isset]} {
    3744    build.target        lda infer mpi_lda
    3845    post-extract {
    39         reinplace "s/mpicxx/mpicxx-mp -Wno-type-safety/" Makefile
     46        reinplace "s/mpicxx/${mpi.cxx} -Wno-type-safety/" Makefile
    4047    }
    4148    post-destroot {
     
    4350    }
    4451}
    45    
     52
    4653destroot {
    4754    # install binaries as 'plda' and 'plda_infer'.
Note: See TracChangeset for help on using the changeset viewer.