<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/45c64831f655f70f1f977845c9c7bf953cd92d4b">https://github.com/macports/macports-ports/commit/45c64831f655f70f1f977845c9c7bf953cd92d4b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 45c64831f655f70f1f977845c9c7bf953cd92d4b
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Fri Apr 26 20:03:33 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> R PG: update compiler choice
</span>---
_resources/port1.0/group/R-1.0.tcl | 12 ++++++------
1 file changed, 6 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 97616c61bfc..13674da582e 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;'>@@ -96,22 +96,22 @@ compiler.cxx_standard 2011
</span>
# Avoid Apple clangs:
compiler.blacklist-append {clang}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Blacklist macports-clang-16+. See discussion: https://trac.macports.org/ticket/67144
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Blacklist macports-clang-17+. See discussion: https://trac.macports.org/ticket/67144
</span> # for rationale. The decision when to migrate to a new compiler
# 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[6-9]}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Similarly, for gcc select the gcc12 variant of the compilers PG.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {macports-clang-1[7-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Similarly, for gcc select the gcc13 variant of the compilers PG.
</span> # 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;'>-# NOTE: upon the update to gcc13, please add a blacklist of newer gccs,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# NOTE: upon the update to gcc14, please add a blacklist of newer gccs,
</span> # 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 +gcc12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +gcc13
</span> }
port::register_callback R.add_dependencies
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -169,7 +169,7 @@ if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libc++"} {
</span>
global prefix frameworks_dir
# Please update R version here:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set Rversion 4.3.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set Rversion 4.4.0
</span> set branch [join [lrange [split ${Rversion} .] 0 1] .]
set packages ${frameworks_dir}/R.framework/Versions/${branch}/Resources/library
set suffix .tar.gz
</pre><pre style='margin:0'>
</pre>