Skip to content

Commit

Permalink
don't check Sys.getenv("MAKE") first (debugging GHA)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Nov 18, 2024
1 parent 29d388a commit 9c7603e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,8 @@ arch_is_aarch64 <- function() {
}

# Returns the type of make command to use to compile depending on the OS
# First checks if $MAKE is set, otherwise falls back to system-specific default
make_cmd <- function() {
if (Sys.getenv("MAKE") != "") {
Sys.getenv("MAKE")
} else if ((cmdstan_version() < "2.35.0") && os_is_windows() && !os_is_wsl() &&
if ((cmdstan_version() < "2.35.0") && os_is_windows() && !os_is_wsl() &&
(Sys.getenv("CMDSTANR_USE_RTOOLS") == "")) {
"mingw32-make.exe"
} else {
Expand Down

0 comments on commit 9c7603e

Please sign in to comment.