<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9fcacea66fb6d1210c1c949df4be55683e792708">https://github.com/macports/macports-ports/commit/9fcacea66fb6d1210c1c949df4be55683e792708</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 9fcacea66fb psblas3: new port in math
</span>9fcacea66fb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9fcacea66fb6d1210c1c949df4be55683e792708
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Feb 3 03:14:16 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> psblas3: new port in math
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
</span>---
math/psblas3/Portfile | 49 ++++++++++++++++++++++++++++++
math/psblas3/files/patch-install-dirs.diff | 24 +++++++++++++++
2 files changed, 73 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/psblas3/Portfile b/math/psblas3/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..190edb3e98b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/psblas3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup linear_algebra 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup mpi 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup sfilippone psblas3 3.8.0-2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math science parallel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Library of parallel sparse linear algebra on high performance computer.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 bc8a7ccd242349615806ea7a1e704bc5ab9bbba9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a3d69120a766e1b2a08db369381782e5950c2e4b7f1d179803e096c696c39e74 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2594502
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:metis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:SuiteSparse_AMD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpi.setup require require_fortran \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gcc44 -gcc45 -gcc46 -gcc47 -gcc48 -gcc49 -gcc5 -gcc6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -clang -fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpi.setup require require_fortran \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gcc44 -gcc45 -gcc46 -gcc47 -gcc48 -gcc49 -gcc5 -gcc6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-install-dirs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env MPIFC=${prefix}/bin/${mpi.f90} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MPICC=${prefix}/bin/${mpi.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-openmp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-blas="${linalglib}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-metis="${prefix}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${destroot}${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.openmp_version 3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/sfilippone/psblas3/issues/26
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.allow_arguments_mismatch yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/psblas3/files/patch-install-dirs.diff b/math/psblas3/files/patch-install-dirs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..469fbe82a6e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/psblas3/files/patch-install-dirs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-08-05 21:19:35.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-02-03 01:48:20.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2898,17 +2898,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $includedir in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \/* ) eval "INSTALL_INCLUDEDIR=$includedir";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ) eval "INSTALL_INCLUDEDIR=$INSTALL_DIR/include";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ) eval "INSTALL_INCLUDEDIR=$INSTALL_DIR/include/psblas";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $docsdir in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \/* ) eval "INSTALL_DOCSDIR=$docsdir";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ) eval "INSTALL_DOCSDIR=$INSTALL_DIR/docs";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ) eval "INSTALL_DOCSDIR=$INSTALL_DIR/share/psblas/docs";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $samplesdir in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \/* ) eval "INSTALL_SAMPLESDIR=$samplesdir";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ) eval "INSTALL_SAMPLESDIR=$INSTALL_DIR/samples";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ) eval "INSTALL_SAMPLESDIR=$INSTALL_DIR/share/psblas/samples";;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INSTALL_MODULESDIR=$INSTALL_DIR/modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALL_MODULESDIR=$INSTALL_DIR/include/psblas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_DIR $INSTALL_INCLUDEDIR $INSTALL_MODULESDIR $INSTALL_LIBDIR $INSTALL_DOCSDIR $INSTALL_SAMPLESDIR" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo "$INSTALL_DIR $INSTALL_INCLUDEDIR $INSTALL_MODULESDIR $INSTALL_LIBDIR $INSTALL_DOCSDIR $INSTALL_SAMPLESDIR" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>