<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/4112440c528a827019b8a1b38adabd0d21aded3e">https://github.com/macports/macports-ports/commit/4112440c528a827019b8a1b38adabd0d21aded3e</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 4112440c528 R: Use clang-18 and gcc14 on macOS15+
</span>4112440c528 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4112440c528a827019b8a1b38adabd0d21aded3e
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Sep 24 18:48:21 2024 +0100
<span style='display:block; white-space:pre;color:#404040;'> R: Use clang-18 and gcc14 on macOS15+
</span>---
_resources/port1.0/group/R-1.0.tcl | 21 ++++++++++++++++++---
math/R/Portfile | 21 ++++++++++++++++++---
2 files changed, 36 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/R-1.0.tcl b/_resources/port1.0/group/R-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 7518f50f218..95e97f78fc5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/R-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/R-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,18 +103,33 @@ compiler.blacklist-append {clang}
</span> # is then in the hands of the R maintainers and will not change
# from the current defaults when these get bumped centrally.
# NOTE : Keep this setting in sync with the one in the R port.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {macports-clang-1[7-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-clang-19} {macports-clang-2[0-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-clang-1[7-9]} {macports-clang-2[0-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> # Similarly, for gcc select the gcc13 variant of the compilers PG.
# This setting should also be kept in sync with that in the R Port.
# Updates should be coordinated with the R maintainers.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {macports-gcc-1[4-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-gcc-1[5-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-gcc-1[4-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> # NOTE: upon the update to gcc14, please update the blacklist accordingly,
# like it is done for clangs. We would prefer using the same version of gcc and gfortran.
if {${os.platform} eq "darwin" && ${os.major} < 10} {
# Until old platforms are switched to the new libgcc.
default_variants-append +gcc7
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +gcc13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +gcc14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +gcc13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
port::register_callback R.add_dependencies
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/R/Portfile b/math/R/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ebfb342237..ff6999fe7bc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,18 +44,33 @@ compiler.blacklist-append {clang}
</span> # is then in the hands of the R maintainers and will not change
# from the current defaults when these get bumped centrally.
# NOTE : Keep this setting in sync with the one in the R portgroup.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {macports-clang-1[7-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-clang-19} {macports-clang-2[0-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-clang-1[7-9]} {macports-clang-2[0-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> # Similarly, for gcc select the gcc13 variant of the compilers PG.
# This setting should also be kept in sync with that in the R Portgroup.
# Updates should be coordinated with the R maintainers.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {macports-gcc-1[4-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-gcc-1[5-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {macports-gcc-1[4-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> # NOTE: upon the update to gcc14, please update the blacklist accordingly,
# like it is done for clangs. We would prefer using the same version of gcc and gfortran.
if {${os.platform} eq "darwin" && ${os.major} < 10} {
# Until old platforms are switched to the new libgcc.
default_variants-append +gcc7
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +gcc13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70799
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +gcc14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +gcc13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# When switching to gcc14, make sure to add this flag when gcc is used
# as the primary compiler: -Wno-error=incompatible-pointer-types
</pre><pre style='margin:0'>
</pre>