@@ -29,19 +29,21 @@ if {${os.major} >= 11 || ${os.platform} ne "darwin"} {
29
29
lappend compilers macports-clang-17
30
30
}
31
31
32
- # exclude clang-16 and older on macOS15+
33
- if { ( ${os.major} <= 23 && ${os.major} >= 10 ) || ${os.platform} ne " darwin" } {
32
+ if { ${os.major} >= 10 || ${os.platform} ne " darwin" } {
34
33
# On Darwin10 only use selection here if c++20+ required
35
34
if { ${os.platform} ne " darwin" || ${os.major} >= 11 || ${compiler.cxx_standard} >= 2020 } {
36
- lappend compilers macports-clang-16 \
37
- macports-clang-15 \
38
- macports-clang-14
39
- if {${os.major} < 23 || ${os.platform} ne " darwin" } {
40
- # https://trac.macports.org/ticket/68257
41
- # Versions of clang older than clang-14 probably have build issues on
42
- # macOS14+. Until resolved do not append to fallback list.
43
- # Unlikely they will ever really be needed here though.
44
- lappend compilers macports-clang-13 macports-clang-12
35
+ # These are allowed still on macOS15+
36
+ lappend compilers macports-clang-16
37
+ if { ${os.major} < 24 || ${os.platform} ne " darwin" } {
38
+ # Still have some issues on macOS15+ so disallow as 'official' fallbacks
39
+ lappend compilers macports-clang-15 macports-clang-14
40
+ if {${os.major} < 23 || ${os.platform} ne " darwin" } {
41
+ # https://trac.macports.org/ticket/68257
42
+ # Versions of clang older than clang-14 probably have build issues on
43
+ # macOS14+. Until resolved do not append to fallback list.
44
+ # Unlikely they will ever really be needed here though.
45
+ lappend compilers macports-clang-13 macports-clang-12
46
+ }
45
47
}
46
48
}
47
49
}
0 commit comments