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

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Wed May 10 23:40:01 CEST 2023


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. That was entirely undocumented.  What a dance.  It should help.

It did. I had (minimal) logic in src/Makevars to make a static lib via cmake;
I now moved that up into a new script configure where I used your snippet to
find cmake "even if I find myself surrounded by macOS". And with that things
work. So thanks for the help.

We can discuss at length if providing something in a path you cannot know ex
ante know comprises "providing" something -- but I guess Simon was right that
his machine had cmake. Only that I didn't know where it was. Ah well.

But that is unplugged now, as is a mistake I had made in the CMakeLists.txt
adaptation for a static-only build. Which only gcc-13 found so all good for
another upload soon.

Thanks again!

Cheers, Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list