<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6daabc76ce3c739e866025f1836d79969f5432ec">https://github.com/macports/macports-ports/commit/6daabc76ce3c739e866025f1836d79969f5432ec</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 6daabc76ce3 OpenBLAS: Another attempt to @rpath issues
</span>6daabc76ce3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6daabc76ce3c739e866025f1836d79969f5432ec
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat May 15 22:27:36 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> OpenBLAS: Another attempt to @rpath issues
</span>---
math/OpenBLAS/Portfile | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/OpenBLAS/Portfile b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c20badfd68a..03495efb7d3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,7 +49,7 @@ if {[string first "-devel" $subport] > 0} {
</span> checksums rmd160 2d03e849cdd49ec6a2e35a6ad5aa4a462e850ebb \
sha256 001ee0cd7a3ed43ae7c8f920b4e637f2bf0c17cb0c75c4005a2ffc860b93adde \
size 12501920
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 2
</span>
name ${github.project}-devel
conflicts OpenBLAS
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,7 +68,7 @@ if {[string first "-devel" $subport] > 0} {
</span> checksums rmd160 8803a1bf4ab61176080a129fd2e8cded8dd90ee6 \
sha256 7a35dd2eb486cae48237c06de04a7794a97fc7fd65b08f60f70e1b2664829efa \
size 12502058
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 4
</span>
conflicts OpenBLAS-devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,15 +87,23 @@ if {[string first "-devel" $subport] > 0} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://build.macports.org/builders/ports-11_arm64-builder/builds/20461/steps/install-port/logs/stdio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Library not loaded: @rpath/libgfortran.5.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Referenced from: /opt/local/lib/libopenblas-r1.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Reason: image not found
</span> # Currently only affects arm builds, but in principle will affect all builds once changes in the gcc
# branch used on arm hit the intel builds, so do this across the board.
depends_build-append port:cctools
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "install_name_tool -add_rpath ${prefix}/lib/libgcc ${destroot}${prefix}/lib/libopenblas-r1.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set l ${destroot}${prefix}/lib/libopenblas-r1.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://build.macports.org/builders/ports-11_arm64-builder/builds/20461/steps/install-port/logs/stdio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Library not loaded: @rpath/libgfortran.5.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Referenced from: /opt/local/lib/libopenblas-r1.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Reason: image not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change @rpath/libgfortran.5.dylib ${prefix}/lib/libgcc/libgfortran.5.dylib ${l}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Something is really screwy in the OpenBLAS build to need this next fixup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://build.macports.org/builders/ports-11_arm64-builder/builds/20479/steps/install-port/logs/stdio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/62727
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Library not loaded: @rpath/libgcc_s.1.1.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Referenced from: /opt/local/lib/libopenblas-r1.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Reason: image not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change @rpath/libgcc_s.1.1.dylib ${prefix}/lib/libgcc/libgcc_s.1.dylib ${l}"
</span> }
compilers.choose fc
</pre><pre style='margin:0'>
</pre>