As a long-time user of and advocate for 'ccache', I can attest that CMake has
good behaviour on its own: just tell it to use 'ccache' if found. There may
be more one than way, on a search I see '_COMPILER_LAUNCHER' [1]. And
that is used in a simple pattern I have relied upon in the past:
# En
In my experience, it is best not to set CMAKE_C_COMPILER and
CMAKE_CXX_COMPILER when calling cmake. R's config can include arguments in
its compiler commands, and CMake does a good job figuring things out using
the CC and CXX environmental variables that R sets.
It's definitely smarter than I was
В Fri, 20 Jun 2025 17:32:34 -0400
Tyler пишет:
> You can see the failure logs here:
>
> https://www.stats.ox.ac.uk/pub/bdr/donttest/libdeflate.log
>
> And my configure script here :
>
> https://github.com/tylermorganwall/libdeflate/blob/main/tools/config/configure.R
>
> Note that I've exclude
Hi all,
I have several packages (libopenexr/libimath/libdeflate) that use
CMake on the CRAN that have recently been taken down for failing to
compile on the extratest “blackswan” server. As part of the configure
script, these packages pull the compiler `CC` and `CXX` variables to
build a static li