<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/36a04bb13b7260cc1962d121e83aa69fb195016a">https://github.com/macports/macports-ports/commit/36a04bb13b7260cc1962d121e83aa69fb195016a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 36a04bb13b7260cc1962d121e83aa69fb195016a
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Aug 27 13:06:24 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> sundials: update version 3.1.0->3.1.2
</span>---
math/sundials/Portfile | 46 +++++++++++-----------------------------------
1 file changed, 11 insertions(+), 35 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/sundials/Portfile b/math/sundials/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d1e972f..4eca77a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/sundials/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/sundials/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,8 +6,7 @@ PortGroup mpi 1.0
</span> PortGroup cxx11 1.1
name sundials
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.1.2
</span> categories math devel
license BSD
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,8 +27,9 @@ long_description SUNDIALS consists of the following five solvers: CVODE\
</span> homepage https://computation.llnl.gov/projects/sundials
master_sites https://computation.llnl.gov/projects/sundials-suite-nonlinear-differential-algebraic-equation-solvers/download/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f2f77ea9ff638bc5f32daeba30ebda2e0c85073a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 18d52f8f329626f77b99b8bf91e05b7d16b49fde2483d3a0ea55496ce4cdd43a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fb764549f2a6e74c2850b69f235ffff46a3bd6d3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a8985bb1e851d90e24260450667b134bc13d71f5c6effc9e1d7183bd874fe116 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 18212893
</span>
conflicts sundials2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,7 @@ configure.args-append \
</span> -DEXAMPLES_ENABLE_F77=OFF \
-DEXAMPLES_ENABLE_F90=OFF \
-DBLAS_ENABLE=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLAPACK_ENABLE=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DLAPACK_ENABLE=ON \
</span> -DFCMIX_ENABLE=ON \
-DKLU_ENABLE=ON \
-DKLU_LIBRARY_DIR=${prefix}/lib \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,15 +84,7 @@ configure.args-append \
</span> configure.env-append SDKROOT="/"
variant examples description {Install Examples} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # F77 examples fail with:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #Undefined symbols for architecture x86_64:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # "_F2C_ARKODE_mass_matrix", referenced from:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # _farkdlsmassinit_ in libsundials_farkode.a(farkode.c.o)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # _farkfree_ in libsundials_farkode.a(farkode.c.o)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # "_F2C_ARKODE_matrix", referenced from:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # _farkdlsinit_ in libsundials_farkode.a(farkode.c.o)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # _farkfree_ in libsundials_farkode.a(farkode.c.o)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set example_langs {C CXX F90}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set example_langs {C CXX F90 F77}
</span> foreach lang ${example_langs} {
configure.args-replace \
-DEXAMPLES_ENABLE_${lang}=OFF \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,30 +92,14 @@ variant examples description {Install Examples} {
</span> }
configure.args-append \
-DEXAMPLES_INSTALL_PATH=${prefix}/share/examples/${name}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant lapack conflicts fortran_klu description {Enable LAPACK support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # from CMakeLists.txt:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # LAPACK is not compatible with INT64_T precision
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# from CMakeLists.txt:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# LAPACK is not compatible with INT64_T precision
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span> -DSUNDIALS_INDEX_TYPE=int32_t
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLAPACK_ENABLE=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLAPACK_ENABLE=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant fortran_klu conflicts lapack description {Build Fortran interface to KLU} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # from src/sunlinsol_klu/CMakeLists.txt:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # The Fortran interface to KLU is not compatible with INT32_T
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DSUNDIALS_INDEX_TYPE=int64_t
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset lapack] && ![variant_isset fortran_klu]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +fortran_klu
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant accelerate conflicts atlas openblas description {Use Apple Accelerate Libraries} {
configure.args-append -DBLA_VENDOR=Apple
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -168,7 +144,7 @@ variant doc description {install pdf documentation} {
</span> # LICENSE file is installed in a bad location
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/LICENSE ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/include/sundials/LICENSE ${destroot}${prefix}/share/doc/${name}
</span> }
livecheck.url https://computation.llnl.gov/projects/sundials/sundials-software
</pre><pre style='margin:0'>
</pre>