-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mingw32-make is no longer required on Windows #1035
Comments
So it sounds like I can just modify the function so the make_cmd <- function() {
if ((cmdstan_version() < "2.35.0") && os_is_windows() && !os_is_wsl() && (Sys.getenv("CMDSTANR_USE_RTOOLS") == "")) {
"mingw32-make.exe"
} else {
"make"
}
} where the only change is checking the version number too. If they have at least 2.35 then it just uses |
Seems fine, you may also want to check $MAKE regardless of system, and just fall back to these system-specific defaults if unset |
The reason my PR is failing is that @WardBrian How are you dealing with this in CmdStanPy? Currently it looks like |
Well, it uses whatever Eventually I'd like to introduce the idea of a "minimum supported cmdstan version" for a given version of cmdstanpy, and then drop all the conditionals stuff like this can lead to |
Oh ok, I see. I was thinking that since
I agree, that would be nice. |
Describe the issue
As of stan-dev/cmdstan#1262, just plain old
make
can be used on Windows.This code:
cmdstanr/R/utils.R
Lines 95 to 101 in b762c54
Should either be updated or should at least check
$MAKE
The text was updated successfully, but these errors were encountered: