<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/33b4357779ad4047048c23470816d43c2e15ec60">https://github.com/macports/macports-ports/commit/33b4357779ad4047048c23470816d43c2e15ec60</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 33b4357779a opencolorio: don't build bitcode with system Clang
</span>33b4357779a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 33b4357779ad4047048c23470816d43c2e15ec60
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Apr 18 13:35:10 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> opencolorio: don't build bitcode with system Clang
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> To generate bitcode, the same Clang as LLVM is used if found.
</span><span style='display:block; white-space:pre;color:#404040;'> See the variable LLVM_BC_GENERATOR.
</span><span style='display:block; white-space:pre;color:#404040;'> Otherwise, the system C++ compiler is used, which cases an error:
</span><span style='display:block; white-space:pre;color:#404040;'> s:12:39: error: expected ')' at end of argument list
</span><span style='display:block; white-space:pre;color:#404040;'> define hidden float @osl_sin_ff(float %0) local_unnamed_addr #0 {
</span>---
graphics/osl/Portfile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/osl/Portfile b/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 29ea71d35e5..2f6c65f0432 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,6 +8,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
github.setup AcademySoftwareFoundation OpenShadingLanguage 1.10.10 Release-
name osl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories graphics
platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,17 +38,15 @@ compiler.cxx_standard 2011
</span> # ^
compiler.blacklist-append {clang < 800}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# s:12:39: error: expected ')' at end of argument list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# define hidden float @osl_sin_ff(float %0) local_unnamed_addr #0 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ^
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang > 1200}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Keep this value synchronized with the
# newest LLVM that is compatible with OSL
set llvm_version 9.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# MacPorts Clang is used "to generate bitcode"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See variable LLVM_BC_GENERATOR
</span> depends_build-append port:flex \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bison \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:clang-$llvm_version
</span> depends_lib-append port:llvm-$llvm_version \
port:boost \
port:openexr \
</pre><pre style='margin:0'>
</pre>