<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dfae4885173aa8daafc9cc502dd9ec66d489c93f">https://github.com/macports/macports-ports/commit/dfae4885173aa8daafc9cc502dd9ec66d489c93f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dfae4885173aa8daafc9cc502dd9ec66d489c93f
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue May 16 11:14:42 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> starpu: build with mpich
</span>---
devel/starpu/Portfile | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/starpu/Portfile b/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2a24fd23ade..cb1d9b2d3a6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup compilers 1.0
</span> PortGroup github 1.0
PortGroup linear_algebra 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup mpi 1.0
</span>
# clock_gettime
legacysupport.newest_darwin_requires_legacy 15
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,13 +40,20 @@ patchfiles-append patch-starpu_mpi_world_rank.diff
</span> compiler.blacklist-append \
*gcc-4.* {clang < 400}
compilers.choose fc f90 f77 cc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compilers.setup require_fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Until mpich-defailt is enabled with gcc:
</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 \
</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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
use_autoreconf yes
autoreconf.cmd ./autogen.sh
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append \
port:autoconf \
port:automake \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,5 +62,12 @@ depends_build-append \
</span> depends_lib-append port:hdf5 \
port:hwloc
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-mpiexec=${prefix}/bin/${mpi.exec} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-mpicc=${prefix}/bin/${mpi.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-mpicxx=${prefix}/bin/${mpi.cxx} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-mpifort=${prefix}/bin/${mpi.f90}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>