<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d2b861341d8ad7d8a67d32aa901c7789245462d8">https://github.com/macports/macports-ports/commit/d2b861341d8ad7d8a67d32aa901c7789245462d8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d2b861341d8 sundials: update to 5.7.0
</span>d2b861341d8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d2b861341d8ad7d8a67d32aa901c7789245462d8
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sat Mar 20 13:31:20 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> sundials: update to 5.7.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/60718
</span>---
math/sundials/Portfile | 29 +++++++++++++----------------
math/sundials/files/patch-find_lapack.diff | 18 ------------------
2 files changed, 13 insertions(+), 34 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 98043544f50..bf5620e3d7d 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;'>@@ -5,8 +5,8 @@ PortGroup cmake 1.1
</span> PortGroup mpi 1.0
name sundials
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.1.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.7.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories math devel
license BSD
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,16 +25,15 @@ long_description SUNDIALS consists of the following five solvers: CVODE\
</span> systems.
homepage https://computation.llnl.gov/projects/sundials
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://computation.llnl.gov/projects/sundials-suite-nonlinear-differential-algebraic-equation-solvers/download/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://github.com/LLNL/sundials/releases/download/v${version}/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 fb764549f2a6e74c2850b69f235ffff46a3bd6d3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a8985bb1e851d90e24260450667b134bc13d71f5c6effc9e1d7183bd874fe116 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 18212893
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname sundials-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts sundials2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2818d3d841b7e65df4997f2bf4881988064add30 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 48da7baa8152ddb22aed1b02d82d1dbb4fbfea22acf67634011aa0303a100a43 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 22612286
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# use default cmake behavior to find Lapack
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-find_lapack.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts sundials2
</span>
depends_lib-append port:SuiteSparse_KLU
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,18 +48,16 @@ configure.args-append \
</span> -DEXAMPLES_ENABLE_CXX=OFF \
-DEXAMPLES_ENABLE_F77=OFF \
-DEXAMPLES_ENABLE_F90=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBLAS_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;'>- -DFCMIX_ENABLE=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DKLU_ENABLE=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_LAPACK=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_KLU=ON \
</span> -DKLU_LIBRARY_DIR=${prefix}/lib \
-DKLU_INCLUDE_DIR=${prefix}/include \
-DMPI_ENABLE=OFF
pre-configure {
if {[mpi_variant_isset]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete -DMPI_ENABLE=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DMPI_ENABLE=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DENABLE_MPI=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DENABLE_MPI=ON \
</span> -DMPI_MPICC=${prefix}/bin/${mpi.cc} \
-DMPI_MPICXX=${prefix}/bin/${mpi.cxx} \
-DMPI_MPIF77=${prefix}/bin/${mpi.f77} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,7 +97,7 @@ variant examples description {Install Examples} {
</span> # from CMakeLists.txt:
# LAPACK is not compatible with INT64_T precision
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DSUNDIALS_INDEX_TYPE=int32_t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSUNDIALS_INDEX_SIZE=32
</span>
variant accelerate conflicts atlas openblas description {Use Apple Accelerate Libraries} {
configure.args-append -DBLA_VENDOR=Apple
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/sundials/files/patch-find_lapack.diff b/math/sundials/files/patch-find_lapack.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d5d63327db2..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/sundials/files/patch-find_lapack.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- config/SundialsLapack.cmake.orig 2018-07-31 10:25:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ config/SundialsLapack.cmake 2018-08-27 09:42:16.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -19,15 +19,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # a working Fortran compiler) or look for them in the most
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # obvious place...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(NOT LAPACK_LIBRARIES)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if(F77_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include(FindLAPACK)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else(F77_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- find_library(LAPACK_LIBRARIES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- NAMES lapack
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PATHS /usr/lib /usr/local/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "$ENV{ProgramFiles}/LAPACK/Lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- endif(F77_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If the xSDK flag is used, set it to what was found
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(LAPACK_LIBRARIES AND TPL_ENABLE_LAPACK)
</span></pre><pre style='margin:0'>
</pre>