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

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


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.
 
| I can't remember which package I borrowed this logic from. But it would be nice
| if "Writing R Extensions" would expand their cmake section to cover scenarios
| like this one.

Yep.
 
| While I would love to have something like CMake be better integrated into CRAN,
| I've been using Meson (https://mesonbuild.com/) for a while and like it better
| than CMake.

"The thing about 15 standards is ..." paraphrasing xkcd. Use of cmake often
comes with a library these days so your or my preference is sadly mostly
irrelevant in the matter :-/

Thanks for the snippet though. I shall try that. Adding it to WRE would
indeed be a good idea.

Dirk

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



More information about the R-package-devel mailing list