<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9641f913d929a13aea7c312f957ebbbea1366368">https://github.com/macports/macports-ports/commit/9641f913d929a13aea7c312f957ebbbea1366368</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9641f913d929a13aea7c312f957ebbbea1366368
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Apr 21 14:42:46 2022 +1000
<span style='display:block; white-space:pre;color:#404040;'> Revert "Avoid use of gcc11 on 10.7"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This reverts commit 5e49e5634b6254858fc71b060ac2fd13147edeeb.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> gcc10 is also failing to build on 10.7...
</span>---
_resources/port1.0/compilers/gcc_compilers.tcl | 6 +-----
_resources/port1.0/compilers/gcc_dependencies.tcl | 3 ---
_resources/port1.0/group/compilers-1.0.tcl | 14 ++------------
lang/libgcc/Portfile | 9 ++-------
4 files changed, 5 insertions(+), 27 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 16b5f03172a..f3e80e970f9 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;'>@@ -6,11 +6,7 @@
</span> global os.major os.arch
if { ${os.major} >= 10 } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/65042
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} != 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-gcc-11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend compilers macports-gcc-10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend compilers macports-gcc-11 macports-gcc-10
</span> }
if { ${os.arch} ne "arm" } {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/compilers/gcc_dependencies.tcl b/_resources/port1.0/compilers/gcc_dependencies.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fd2950a246f..76152d378c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/compilers/gcc_dependencies.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/compilers/gcc_dependencies.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,6 @@
</span> # Note settings here *must* match those in the lang/libgcc port and compilers PG
if { ${os.major} < 10 } {
set gcc_main_version 7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {${os.major} == 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/65042
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_main_version 10
</span> } else {
set gcc_main_version 11
}
<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 556d237e912..0180e8c0ee9 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;'>@@ -85,12 +85,7 @@ if {${os.major} < 10} {
</span> # GCC 11 still problematic on arm
set compilers.gcc_default gccdevel
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/65042
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} == 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set compilers.gcc_default gcc10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set compilers.gcc_default gcc11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set compilers.gcc_default gcc11
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -114,12 +109,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;'>- # https://trac.macports.org/ticket/65042
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} == 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_main_version 10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_main_version 11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gcc_main_version 11
</span> }
ui_debug "GCC versions for Darwin ${os.major} ${os.arch} - ${gcc_versions}"
foreach ver ${gcc_versions} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libgcc/Portfile b/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 59d863b68ba..e62ac9c76ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libgcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup select 1.0
</span> epoch 3
name libgcc
version 5.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
conflicts libgcc-devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,12 +34,7 @@ variant universal { }
</span> if { ${os.major} < 10 } {
set gcc_version 7
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://trac.macports.org/ticket/65042
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} == 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_version 10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gcc_version 11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gcc_version 11
</span> }
depends_lib port:libgcc${gcc_version}
</pre><pre style='margin:0'>
</pre>