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 | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to