Skip to content
Permalink
Browse files

lapack: update to 3.8.0. install C headers in ${prefix}/include/lapac…

…k to avoid conflict with atlas

Closes: https://trac.macports.org/ticket/55957
  • Loading branch information
tenomoto committed Mar 11, 2018
1 parent f60e506 commit f4736023365a7fca14be6b4556f98a4f43228236
Showing with 6 additions and 4 deletions.
  1. +6 −4 math/lapack/Portfile
@@ -5,7 +5,7 @@ PortGroup cmake 1.0
PortGroup compilers 1.0

name lapack
version 3.7.1
version 3.8.0
categories math devel science
platforms darwin
license BSD
@@ -19,9 +19,8 @@ long_description \
homepage http://www.netlib.org/${name}/
master_sites ${homepage}

checksums rmd160 db7d1e3cd904d01459db3c40bc613cb8738ad114 \
sha256 f6c53fd9f56932f3ddb3d5e24c1c07e4cd9b3b08e7f89de9c867125eecc9a1c8
extract.suffix .tgz
checksums rmd160 ff306181c4c125e7594c57c1eeece8b0aa8f8523 \
sha256 deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6

compilers.choose cc fc f77 f90
compilers.setup require_fortran -clang -llvm -dragonegg
@@ -40,6 +39,7 @@ configure.args-append \
-DBUILD_SHARED_LIBS=ON \
-DCBLAS=ON \
-DLAPACKE=ON \
-DCMAKE_INSTALL_INCLUDEDIR=${prefix}/include/${name} \
-DCMAKE_INSTALL_LIBDIR=${prefix}/lib/${name} \
-DCMAKE_INSTALL_RPATH=${prefix}/lib/${name} \
-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/${name}
@@ -49,3 +49,5 @@ variant accelerate description {use BLAS in Accelerate.framework} {
configure.args-append -DUSE_OPTIMIZED_BLAS=ON
configure.ldflags-append -lvecLibFort
}

notes "C headers are installed in ${prefix}/include/${name}."

0 comments on commit f473602

Please sign in to comment.
You can’t perform that action at this time.