<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/df7162b64483ddce805c8a12bd9f16c0c714c0a4">https://github.com/macports/macports-ports/commit/df7162b64483ddce805c8a12bd9f16c0c714c0a4</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 df7162b6448 libcxx: fixes for Leopard
</span>df7162b6448 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit df7162b64483ddce805c8a12bd9f16c0c714c0a4
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Mar 7 13:06:14 2021 -0800
<span style='display:block; white-space:pre;color:#404040;'> libcxx: fixes for Leopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> 1. disable ppc builds. These have never worked so
</span><span style='display:block; white-space:pre;color:#404040;'> far other than very controlled, hand-modified setups.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Attempts to build libcxx on PPC inevitably failed and
</span><span style='display:block; white-space:pre;color:#404040;'> resulted in tickets, so just disable it fully.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> 2. on Intel, esp for Leopard, force universal archs of i386/x86_64.
</span><span style='display:block; white-space:pre;color:#404040;'> These are the only archs that can build libcxx on
</span><span style='display:block; white-space:pre;color:#404040;'> Leopard. We could disable universal completely
</span><span style='display:block; white-space:pre;color:#404040;'> but libcxx builds well enough as i386/x86_64 and I know
</span><span style='display:block; white-space:pre;color:#404040;'> there are users who are using libcxx on 64 bit leopard.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> If one day we do enable libcxx to build on PPC, these
</span><span style='display:block; white-space:pre;color:#404040;'> can be readdressed at that time.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/62400
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57911
</span>---
lang/libcxx/Portfile | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libcxx/Portfile b/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 67028e79035..cd32be1264d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,8 +84,14 @@ platform darwin {
</span> variant replacemnt_libcxx description {EXPERTS ONLY: Build a replacement libcxxabi and libcxx even if it is already part of the base OS.} {}
if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} in "i386 x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_archs i386 x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
if {${os.major} < 11} {
variant emulated_tls description {build libcxxabi and libcxx with support for emulated thread_local storage} {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,14 +131,6 @@ if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs i386 x86_64 ppc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset universal] && [lsearch ${universal_archs} ppc] != -1} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://trac.macports.org/wiki/LibcxxOnOlderSystems#Leopardppc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # older clang compilers produce unreliable ppc code
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-extract {
# delete cxa_noexception.cpp as we're not using the cmake build system
# cmake would choose either cxa_exceptions or cxa_noexceptions
</pre><pre style='margin:0'>
</pre>