Ticket #46175: Portfile-petsc.diff
File Portfile-petsc.diff, 1.7 KB (added by johannes.feist@…, 10 years ago) |
---|
-
Portfile
old new 28 28 29 29 depends_build-append \ 30 30 port:sowing \ 31 port:c2html \ 32 port:hwloc 31 port:c2html 33 32 34 33 patchfiles-append patch-env.diff 35 34 … … 76 75 --with-fc=0 \ 77 76 --with-shared-libraries \ 78 77 --with-c2html-dir=${prefix} \ 79 --without-x \ 80 --with-hwloc-dir=${prefix} 78 --without-x 81 79 82 80 variant accelerate description {Use Accelerate framework for LAPACK} conflicts atlas { 83 81 configure.args-append --with-blas-lapack-lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate … … 87 85 configure.args-append --with-blas-lapack-lib=${prefix}/lib/libtatlas.dylib 88 86 } 89 87 90 variant complex description {Build with support for complex numbers} conflicts sundials {88 variant complex description {Build with support for complex numbers} conflicts sundials hwloc { 91 89 configure.args-append --with-scalar-type=complex 92 90 configure.args-append --with-clanguage=C++ 93 91 } 94 92 93 variant hwloc description {Build with hwloc} conflicts complex { 94 depends_build-append port:hwloc 95 configure.args-append --with-hwloc-dir=${prefix} 96 } 97 95 98 variant suitesparse description {Build with CHOLDMOD and UMFPACK} { 96 99 depends_lib-append port:SuiteSparse 97 100 configure.args-append --with-suitesparse-dir=${prefix} … … 184 187 default_variants +accelerate 185 188 } 186 189 190 if {![variant_isset complex]} { 191 default_variants +hwloc 192 } 193 187 194 destroot.destdir DESTDIR=${destroot}${prefix}/lib/${name}