[143762] trunk/dports/math/superlu_dist/Portfile
sean at macports.org
sean at macports.org
Sun Dec 20 17:49:19 PST 2015
Revision: 143762
https://trac.macports.org/changeset/143762
Author: sean at macports.org
Date: 2015-12-20 17:49:19 -0800 (Sun, 20 Dec 2015)
Log Message:
-----------
superlu_dist: update to 4.2
Modified Paths:
--------------
trunk/dports/math/superlu_dist/Portfile
Modified: trunk/dports/math/superlu_dist/Portfile
===================================================================
--- trunk/dports/math/superlu_dist/Portfile 2015-12-21 01:49:18 UTC (rev 143761)
+++ trunk/dports/math/superlu_dist/Portfile 2015-12-21 01:49:19 UTC (rev 143762)
@@ -5,7 +5,7 @@
PortGroup mpi 1.0
name superlu_dist
-version 4.1
+version 4.2
categories math
license BSD
platforms darwin
@@ -21,8 +21,8 @@
distname ${name}_${version}
worksrcdir SuperLU_DIST_${version}
-checksums rmd160 0212b417c4187ece0a249f5e1545adea75074840 \
- sha256 8afb48036e9b3020d268d49d5a3711aaed2f65105747aa6a111ff8f64dcde93e
+checksums rmd160 0ede46faeb254804e2f7538158a3469c0803f1ba \
+ sha256 9ef541cac5c2ad635ec2965e6a9a3e616efea583e8a953c12bfe11c2f15eec54
compilers.choose cc cxx
mpi.setup require
@@ -37,13 +37,13 @@
configure.cxxflags ${configure.cflags}
build.target lib
-build.args LAAUX=""
+build.args LAAUX="smach.o dmach.o"
post-extract {
reinplace "s|^DSuperLUroot.*$|DSuperLUroot = ${worksrcpath}|" ${worksrcpath}/make.inc
+ reinplace "s|^ PARMETIS_DIR.*$|PARMETIS_DIR = ${prefix}|" ${worksrcpath}/make.inc
reinplace "s|^PARMETISLIB.*$|PARMETISLIB = -L${prefix}/lib -lparmetis|" ${worksrcpath}/make.inc
reinplace "s|^METISLIB.*$|METISLIB = -L${prefix}/lib -lmetis|" ${worksrcpath}/make.inc
- reinplace "s|^ARCHFLAGS.*$|ARCHFLAGS = cr|" ${worksrcpath}/make.inc
reinplace "s|^IMPI.*$||" ${worksrcpath}/make.inc
reinplace "s|^CC.*$|CC = ${mpi.cc}|" ${worksrcpath}/make.inc
reinplace "s|^CFLAGS.*$|CFLAGS = ${configure.cflags} \\\\|" ${worksrcpath}/make.inc
@@ -52,10 +52,12 @@
file rename ${worksrcpath}/SRC/supermatrix.h ${worksrcpath}/SRC/supermatrix_dist.h
}
-destroot {
+post-build {
# make shared libraries
system -W ${worksrcpath}/SRC "${mpi.cc} *.o -framework Accelerate -L${prefix}/lib -lparmetis -lmetis -dynamiclib -all_load -Wl,-headerpad_max_install_names,-multiply_defined,suppress,-commons,use_dylibs,-search_paths_first -install_name ${prefix}/lib/lib${distname}.dylib -o ../lib/lib${distname}.dylib"
+}
+destroot {
xinstall -W ${worksrcpath}/SRC -m 644 Cnames.h dcomplex.h machines.h old_colamd.h \
psymbfact.h superlu_ddefs.h superlu_defs.h superlu_zdefs.h util_dist.h supermatrix_dist.h \
${destroot}${prefix}/include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151220/d4ca5ed3/attachment.html>
More information about the macports-changes
mailing list