<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be0adde763348a102e30b082900af1b9bb713a0d">https://github.com/macports/macports-ports/commit/be0adde763348a102e30b082900af1b9bb713a0d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit be0adde763348a102e30b082900af1b9bb713a0d
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Nov 23 21:10:02 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> llvm/clang/lldb-devel: tweak supported_archs
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this software does not (currently) build powerpc, so on
</span><span style='display:block; white-space:pre;color:#404040;'> systems that might try to do that (os.major < 11) exclude that
</span><span style='display:block; white-space:pre;color:#404040;'> architecture by listing the Intel archs as supported.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> for the other os versions, MacPorts' defaults should suffice.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This should allow this software to build for the proper supported
</span><span style='display:block; white-space:pre;color:#404040;'> architectures on each system.
</span>---
lang/llvm-devel/Portfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/Portfile b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f557676b4d0..b84c9376055 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -265,15 +265,17 @@ configure.args-append -D_Python3_EXECUTABLE=${pythonfullpath}
</span>
platform darwin {
# Note that we are forcing this choice. This means that anything linking
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # against llvm-3.5 needs to also be using libc++. This is possibly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # against llvm needs to also be using libc++. This is possibly
</span> # problematic, but luckily there is just a limited set of such dependents.
configure.cxx_stdlib libc++
depends_lib-append port:libcxx
<span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs i386 x86_64
</span>
pre-fetch {
if {${os.major} < 11} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exclude older systems from trying to build this as ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # otherwise we can use MacPort's base defaults for the rest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 x86_64
</span> if {![file exists /usr/lib/libc++.dylib]} {
ui_error "$name requires a C++11 runtime, which your configuration does not allow"
error "unsupported configuration"
</pre><pre style='margin:0'>
</pre>