Ignore:
Timestamp:
Jan 28, 2015, 11:23:52 AM (5 years ago)
Author:
nicos@…
Message:

openblas: fix gcc build (ticket #46684),
fix file architecture

File:
1 edited

Legend:

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

    r129653 r132259  
    77
    88github.setup        xianyi OpenBLAS 0.2.13 v
     9
     10revision            1
    911
    1012conflicts           OpenBLAS-devel
     
    9799            }
    98100            if {![variant_isset clang]} {
    99                  puts $makeINC "COMMON_OPT = -O3 -march=native"
     101                 puts $makeINC "COMMON_OPT = -O3"
    100102            } else {
    101103                #Ensure to use the AVX-capable assembler
    102                 puts $makeINC "COMMON_OPT = -O3 -march=native \
     104                puts $makeINC "COMMON_OPT = -O3 \
    103105                    -specs=${prefix}/libexec/dragonegg/llvm33gcc48-integrated-as.specs"
    104106            }
     
    127129        }
    128130        if {![variant_isset clang]} {
    129             puts $makeINC "COMMON_OPT = -O3 -march=native"
     131            puts $makeINC "COMMON_OPT = -O3"
    130132        } else {
    131133            #Ensure to use the AVX-capable assembler
    132             puts $makeINC "COMMON_OPT = -O3 -march=native \
     134            puts $makeINC "COMMON_OPT = -O3 \
    133135                -specs=${prefix}/libexec/dragonegg/llvm33gcc48-integrated-as.specs"
    134136        }       
     
    158160        ${prefix}/lib/libopenblas-r${version}.dylib \
    159161        ${destroot}${prefix}/lib/libopenblas-r${version}.dylib"
     162    file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake
    160163    if {[variant_isset lapack]} {
    161164        #Install lapacke headers too
Note: See TracChangeset for help on using the changeset viewer.