Open jangorecki opened 4 years ago
Looks like CRAN is now using clang-12, while the rhub
gets clang-11 (the default clang
currently shipped in the rolling debian:testing
repos.) It looks like clang-12
can be found in the debian:sid repos, but it isn't the default version of clang
there right now either (which is still on clang-11
), so a simple apt-pinning strategy probably wouldn't work.
Maybe it would be possible to just install the current clang
release from https://github.com/llvm/llvm-project/releases binaries? This might better keep in sync with CRAN's aggressive enforcement of testing against the latest released compiler versions instead of those shipped in linux distros...
There is an example of using recent clang in https://gitlab.com/jangorecki/dockerfiles/-/blob/r-devel/ubuntu-clang/Dockerfile And then reused this image in https://gitlab.com/jangorecki/dockerfiles/-/blob/r-devel/r-devel-clang/Dockerfile
I would expect it to work for clang-12 Note that it is not fedora but Ubuntu.
This has still been observed recently in #63 . I would vote to address this with priority, since it is impacting the reproducibility of CRAN failures on Fedora
I noticed that R-devel fedora clang uses clang version 11.0.0 and rhub uses 10.0.1.
Is it possible to align clang version to match CRAN's version?