<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/08eb29280698a95127b5f5a237390258324f463b">https://github.com/macports/macports-ports/commit/08eb29280698a95127b5f5a237390258324f463b</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 08eb2928069 clang_compilers: Allow clang-[12-16] on Darwin{9,10} See: https://github.com/macports/macports-ports/pull/20736#issuecomment-1752763417
</span>08eb2928069 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 08eb29280698a95127b5f5a237390258324f463b
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon Oct 9 12:01:19 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> clang_compilers: Allow clang-[12-16] on Darwin{9,10}
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/pull/20736#issuecomment-1752763417
</span>---
_resources/port1.0/compilers/clang_compilers.tcl | 56 +++++++++++++-----------
1 file changed, 31 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/compilers/clang_compilers.tcl b/_resources/port1.0/compilers/clang_compilers.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 70cb26a9390..116af9424e1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/compilers/clang_compilers.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/compilers/clang_compilers.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,10 +12,12 @@ if {${os.platform} eq "darwin" && [option configure.build_arch] in [list ppc ppc
</span> return
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} >= 11 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[option compiler.cxx_standard] >= 2020} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # For now limit exposure of clang-17 to ports needing c++20 or newer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} >= 9 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 11 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option compiler.cxx_standard] >= 2020} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For now limit exposure of clang-17 to ports needing c++20 or newer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {[option compiler.cxx_standard] >= 2014} {
# For now limit exposure of clang-16 to ports needing c++14 or newer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,7 +25,7 @@ if {${os.major} >= 11 || ${os.platform} ne "darwin"} {
</span> }
lappend compilers macports-clang-15 \
macports-clang-14
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 23} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 23 || ${os.platform} ne "darwin"} {
</span> # https://trac.macports.org/ticket/68257
# Versions of clang older than clang-14 probably have build issues on
# macOS14+. Until resolved do not append to fallback list.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,29 +34,33 @@ if {${os.major} >= 11 || ${os.platform} ne "darwin"} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} >= 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[option build_arch] ne "arm64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-10 macports-clang-9.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 20} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-8.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option build_arch] ne "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-10 macports-clang-9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-8.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} >= 9 && ${os.major} < 20} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-7.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-clang-6.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # The Sierra SDK requires a toolchain that supports class properties
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9 && ${os.major} < 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-7.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports-clang-6.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports-clang-5.0
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-clang-3.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The Sierra SDK requires a toolchain that supports class properties
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-3.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
</pre><pre style='margin:0'>
</pre>