<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/7b8325789204876b08196c52afba7e97f3eafed4">https://github.com/macports/macports-ports/commit/7b8325789204876b08196c52afba7e97f3eafed4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7b8325789204876b08196c52afba7e97f3eafed4
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Apr 25 10:15:58 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> clang_compilers: Extend use of clang-16 to ports requesting c++17
</span>---
_resources/port1.0/compilers/clang_compilers.tcl | 6 ++----
1 file changed, 2 insertions(+), 4 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 885650c40b6..52168090751 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;'>@@ -8,10 +8,8 @@
</span> global os.major os.platform
if {${os.major} >= 10 || ${os.platform} ne "darwin"} {
<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;'>- # clang 16 is the first to have 'decent' c++20 support so use this
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # For now limit exposure to this compiler for older standards.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # To be relaxed once clang-16 matures a bit.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Limit exposure of clang-16 to ports needing c++17 or newer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option compiler.cxx_standard] >= 2017} {
</span> lappend compilers macports-clang-16
}
lappend compilers macports-clang-15 \
</pre><pre style='margin:0'>
</pre>