You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently experiencing this on Windows ARM64 (so not sure if present in x86) with all packages that need winlibs static libs (where the library isn't already in rtools).
If I have MAKEFLAGS=-j2 (or any value > 1) set in my .Renviron, the installation will fail at the linking stage due to libraries not being found:
Which appears to be caused by $(SHLIB) target reaching the linking stage before the winlibs target has completed. I'd guess that this hasn't been seen to-date on x86_64 because compilation is generally slower than under ARM, so the winlibs target has usually finished before $(SHLIB) reaches linking.
From local testing, an easy fix appears to be just making the dependency explicit in Makevars.win:
FWIW this is unrelated to arm but about using parallel make. Afaik parallel make on Windows was never really supported because there are many other problems with it, so we didn't bother to test it.
I'm sorry I tried it but it just broke the build, so I hard to revert. The Windows tooling is a mess these days, I don't care enough to fix this. Just don't use parallel make.
Currently experiencing this on Windows ARM64 (so not sure if present in x86) with all packages that need
winlibs
static libs (where the library isn't already in rtools).If I have
MAKEFLAGS=-j2
(or any value > 1) set in my.Renviron
, the installation will fail at the linking stage due to libraries not being found:Which appears to be caused by $(SHLIB) target reaching the linking stage before the
winlibs
target has completed. I'd guess that this hasn't been seen to-date on x86_64 because compilation is generally slower than under ARM, so thewinlibs
target has usually finished before$(SHLIB)
reaches linking.From local testing, an easy fix appears to be just making the dependency explicit in Makevars.win:
But I'm not sure whether there's an easier fix which doesn't require updating all
winlibs
R packages. Thanks!The text was updated successfully, but these errors were encountered: