Ticket #49231: Portfile-OpenBLAS.diff
File Portfile-OpenBLAS.diff, 2.1 KB (added by dstrubbe (David Strubbe), 9 years ago) |
---|
-
Portfile
5 5 PortGroup github 1.0 6 6 PortGroup muniversal 1.0 7 7 8 github.setup xianyi OpenBLAS 0.2.14 v 9 revision 2 10 11 conflicts OpenBLAS-devel 8 name OpenBLAS 12 9 categories math science 13 10 license BSD 14 11 maintainers nicos openmaintainer … … 21 18 archive_sites 22 19 23 20 patchfiles patch-libnoarch.diff \ 24 patch-linkLib.diff \ 25 patch-broadwell.diff \ 26 patch-deployTarget.diff 21 patch-linkLib.diff 27 22 28 checksums rmd160 b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \ 23 subport OpenBLAS-devel { } 24 25 if {[string first "-devel" $subport] > 0} { 26 github.setup xianyi OpenBLAS f27942a68ace 27 name ${github.project}-devel 28 version 20150926 29 conflicts OpenBLAS 30 31 fetch.type git 32 livecheck.url ${github.homepage}/commits/develop.atom 33 } else { 34 github.setup xianyi OpenBLAS 0.2.14 v 35 revision 2 36 conflicts OpenBLAS-devel 37 38 checksums rmd160 b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \ 29 39 sha256 aba5088534719cefd77e4155c281c56a3accd3eea218574c2c3d236952bb632b 40 patchfiles-append patch-broadwell.diff \ 41 patch-deployTarget.diff 42 } 30 43 31 44 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 clang \ 32 45 description "Use Gcc45 as compiler" { … … 164 177 system "install_name_tool -id \ 165 178 ${prefix}/lib/libopenblas-r${version}.dylib \ 166 179 ${destroot}${prefix}/lib/libopenblas-r${version}.dylib" 167 file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake 180 if {[string first "-devel" $subport] <= 0} { 181 file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake 182 } 168 183 if {[variant_isset lapack]} { 169 184 #Install lapacke headers too 170 185 xinstall -m 755 ${worksrcpath}/lapack-netlib/lapacke/include/lapacke_config.h \