clang_compilers-1.0: enable clang 21+ on Tahoe

This commit is contained in:
Mohamed Akram
2026-05-20 16:46:46 +04:00
parent 5f216cf67a
commit 4a89c3a499
@@ -18,8 +18,8 @@ if {${os.major} >= 17 || ${os.platform} ne "darwin"} {
# https://github.com/macports/macports-ports/pull/21051
# https://trac.macports.org/ticket/68640
if {${os.major} >= 22 || ${os.platform} ne "darwin"} {
# Expose clang-21 to ports needing the newest standards
if { ${os.platform} ne "darwin" || ${compiler.cxx_standard} >= 2020 } {
# Expose clang-21+ to ports needing the newest standards
if { ${os.platform} ne "darwin" || ${os.major} >= 25 || ${compiler.cxx_standard} >= 2020 } {
lappend compilers macports-clang-22 macports-clang-21
}
if { ${os.platform} ne "darwin" || ${compiler.cxx_standard} >= 2014 } {