Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Nov 26, 2024
1 parent af6d73d commit fde0fcb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cran.r-project.org/web/checks/check_flavors.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="container">
<h2>CRAN Package Check Flavors</h2>
<p>
Last updated on 2024-11-22 05:48:57 CET.
Last updated on 2024-11-26 05:48:34 CET.
</p>
<p>
Systems used for CRAN package checking.
Expand Down
2 changes: 1 addition & 1 deletion cran.r-project.org/web/checks/check_issue_kinds.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="container">
<h2>CRAN Package Check Issue Kinds</h2>
<p>
Last updated on 2024-11-22 05:48:57 CET.
Last updated on 2024-11-26 05:48:34 CET.
</p>
<table border="1">
<tr> <th> Kind </th> <th> Description </th> <th> Details </th> </tr>
Expand Down
19 changes: 10 additions & 9 deletions www.stats.ox.ac.uk/pub/bdr/C23/README.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Tests as for fedora-clang but using

CC='clang -std=gnu2x'
CC='clang -std=gnu23'

(-std=gnu2x for earlier versions of clang).

Other details as
https://www.stats.ox.ac.uk/pub/bdr/Rconfig/r-devel-linux-x86_64-fedora-clang

[The checks were done with clang 16.0.0rc, but should be reproducible
with the current clang 15.0.x.]

Details of the upcoming C23 standard can be found at

https://en.cppreference.com/w/c/23
Expand All @@ -16,9 +15,11 @@ https://open-std.org/JTC1/SC22/WG14/www/docs/n3054.pdf

Note that 'bool', 'false' and 'true' have become reserved words.

Some of this, including the new reserved words, is also seen with gcc pre-13.
Some of this, including the new reserved words, is also seen with gcc >= 13.

tth has since had added

SystemRequirements: USE_C17

to it DESCRIPTION file which ensures compilation with C17.

Becasue mgcv is currently failing, you may not be able to build R with
this setting of CC -- rather use it in a personal Makevars file when
checking the package
-- https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Customizing-package-compilation
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
R-devel
x86_64 Fedora 36 Linux
clang 19.1.3 (C, C++), flang-new 19.1.3 (Fortran)
clang 19.1.4 (C, C++), flang-new 19.1.4 (Fortran)
Timezone Europe/London
Locale en_GB.UTF-8, LC_COLLATE=C

Expand All @@ -20,8 +20,8 @@ For soures and some binary distrobutions see
https://github.com/llvm/llvm-project/releases/
Built via

tar cf lvmorg-19.1.3/llvm-project-19.1.3.src.tar.xz
ln -s llvm-project-19.1.3.src latest
tar cf lvmorg-19.1.4/llvm-project-19.1.4.src.tar.xz
ln -s llvm-project-19.1.4.src latest
mkdir build
cd build
cmake -G "Unix Makefiles" \
Expand Down

0 comments on commit fde0fcb

Please sign in to comment.