<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/5382d259b43c072274081f7fe0ea57253fad8974">https://github.com/macports/macports-ports/commit/5382d259b43c072274081f7fe0ea57253fad8974</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 5382d259b43 starpu13: new port, bringing back StarPU 1.3 branch
</span>5382d259b43 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5382d259b43c072274081f7fe0ea57253fad8974
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Aug 27 03:07:52 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> starpu13: new port, bringing back StarPU 1.3 branch
</span>---
devel/starpu13/Portfile | 63 +++++++++++++++++++++++++++++++++++
devel/starpu13/files/autogen.sh.patch | 21 ++++++++++++
2 files changed, 84 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/starpu13/Portfile b/devel/starpu13/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..01d3cda236b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/starpu13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,63 @@
</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 compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compilers 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 legacysupport 1.1
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clock_gettime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# StarPU maintains both the latest 1.4 branch and 1.3, and some ports want the latter.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For the time-being, have both in Macports as well. They do not conflict, see below.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup starpu-runtime starpu 1.3.11 starpu-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name starpu13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1
</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;'>+description Unified runtime system for heterogeneous multicore architectures
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description StarPU is a runtime system that offers support for heterogeneous multicore machines. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ While many efforts are devoted to design efficient computation kernels \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for those architectures (e.g. to implement BLAS kernels on GPUs), StarPU \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ not only takes care of offloading such kernels (and implementing data coherency \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ across the machine), but it also makes sure the kernels are executed as efficiently as possible.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://starpu.gitlabpages.inria.fr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b2ea9730cbd2ef0c736558d5f7f96bd52cd14cc4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 43b27c48a37722ba0e596684ba2e723d72b0f6b020a12c25843f8306049a5af0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7300244
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles autogen.sh.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *gcc-4.* {clang < 400}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.choose fc f90 f77 cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compilers.setup require_fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.cmd ./autogen.sh
</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;'>+ --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${prefix}/libexec/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The following option allows for non-conflicting installation of binaries into ${prefix}/bin;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# However it does not work neatly, and multiple files will need to be patched in that case.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Furthermore, given the number of components that get installed, having multiple versions of StarPU
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# directly in ${prefix} quickly becomes a mess, even though headers and dylibs are versioned (but pkgconfig files are not).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# It appears to make a better sense, and far less painful to maintain, just to set a custom prefix.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# --program-suffix="-1.3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:hdf5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hwloc
</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/devel/starpu13/files/autogen.sh.patch b/devel/starpu13/files/autogen.sh.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9c214ab9290
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/starpu13/files/autogen.sh.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Avoid error output when libtool is Apple libtool.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Print errors to stderr not stdout.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This patch should be sent to the developers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- autogen.sh.orig 2022-11-15 09:40:57.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ autogen.sh 2023-05-02 20:45:50.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,12 +14,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See the GNU Lesser General Public License in COPYING.LGPL for more details.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ! libtool --version > /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if ! libtool --version >/dev/null 2>&1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Perhaps we are on a Mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ! glibtool --version > /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ! glibtool --version >/dev/null 2>&1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "GNU Libtool is missing, please install it and fix the PATH to it."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "GNU Libtool is missing, please install it and fix the PATH to it." >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ export LIBTOOL=glibtool
</span></pre><pre style='margin:0'>
</pre>