On 2024-11-08 4:55 p.m., Josiah Parry wrote:
Thanks, Ivan! I've been able to get quite far based on the code in
data.table*
which uses sed to generate the Makevars from the Makevars.in file. The new
challenge is that the Makevars file needs to be deleted after building.
I am pretty sure it does
Thanks, Ivan! I've been able to get quite far based on the code in
data.table*
which uses sed to generate the Makevars from the Makevars.in file. The new
challenge is that the Makevars file needs to be deleted after building.
The approach I have now is a cleanup script with only rm -rf src/Makevar
В Fri, 8 Nov 2024 11:44:15 -0800
Josiah Parry пишет:
> Do you know of any good documentation on the use of Makevars.in with
> configure?
A configure script for an R package could be any POSIX-compatible shell
script, including a hand-written one that substitutes strings using sed
[*], or even on
Thanks, Ivan!
Do you know of any good documentation on the use of Makevars.in with
configure?
The @VARNAME@ syntax is quite confusing and isn't explained in WRE from
what I can tell.
On Fri, Nov 8, 2024 at 11:33 AM Ivan Krylov wrote:
> В Fri, 8 Nov 2024 11:21:16 -0800
> Josiah Parry пишет:
>
>
В Fri, 8 Nov 2024 11:21:16 -0800
Josiah Parry пишет:
> I want to conditionally set the value of CRAN_FLAGS like so in my
> Makevars files
>
> ifeq ($(NOT_CRAN), false)
> CRAN_FLAGS = -j 2 --offline
> else
> CRAN_FLAGS =
> endif
Unless a better approach surfaces (detect the environment varia
I am working on refactoring some Makevars files and I am quite stuck. I
want to conditionally set the value of CRAN_FLAGS like so in my Makevars
files
ifeq ($(NOT_CRAN), false)
CRAN_FLAGS = -j 2 --offline
else
CRAN_FLAGS =
endif
Using ifeq appears to be the only way to get the value of CRAN_F