Changeset 144142


Ignore:
Timestamp:
Jan 3, 2016, 6:09:12 AM (4 years ago)
Author:
mcalhoun@…
Message:

qrupdate: add variant to select OpenBlas (has typo fixed in r144143)

File:
1 edited

Legend:

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

    r144141 r144142  
    6868}
    6969
    70 variant atlas conflicts accelerate description {build with atlas instead of Accelerate framework} {
     70variant atlas conflicts accelerate openblas description {build with atlas instead of Accelerate framework} {
    7171    depends_lib-append      port:atlas
    7272    build.args-append       BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
     
    7575}
    7676
    77 variant accelerate conflicts atlas description {build with Accelerate framework} {
     77variant accelerate conflicts atlas openblas description {build with Accelerate framework} {
    7878    depends_lib-append      port:vecLibFort
    7979    build.args-append       BLAS=-lvecLibFort LAPACK="-framework Accelerate"
    8080    destroot.args-append    BLAS=-lvecLibFort LAPACK="-framework Accelerate"
    8181    test.args-append        BLAS=-lvecLibFort LAPACK="-framework Accelerate"
     82}
     83
     84variant openblas conflicts accelerate atlas description {build with Accelerate framework} {
     85    PortGroup               active_variants 1.1
     86
     87    depends_lib-append      path:lib/libopenblas.dylib:OpenBLAS
     88    # LAPACK required
     89    require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack
     90
     91    build.args-append       BLAS=-lopenblas   LAPACK=-lopenblas
     92    destroot.args-append    BLAS=-lopenblas   LAPACK=-lopenblas
     93    test.args-append        BLAS=-lvecLibFort LAPACK=-lvecLibFort
    8294}
    8395
Note: See TracChangeset for help on using the changeset viewer.