В 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
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
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