LTO & R on Mac

Hi!

This is going to be relevant once the static matrix stuff has landed:

LTO is coming to R under Mac: https://stat.ethz.ch/pipermail/r-sig-mac/2020-July/013652.html

Sebastian

2 Likes

Neat! But reading the post this seems to say that R itself will be compiled to binaries for distribution using LTO right? Compiling packages using LTO on mac is possible right now. Or is there something else Iā€™m missing here?

LTO for Stan programs has worked locally for years on non-Windows, although the binary versions of R packages would not utilize those flags. LTO on Windows with RTools40 feels a lot closer than it was with RTools35 but we still get error messages.