<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/adaabc7002775beba9456eb27e387fee1701d5d2">https://github.com/macports/macports-ports/commit/adaabc7002775beba9456eb27e387fee1701d5d2</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 adaabc7 opensubdiv: Disable parallel builds and add ld64 as build dep
</span>adaabc7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit adaabc7002775beba9456eb27e387fee1701d5d2
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu May 21 14:48:06 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> opensubdiv: Disable parallel builds and add ld64 as build dep
</span>---
graphics/opensubdiv/Portfile | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opensubdiv/Portfile b/graphics/opensubdiv/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b4af38..901e73b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opensubdiv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opensubdiv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,9 +34,16 @@ depends_lib-append port:tbb \
</span> port:ptex \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# /Library/Developer/CommandLineTools/usr/bin/ranlib: object: ../lib/OpenSubdiv.framework/Versions/A/OpenSubdiv malformed object (unknown load command 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Need updated compiler toolkit (ranlib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# object: ../lib/OpenSubdiv.framework/Versions/A/OpenSubdiv malformed object (unknown load command 0)
</span> depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cctools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cctools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ld64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Builds randomly fail, look like RACE condition...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# cmake -E touch_nocreate: failed to update "lib/OpenSubdiv.framework/OpenSubdiv"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1194
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,7 +78,13 @@ post-patch {
</span> configure.args -DCMAKE_BINDIR_BASE=${prefix}/share/${name} \
-DNO_CUDA=1 \
-DNO_CLEW=1 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DNO_OMP=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNO_OMP=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_AR=${prefix}/bin/ar \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_NM=${prefix}/bin/nm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_OBJDUMP=${prefix}/bin/objdump \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_RANLIB=${prefix}/bin/ranlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_STRIP=${prefix}/bin/strip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_LINKER=${prefix}/bin/ld
</span> if {${os.major} < 16} {
# OpenSubdiv uses features of Metal that were added starting
# in macOS 10.12 (e.g. MTLTessellationPartitionMode)
</pre><pre style='margin:0'>
</pre>