Changeset 142132 for trunk/dports/math


Ignore:
Timestamp:
Nov 4, 2015, 3:24:06 PM (4 years ago)
Author:
mmoll@…
Message:

arpack: add openblas variant. Closes #49579

File:
1 edited

Legend:

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

    r140910 r142132  
    6464}
    6565
    66 variant accelerate conflicts atlas description {build with Accelerate framework} {
     66variant accelerate conflicts atlas openblas description {build with Accelerate framework} {
    6767    # the change of LDFLAGS is required to avoid linking against the ATLAS ones
    6868    # if they are present; if we specify /usr/lib/libblas.dylib directly, the
     
    7676}
    7777
    78 variant atlas description {build with atlas} {
     78variant atlas conflicts accelerate openblas description {build with atlas} {
    7979    depends_lib-append port:atlas
    8080    configure.args-append --with-blas="-L${prefix}/lib -lsatlas"
    8181}
    8282
    83 if {![variant_isset atlas]} {
     83variant openblas conflicts accelerate atlas description {build with openblas} {
     84    depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
     85    configure.args-append --with-blas="-L${prefix}/lib -lopenblas"
     86}
     87
     88if {![variant_isset atlas] && ![variant_isset openblas]} {
    8489    default_variants +accelerate
    8590}
Note: See TracChangeset for help on using the changeset viewer.