[R-pkg-devel] Preparing for R 4.2.0 and UCRT via MXE builds

Tomas Kalibera tom@@@k@||ber@ @end|ng |rom gm@||@com
Mon Apr 11 10:26:41 CEST 2022


On 4/10/22 22:08, matthias-gondan wrote:
> Hi Tomas,
>
> Using your description below, and thanks to the availability of cmake 
> under a recent Rtools, I got quite far: rolog now passes for R-devel 
> on rhub, and so does it on winbuilder, thank you! The only thing is 
> that I need to "depend" on R 4.2 in the package description, but I 
> guess this will be R-release in a few weeks.

Hi Matthias,

I am glad it worked.
R 4.2 is to be released on the 22nd of April, see 
https://developer.r-project.org/

Friday 2022-04-15: CODE FREEZE (4.2.0 RC)
Tuesday 2022-04-19: PRERELEASE
Friday 2022-04-22: RELEASE (4.2.0)

Best
Tomas

>
> Best regards,
>
> Matthias
>
>
> -------- Ursprüngliche Nachricht --------
> Von: Tomas Kalibera <tomas.kalibera using gmail.com>
> Datum: 08.04.22 13:01 (GMT+01:00)
> An: matthias-gondan <matthias-gondan using gmx.de>, Dirk Eddelbuettel 
> <edd using debian.org>, r-package-devel using r-project.org
> Betreff: Re: [R-pkg-devel] Preparing for R 4.2.0 and UCRT via MXE builds
>
>
> On 4/8/22 12:49, matthias-gondan wrote:
>> Dear Thomas,
>>
>> This is great news, thank you. I understand that I use the 
>> /usr/bin/cmake from Rtools42, not /ucrt64/bin/cmake, correct? Which 
>> generator should I select, "Unix Makefiles"? I ask because this 
>> requires a few more #defines for Swi-Prolog, but that should be feasible.
>
> Hi Matthias,
>
> please see 
> https://cran.r-project.org/bin/windows/base/howto-R-4.2.html and look 
> for cmake, there is now a simple example for native (and cross-) 
> compilation. Though your case might be harder and if you run into 
> problems, please let me know.
>
> Please use "cmake" that is on PATH with Rtools42 (currently it is 
> under x86_64-w64-mingw32.static.posix). It will use "Unix Makefiles" 
> by default and you can assume it is available. It will find headers 
> and libraries from Rtools42 as needed.
>
> If your installation of Rtools42 doesn't have cmake, please upgrade it.
>
> Best
> Tomas
>
>>
>> Best wishes,
>>
>> Matthias
>>
>> -------- Ursprüngliche Nachricht --------
>> Von: Tomas Kalibera <tomas.kalibera using gmail.com>
>> Datum: 05.04.22 09:08 (GMT+01:00)
>> An: matthias-gondan <matthias-gondan using gmx.de>, Dirk Eddelbuettel 
>> <edd using debian.org>, r-package-devel using r-project.org
>> Betreff: Re: [R-pkg-devel] Preparing for R 4.2.0 and UCRT via MXE builds
>>
>> On 4/4/22 21:05, matthias-gondan wrote:
>> > Still compiling... but when it is done, I might also need some 
>> advice. I don't mind if mxe help is given on this mailing list.Best 
>> wishesMatthias
>>
>> I am happy to help if you run into specific issues. If you decided to
>> build SWI Prolog in the end from source, please note I've recently added
>> a host build of cmake to Rtools42. The Berkeley db is part of MXE and
>> can trivially be added to Rtools42 if you need it (simply would be
>> listed in settings.mk, running "make db" succeeds on my system,
>> producing libdb.a). Libuuid is already part of Rtools42.
>>
>> Best
>> Tomas
>>
>> > -------- Ursprüngliche Nachricht --------Von: Dirk Eddelbuettel 
>> <edd using debian.org> Datum: 04.04.22  20:47  (GMT+01:00) An: 
>> r-package-devel using r-project.org Betreff: [R-pkg-devel] Preparing for R 
>> 4.2.0 and UCRT via MXE builds Is anybody else looking into trying to 
>> come to terms with MXE forcross-compiling for UCRT for R 4.2.0 and 
>> its updated Windows toolchain?  Ihave been bugging Tomas in private 
>> email for a bit and figured it might beuseful to spread the load a 
>> little.Is anybody else looking into this?  Any interest in pooling 
>> resources aroundsome virtual meeting place? New mailing list? Or an 
>> ad-hoc slack (or channelon existing one)?DirkPS My current status:- 
>> MXE installed on Ubuntu as cross-compilation. Pretty 
>> straightforward.- One initial test build (using cmake) failed:     
>> fatal error: Windows.h: No such file or directory- Another of a known 
>> cmake-using library (nlopt) succeeded. Good. -- dirk.eddelbuettel.com 
>> | @eddelbuettel | 
>> edd using debian.org______________________________________________R-package-devel@r-project.org 
>> mailing listhttps://stat.ethz.ch/mailman/listinfo/r-package-devel
>> > [[alternative HTML version deleted]]
>> >
>> > ______________________________________________
>> > R-package-devel using r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list