<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/c8cceb0dec2dfb15e3a54e38260a676cb59fc9af">https://github.com/macports/macports-ports/commit/c8cceb0dec2dfb15e3a54e38260a676cb59fc9af</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c8cceb0dec2dfb15e3a54e38260a676cb59fc9af
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Jul 19 11:03:16 2024 +0100
<span style='display:block; white-space:pre;color:#404040;'> clang compilers: Allow again clang17 as fallback on older OSes
</span>---
_resources/port1.0/compilers/clang_compilers.tcl | 10 +++++-----
1 file changed, 5 insertions(+), 5 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 100ce8e90e3..25b67130107 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;'>@@ -14,17 +14,17 @@ if {${os.platform} eq "darwin" && [option configure.build_arch] in [list ppc ppc
</span>
if {${os.major} >= 11 || ${compiler.cxx_standard} >= 2020 || ${os.platform} ne "darwin"} {
if {${os.major} >= 22 || ${os.platform} ne "darwin"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # For now limit exposure of clang-17+ to macOS13+ due to issues like
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For now limit exposure of clang-18+ to macOS13+ due to issues like
</span> # https://github.com/macports/macports-ports/pull/21051
# https://trac.macports.org/ticket/68640
if {${compiler.cxx_standard} >= 2017} {
# Limit clang 18 to c++17 or newer
lappend compilers macports-clang-18
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${compiler.cxx_standard} >= 2014} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Limit clang 17 to c++14 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:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${compiler.cxx_standard} >= 2014} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Limit clang 17 to c++14 or newer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-clang-17
</span> }
lappend compilers macports-clang-16 \
macports-clang-15 \
</pre><pre style='margin:0'>
</pre>