<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/2cf253253e0444f10d1c2f855e2631a5c1d78a14">https://github.com/macports/macports-ports/commit/2cf253253e0444f10d1c2f855e2631a5c1d78a14</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 2cf253253e0 compilers PG: Only support gcc 10+ on OSX10.11+ See: https://trac.macports.org/ticket/65472
</span>2cf253253e0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2cf253253e0444f10d1c2f855e2631a5c1d78a14
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Jul 16 18:16:52 2022 +0100
<span style='display:block; white-space:pre;color:#404040;'> compilers PG: Only support gcc 10+ on OSX10.11+
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/65472
</span>---
_resources/port1.0/compilers/gcc_compilers.tcl | 11 ++++++-----
_resources/port1.0/group/compilers-1.0.tcl | 8 ++++----
2 files changed, 10 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/compilers/gcc_compilers.tcl b/_resources/port1.0/compilers/gcc_compilers.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index bc384d8fef7..18f0e29f9a2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/compilers/gcc_compilers.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/compilers/gcc_compilers.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,19 +5,20 @@
</span>
global os.major os.arch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+#3 GCC 10 and above on OSX10.6+
</span> if { ${os.major} >= 10 } {
lappend compilers macports-gcc-12 macports-gcc-11 macports-gcc-10
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.arch} ne "arm" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# GCC 9 and older only on OSX10.10 and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/65472
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} < 15 } {
</span> if { ${os.major} >= 10 } {
lappend compilers macports-gcc-9 macports-gcc-8
}
<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-gcc-7 macports-gcc-6 macports-gcc-5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-gcc-7 macports-gcc-6 macports-gcc-5
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} >= 11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} >= 10 } {
</span> lappend compilers macports-gcc-devel
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/compilers-1.0.tcl b/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 2293840b69b..d8d8244654b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,11 +92,11 @@ if { ${os.arch} eq "arm" } {
</span> set gcc_versions {10 11 12 devel}
} else {
set gcc_versions {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} < 20 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend gcc_versions 5 6 7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 15 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend gcc_versions 5 6 7 8 9
</span> }
if { ${os.major} >= 10 } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend gcc_versions 8 9 10 11 12 devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend gcc_versions 10 11 12 devel
</span> }
}
# GCC version providing the primary runtime
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -104,7 +104,7 @@ if { ${os.arch} eq "arm" } {
</span> if { ${os.major} < 10 } {
set gcc_main_version 7
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_main_version 11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gcc_main_version 12
</span> }
ui_debug "GCC versions for Darwin ${os.major} ${os.arch} - ${gcc_versions}"
foreach ver ${gcc_versions} {
</pre><pre style='margin:0'>
</pre>