Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-12 Thread Tim Taylor
On 12/05/2023 08:47, Iñaki Ucar wrote: El vie., 12 may. 2023 5:58, Simon Urbanek escribió: I think it would be quite useful to have some community repository of code snippets dealing with such situations. R-exts gives advice and pieces of code which are useful, but they are not complete

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-12 Thread Iñaki Ucar
El vie., 12 may. 2023 5:58, Simon Urbanek escribió: > I think it would be quite useful to have some community repository of code > snippets dealing with such situations. R-exts gives advice and pieces of > code which are useful, but they are not complete solutions and situations > like Dirk's

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Simon Urbanek
I think it would be quite useful to have some community repository of code snippets dealing with such situations. R-exts gives advice and pieces of code which are useful, but they are not complete solutions and situations like Dirk's example are not that uncommon. (E.g., I recall some of the

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Dirk Eddelbuettel
Hi Reed, On 11 May 2023 at 11:15, Reed A. Cartwright wrote: | I'm curious why you chose to call cmake from make instead of from configure. | I've always seen cmake as part of the configure step of package building. Great question! Couple of small answers: i) This started as a 'proof of

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Reed A. Cartwright
Dirk, I'm curious why you chose to call cmake from make instead of from configure. I've always seen cmake as part of the configure step of package building. Thanks, Reed On Thu, May 11, 2023, 04:17 Dirk Eddelbuettel wrote: > > On 11 May 2023 at 09:02, Martin Maechler wrote: > | I've been

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Dirk Eddelbuettel
On 11 May 2023 at 09:02, Martin Maechler wrote: | I've been told in private that the above "be happy if" | may *not* be a good idea, | or rather even close to impossible as cmake seems to not fit | well, at all, with the quite sophisticated | autoconf -> configure -> make | setup we have

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Martin Maechler
> Martin Maechler > on Wed, 10 May 2023 21:31:29 +0200 writes: > Dirk Eddelbuettel > on Wed, 10 May 2023 07:01:37 -0500 writes: >> Simon, >> Explicitly declaring >> SystemRequirements: cmake >> appears to be insufficient to get a

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Dirk Eddelbuettel
On 10 May 2023 at 16:02, Dirk Eddelbuettel wrote: | | On 10 May 2023 at 13:45, Reed A. Cartwright wrote: | | I use the following logic in my configure script to detect cmake on the MacOS | | builders: | | | | https://github.com/reedacartwright/rbedrock/blob/master/configure#L39-L49 | | Nice.

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Dirk Eddelbuettel
On 10 May 2023 at 13:45, Reed A. Cartwright wrote: | I use the following logic in my configure script to detect cmake on the MacOS | builders: | | https://github.com/reedacartwright/rbedrock/blob/master/configure#L39-L49 Nice. That was entirely undocumented. What a dance. It should help. |

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Dirk Eddelbuettel
Simon, On 11 May 2023 at 08:35, Simon Urbanek wrote: | Dirk, | | can you be more specific, please? I suspect that it may be rather an issue in your package. All build machines have the official cmake releases installed and there are many packages that use it successfully. Here is the report

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Reed A. Cartwright
> But it would be nice if "Writing R Extensions" would expand their cmake section to cover scenarios like this one. Now that I double check, I see that it is mentioned at the end of the CMake section. So I guess, the only way to improve the section would be to include a link to a complete example

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Reed A. Cartwright
I use the following logic in my configure script to detect cmake on the MacOS builders: https://github.com/reedacartwright/rbedrock/blob/master/configure#L39-L49 I can't remember which package I borrowed this logic from. But it would be nice if "Writing R Extensions" would expand their cmake

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Simon Urbanek
Dirk, can you be more specific, please? I suspect that it may be rather an issue in your package. All build machines have the official cmake releases installed and there are many packages that use it successfully. Here is the report on the currently installed versions. If you require more

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Martin Maechler
> Dirk Eddelbuettel > on Wed, 10 May 2023 07:01:37 -0500 writes: > Simon, > Explicitly declaring > SystemRequirements: cmake > appears to be insufficient to get a build on the (otherwise lovely to have) > 'macOS builder', and leads to failure on (at least)

[R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Dirk Eddelbuettel
Simon, Explicitly declaring SystemRequirements: cmake appears to be insufficient to get a build on the (otherwise lovely to have) 'macOS builder', and leads to failure on (at least) 'r-oldrel-macos-x86_64'. Would it be possible to actually have cmake installed? These daus cmake is for